Ruby on Rails Sunday, January 22, 2012



On Fri, Jan 20, 2012 at 9:05 PM, Peng Yu <pengyu.ut@gmail.com> wrote:
Hi,

I'm following instructions at http://guides.rubyonrails.org/getting_started.html

But I get the following error when I try "rake db:migrate". Does
anybody know what is wrong in my system?

~/RoR_src/blog$ rake db:migrate --trace
(in /Users/pengy/RoR_src/blog)
rake aborted!
uninitialized constant Rake::DSL
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb:2503:in
`const_missing'


You got to do 
   gem install rake

or 
   bundle install 
   bundle update

unless you want to write this

    require 'rake/dsl_definition'

everytime in your rake file, just try to update your rake gem


Javier 

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment