Trying to deploy a rails app, but when I try to run db migrations its giving me an error that it can't find bundler.
My gems are installed in /home/user/webapps/appname/gems and this is set as my gem_path, and the path contains bundler.
Any tips / hints, troubleshooting i can do?
Has anyone found a good solution for this?
The problem I think (or one way to look at the problem) is that SSH has no knowledge of the path to the bundle executable.
Browsing around for a bit, I found that if
Or whatever. But I'm not sure what the correct paths are for Webfaction, and I'm not sure if support can enable PermitUserEnvironment.
Are there any better answers for this?
answered 27 Jan '11, 02:57
For future reference, this is what I currently have in my deploy.rb which is working.
answered 03 Oct '11, 10:11