blt04 / puppet-rvm

A puppet module for installing and using RVM (Ruby Version Manager)
Other
242 stars 280 forks source link

Added support for passenger >= 4 #85

Open pspoerri opened 11 years ago

pspoerri commented 11 years ago

The install script for passenger >= expects the home variable to be set. Choosing /tmp since we use it from puppet.

Error:

/usr/local/rvm/gems/ruby-1.9.3-p429/gems/passenger-4.0.5/lib/phusion_passenger/platform_info/ruby.rb:202:in `expand_path': non-absolute home (ArgumentError)

Also added a symlink since passenger changed the bin directory from

 ${gempath}/passenger-${version}/ext/

to

${gempath}/passenger-${version}/libout/
germs12 commented 10 years ago
 *** EXCEPTION: non-absolute home (ArgumentError)
Notice: /Stage[main]/Rvm::Passenger::Apache::Ubuntu::Post/Exec[passenger-install-apache2-module]/returns:     /usr/local/rvm/gems/ruby-2.0.0-p353/gems/passenger-4.0.33/lib/phusion_passenger/platform_info/ruby.rb:221:in `expand_path'

I am also experiencing this issue when I attempt to install passenger. I'm on Ubuntu 12.04, Ruby 2.0.0p353, Passenger 4.0.33. Any ideas how I might get around this?

germs12 commented 10 years ago

I cloned the repo from @inetdavid and it worked.