gestalt
gestalt

Reputation: 375

Rails Error Message

So I am teaching myself rails and I am trying to create simple blog type webpage. However, I keep getting this error message every time I try to run from the command line.

rails generate scaffold post title:string body:text created_at:datetime
←[31mCould not find gem 'rails (= 3.2.2) x86-mingw32' in any of the gem sources
listed in your Gemfile.←[0m
←[33mRun `bundle install` to install missing gems.←[0m

I have Ruby v1.9.3 and Rails v. I have also downloaded RubyGems v1.8.17. I have re-installed all three, and made sure they are added to the PATH. I'm guessing its something simple I am missing but I just don't understand what the message is asking. Thank you.

Upvotes: 0

Views: 268

Answers (1)

Mike Schachter
Mike Schachter

Reputation: 156

Did you generate a new project 1st using

rails new project_name

If you did, it's telling you to run bundle install. Did you trying typing "bundle install" into the command line?

Upvotes: 1

Related Questions