Rake db:schema:dump [ Newbie Question ]

I hosting my application on hostingrails.com. Being new to rails and
radiant I began my application in production mode due to difficulties
trying to deploy from my development application. I have gained a better
understanding of how radiant uses instance mode yet I am unable to
perform a rake db:schema:dump in order to move the production db to a
development db. I have tried performing a rake both in my_app and
radiant/radiant folders, each failed to produce a rake of my db. Any
help would be greatly appreciated. Thanks!

Kris,
Are you getting any error messages?
Are you 100% sure your database.yml file is correct?

More information would be helpful.
Good luck,
BJ Clark

— Trying to run a rake db:migrate under my_app folder
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb,
Rakefile.rb)
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1822:in
`load_rakefile’
(See full trace by running task with --trace)

— Trying to run a rake db:migrate under RADIANT_ROOT (radiant/radiant)

rake aborted!
No such file or directory -
/home/forwardf/radiant/radiant/config/…/config/database.yml

(See full trace by running task with --trace)

Basically it seems that under the instance it can not find the rake file
where as under the radiant app it finds no database.yml. If i created a
database.yml inside the RADIANT_ROOT would it work?

[email protected] [~/forwardfoot]#

Kris Steigerwald wrote:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs