Problem with blog demo app

http://guides.rubyonrails.org/getting_started_with_rails.html

The command “rake db.create” shown in section “6.1. Running a
migration” is failing as follows:

bash-3.2$ pwd
/Users/jander/work/blog
bash-3.2$ rake db.create --trace
(in /Users/jander/work/blog)
rake aborted!
Don’t know how to build task ‘db.create’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1706:in []' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2018:in invoke_task’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in
top_level' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in each’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in
top_level' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in standard_exception_handling’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1991:in
top_level' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1970:in run’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in
standard_exception_handling' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in run’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/bin/rake:31
/usr/local/bin/rake:19:in `load’
/usr/local/bin/rake:19

try running rake db:migrate
I think the problem is you are using a period instead of a colon

Jason

Thanks, you’re absolutely right! One of the problems of having a very
high resolution screen…:slight_smile:

Maybe db:create?