Displaying 1 result from an estimated 1 matches for "rvm_exec".
Did you mean:
vm_exec
2011 Jan 10
2
Problem with multiple requires in Ruby DSL
...simply fails, and I''m stumped as to why. The
error message is:
Parameter require failed: No title provided and "[ Exec[git-/usr/local/
resque-runner], Rvm_install[1.9.2-p136]]" is not a valid resource
reference
My definition looks like this:
define :bundle_install, :rvm do
rvm_exec "bundle-#{@name}",
:command => "bundle install --without production",
:ruby => @rvm,
:path => "/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin",
# this alone works:
#:require => "Rvm_install[#{@rvm}]...