You need to add it to the gemfile and run the bundle command.
Dheeraj Kumar On Sunday 2 September 2012 at 4:30 PM, Bruce Whealton wrote: > I meant no offense. Please, don't take it that way. Let me explain my > post... I had originally intended to use Windows as the environment > for running Ruby on Rails, as a course I was following used both Windows and > Mac. I finally felt convinced that it would be just as well to use > Linux. I had respectfully asked if I could share my experience in trying > this. > > I'm just very frustrated as I'm sure anyone can understand. This should not > be so difficult to get up and running. I finally did get Ruby on Rails in > stalled correct (or almost correctly) > and installed a test_app. Then when I tried to create an application with > mysql database, it failed. Some other folks seemed to report some similar > problems which I discovered when I did a web search. Unfortunately, the > solutions were lacking in the articles and stack overflow posts that I read. > > The use of Linux was a key part of the issue as it was suggested as a > solution to the problem of not being able to install Ruby when I was using > Windows. > > Anyway, I keep going in circles. I get a message saying that I need to > install gem msyql2 which I do and it reports back with no error and so I try > again to install the app with the rails command and I get the same error. > Thanks in advance for your help and time, > Bruce > > -----Original Message----- > From: Colin Law > Sent: Sunday, September 2, 2012 4:04 AM > To: [email protected] > (mailto:[email protected]) > Subject: Re: [Rails] Help getting started: Newbie: Windows and Rails > > On 2 September 2012 06:49, Bruce Whealton <[email protected] > (mailto:[email protected])> wrote: > > Dheeraj, > > And others... I am now convinced to use Linux/Ubuntu in my > > VirtualBox installation. I followed the tutorial that was posted earlier. > > Colin, on this list, recommended this posting: > > http://blog.sudobits.com/2012/05/02/how-to-install-ruby-on-rails-in-ubuntu-12-04-lts/ > > I’ll have to lookup that link and try to find it again. I did everything > > in > > the tutorial, got all the way to the bottom... where it says “Now you can > > see your installation of test_app and there is a smiley face. I try that > > very last step, where everything above it worked fine and so I go to my > > browser, enter http;//localhost:3000 > > There might have been a directory, I’ll have to dig up that tutorial link. > > Whatever it said for where to go in the browser is where I went. It says > > “Cannot display page...” > > Not found... etc. > > > > > Why have you just posted this question again? Did you see the > suggestions in my last post? > > > Now in the course I took online at Lynda.com (http://Lynda.com), called “Up > > and > > Running > > with Linux for PHP Developers.” The location where we would be installing > > software is giving me an error saying I don’t have permission to use that > > directory. It is /media/sf_sandbox/ > > I did try the sudo command in front of cd to go to that directory and it > > said it didn’t recognize sudo cd. It is both embarrassing and very > > frustrating that it continues to take me so long to get this working. > > After > > all this time, I STILL don’t have a rails install that I can browse to. > > I’ve never ever had this kind of problem with anything, any programming > > language or language environment. > > > > > I don't think this is the right place to ask for help with installing > php on linux. It does not seem to have much to do with Rails. > > Colin > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected] > (mailto:[email protected]). > To unsubscribe from this group, send email to > [email protected] > (mailto:[email protected]). > For more options, visit https://groups.google.com/groups/opt_out. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected] > (mailto:[email protected]). > To unsubscribe from this group, send email to > [email protected] > (mailto:[email protected]). > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

