Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alias & wrappers: Could not find file 'ruby_executable_hooks' #106

Open
elsurudo opened this issue Dec 10, 2014 · 1 comment
Open

Alias & wrappers: Could not find file 'ruby_executable_hooks' #106

elsurudo opened this issue Dec 10, 2014 · 1 comment

Comments

@elsurudo
Copy link

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?

@mpapis
Copy link
Member

mpapis commented Dec 14, 2014

please add this:

set :rvm_install_type, "head"

and try again after:

cap rvm:install_rvm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants