railstutorial / sample_app_2nd_ed

The Rails Tutorial Sample App, 2nd Edition

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Listing 1.5

glafontant opened this issue · comments

Hello,

I'm a novice to programming and ruby on rails in particular. I am having difficulty with 1.2.4 specifically listing 1.5. I ran
$ cd first_app/
$ vim Gemfile

My problem is I can't figure how to intiate the changes in listing 1.5 and run the updated gemfile. Since I am unable to do this I cannot run the bundle install command. I am very confused and desperately need help please!

Replace the contents of the Gemfile with the contents of Listing 1.5. Then run bundle install at the command line. If you are unable to follow these instructions, then the Rails Tutorial may be too advanced for you. In that case, I recommend consulting some of the other resources listed in Comments for various readers.

I replaced the contents in the Gemfile with those in listing 1.5. I ran bundle install and received Gem file not found. Where is the command line? Is it found in Shell tab new command or is the --Insert Line -- ? I'm pretty sure I can do this once I figure this out.

You need to be in the first_app directory when you run bundle install.