If I use ruby 2.0, passenger installation get error:
*** Running 'rake nginx CACHING=false' in /usr/local/rvm/gems/ruby-2.0.0-p353/gems/passenger-4.0.37/ext/nginx... ***
STDERR: /usr/lib/ruby/1.9.1/rubygems/dependency.rb:247:in to_specs': Could not find rake (>= 0) amongst [] (Gem::LoadError)
from /usr/lib/ruby/1.9.1/rubygems/dependency.rb:256:in
to_spec'
from /usr/lib/ruby/1.9.1/rubygems.rb:1231:in gem'
from /opt/chef/embedded/bin/rake:22:in
<main>'
It becouse chef install own ruby 1.9, and when install passenger don't use default rvm ruby (2.0).
I rewrite this passenger attributes, but it don't help:
"passenger": {
"version": "4.0.37",
"root": "/usr/local/rvm/gems/ruby-2.0.0-p353/gems/passenger-4.0.37",
"ruby": "/usr/local/rvm/rubies/ruby-2.0.0-p353/bin/ruby",
"gem_binary": "/usr/local/rvm/wrappers/ruby-2.0.0-p353/gem"
}
Can you help me?
I will try it as soon as possible.
Thanks.