I'm trying to get rvm-capistrano to generate an alias and wrappers in order to launch a job processor in my app's environment using init.d.
My deploy.rb looks something like this:
require 'rvm/capistrano'
require 'rvm/capistrano/alias_and_wrapp'
...
set :rvm_ruby_string, :local
set :rvm_autolibs_flag, "read-only"
...
before 'deploy:setup', 'rvm:install_rvm'
before 'deploy:setup', 'rvm:installde_ruby'
before 'deploy:assets:symlink', 'deploy:configuration'
before 'deploy', 'rvm:create_alias'
before 'deploy', 'rvm:create_wrappers'
Only problem is that on deploy, I get the following error:
15:12:09 * executing `rvm:create_wrappers'
15:12:09 * executing multiple commands in parallel
15:12:09 -> "else" :: "$HOME/.rvm/bin/rvm wrapper 2.1.3 --no-prefix --all"
15:12:09 -> "else" :: "$HOME/.rvm/bin/rvm wrapper 2.1.3 --no-prefix --all"
15:12:09 servers: [one, two]
15:12:09 [one] executing command
15:12:09 [two] executing command
15:12:10 ** [out :: two] Regenerating ruby-2.1.3 wrappers
15:12:12 ** [out :: one] Regenerating ruby-2.1.3 wrappers
15:12:12 ** [out :: two] .............
15:12:12 *** [err :: two] Could not find file 'ruby_executable_hooks' nor '/home/app/.rvm/wrappers/ruby-2.1.3/ruby_executable_hooks'.
15:12:15 ** [out :: one] .............
15:12:15 *** [err :: one] Could not find file 'ruby_executable_hooks' nor '/home/app/.rvm/wrappers/ruby-2.1.3/ruby_executable_hooks'.
Unfortunately, I wasn't able to find much information on this error. What could be going wrong?
I'm trying to get
rvm-capistranoto generate an alias and wrappers in order to launch a job processor in my app's environment using init.d.My deploy.rb looks something like this:
Only problem is that on deploy, I get the following error:
Unfortunately, I wasn't able to find much information on this error. What could be going wrong?