also, how do i do a rake migrate on the online server. from ssh?
403 permissions error
- Rlewis
- Posts: 2
- Starts: 1
- Wiki Edits: 0
I cant get past this page and i've tried all of the things you recommended here: http://www.hostingrails.com/forums/wiki_thread/7 please assist
also, how do i do a rake migrate on the online server. from ssh?
also, how do i do a rake migrate on the online server. from ssh?
- William
- Posts: 1052
- Starts: 32
- Wiki Edits: 56
Hi there - yes you'll do rake migrate via SSH -- make sure to add the RAILS_ENV=production as well
As for the 403 error, I would recommend creating a test rails app in your account and compare the permissions there with those of the app that's giving you trouble.
As for the 403 error, I would recommend creating a test rails app in your account and compare the permissions there with those of the app that's giving you trouble.
2007-03-21 11:03 AM
- Rlewis
- Posts: 2
- Starts: 1
- Wiki Edits: 0
cheers, i'll take try at that. also, do the rake when im in the application root folder? i.e if the app is test, do it in test/
2007-03-21 11:29 AM
- William
- Posts: 1052
- Starts: 32
- Wiki Edits: 56
that's correct - you should perform rake from the root of the application folder as you described.
2007-03-21 11:34 AM
- Rlewis
- Posts: 2
- Starts: 1
- Wiki Edits: 0
i tried this and got the following error:
[~/catalyst]# rake db:migrate
(in /home/username/catalyst)
rake aborted!
No such file or directory - /home/username/catalyst/config/environment.rb
/home/username/catalyst/Rakefile:4
(See full trace by running task with --trace)
however, my environment.rb file is in there. I've tried reuploading and resetting permissions but nothing seems to change this error.
[~/catalyst]# rake db:migrate
(in /home/username/catalyst)
rake aborted!
No such file or directory - /home/username/catalyst/config/environment.rb
/home/username/catalyst/Rakefile:4
(See full trace by running task with --trace)
however, my environment.rb file is in there. I've tried reuploading and resetting permissions but nothing seems to change this error.
2007-03-21 02:04 PM
- William
- Posts: 1052
- Starts: 32
- Wiki Edits: 56
hey I apologize for the delay on this - please contact support if you are still having the issue. It doesn't make sense that its not finding your environment.rb file and they'll need to look at your setup.