This forum is no longer active. Please post your questions to our new community site

Rubystack rake db:migrate fails with no rakefile found

Subscribe to Rubystack rake db:migrate fails with no rakefile found 3 post(s), 2 voice(s)

 
Avatar demonllama 6 post(s)

Hi guys,

I’ve just installed the rubystack (ubuntu 11.04), and when I attempt to run rake db:migrate, I get the following error:

bash-4.2$ rake db:migrate
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/opt/rubystack-2.2-2/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2377:in `raw_load_rakefile’

However, a rakefile does exist in: /opt/rubystack-2.2-2/apache2/htdocs/Contact/

Any ideas?

 
Avatar demonllama 6 post(s)

Ah. I didn’t run the rails from the rubyconsole. Must it be done from there?

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Right, and you should be in the your_installdir/apps/redmine directory before running the rake command.