Hello Hemant,
When I started learning rails I was using windows and like you I found many things I couldn't understand, then I switched to mac, all was easier. But the true is that till today the platform where I find myself more productive is on Ubuntu. On Ubuntu many of the tools are free and easier to install, I have a virtual Machine with Ubuntu and there's no issues, besides my own ignorance some times. So I advise you to go this route: Use Ubuntu, install RVM, Install Git, Install all that you want, I even use eclipse as a ruby source code editor, make it your world first, and then for each rails project create a small shell script inside your skeleton folder, mine is like this:
Filename: Startenv.sh
Content:
#! /bin/bash --login
rvm use ruby-2.0.0-p598@toy_app --create
exec /bin/bash --login
echo 'Toy_App Environment Ready to Rock and Roll!'
#-------------------------------------------------------------------#
Then I just replace 'toy_app' with the name of my_app. Before I start working I go to that folder and execute
./startenv.sh
And I do this for each app, all gems remain separated with RVM, I do not know exactly why, but using this process I found myself without any path issues like the ones that happens in Windows or on the MAC due to XCode. All my projects flow nice, the only questions I now have are ruby code related, and so far all the answers are on Google.
Hope this makes sense to you!
If not let me know, I don't mind showing you how I do-it.
Cheers,
Julio
-----Original Message-----
From: rubyonrails-talk@googlegroups.com [mailto:rubyonrails-talk@googlegroups.com] On Behalf Of Hemant Bhargava
Sent: Tuesday, March 3, 2015 2:53 PM
To: rubyonrails-talk@googlegroups.com
Subject: [Rails] Stuck with rails installation.
Hello folks,
I have downloaded the rails installer(ruby 2.1) from "http://railsinstaller.org/en". Installed it on my 32 bit machine. It installed nicely.
It even created a skeleton app. Inside that app, I did a "bundle install" just to make sure that every gem come in my application. I could see numerous gems got installed after it. To my excitement, even server was also running(rails s). But what happened later bursts my excitement.
When I type "localhost:3000" in my browser, I see below error which I am not able to get rid of.
ERROR LoadError: Please install the sqlite3 adapter: 'gem install ativerecord-dqlite-adapter' <sqlite3 is not part of the bundle. Add it to Gemfile.>
Fair enough message.
Big BUT is that I can not even install sqlite3 manually with gem install
sqlite3 or after adding it GemFile. It was already added in the GemFile though.
I won't mind sharing my Gemfile if any one is interested to help me.
Cheers!
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/269152b7720cb00f54bb899c84ed5641%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/006201d055d1%2446f0b3d0%24d4d21b70%24%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment