RailsCasts Pro episodes are now free!

Learn more or hide this

Judy Ngai's Profile

GitHub User: Jngai

Site: http://jngai.github.io/

Comments by Judy Ngai

Avatar

I deployed my rails app yesterday on digital ocean.

Here is a pretty good tutorial

https://coderwall.com/p/yz8cha

and I put in a comment at the bottom because the deploy.rb needs to configure rvm capistrano properly.

I hope this may help someone down the line.

Avatar

I am getting this when I do cap deploy:setup or bundle exec cap deploy:setup

I am not quite familiar with the scripts used on the railscast, mainly copy and paste/augment path (insert username/projectname) on the root path. I suspect that I configured the scripts incorrectly?

bundle exec cap deploy:setup
triggering load callbacks
* 2013-09-06 01:21:56 executing `deploy:setup'
* executing "mkdir -p /home/deployer2/apps/lintong /home/deployer2/apps/lintong/releases /home/deployer2/apps/lintong/shared /home/deployer2/apps/lintong/shared/system /home/deployer2/apps/lintong/shared/log /home/deployer2/apps/lintong/shared/pids"
servers: ["192.241.241.204"]
[192.241.241.204] executing command
** [out :: 192.241.241.204] bash: /home/deployer2/.rvm/bin/rvm-shell: No such file or directory
command finished in 9ms
failed: "rvm_path=$HOME/.rvm $HOME/.rvm/bin/rvm-shell 'default' -c 'mkdir -p /home/deployer2/apps/lintong /home/deployer2/apps/lintong/releases /home/deployer2/apps/lintong/shared /home/deployer2/apps/lintong/shared/system /home/deployer2/apps/lintong/shared/log /home/deployer2/apps/lintong/shared/pids'" on 192.241.241.204

Avatar

Hey it will be great to make a new video for thinking sphinx, a lot of things changed so your video is no longer relevant.