I'm following these directions to install Rails 3 on my WHM/cPanel VPS. The only change I'm making is to use Ruby 1.9.3 and Rails 3.2.3
However when I get to the command to run "passenger-install-apache2-module" I'm having issues.
First, due to PATH issues I need to go into the correct directory to run the command.
More importantly, once I execute the command I get the error "Could not find passenger (>= 0) amongst [] (Gem::LoadError)" (Full error below).
The square brackets are empty, so I verified that the gems were there via "gem list --local" and passenger is listed.
System Specs:
CENTOS 5.8, WHM 11.32, VPS with root access
Full error:
/home/tekruby/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find passenger (>= 0) amongst [] (Gem::LoadError)
from /home/tekruby/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec'
from /home/tekruby/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems.rb:1231:in `gem'
from /home/tekruby/ruby/gems/bin/passenger-install-apache2-module:22:in `<main>'
You are doing it inside a rails app path, try:
cd ..
and then
passenger-install-apache2-module
I guess it works
I just went through this, you can try:
rvmsudo passenger-install-apache2-module
Hope this helps you out.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With