Error with passenger-install-nginx-module – Could not find RubyGem passenger (>= 0) (Gem::LoadError)
If you are troubled with
passenger-install-nginx-module /home/web90seconds/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems.rb:900:in `report_activate_error’: Could not find RubyGem passenger (>= 0) (Gem::LoadError)
Then try
sudo env GEM_HOME=$GEM_HOME /home/me/.rvm/gems/ruby-1.9.2-p180/bin/passenger-install-nginx-module
Obviously change the location of your passenger-install-nginx-module binary.
Related Posts
Posted on March 28, 2011 at 12:53 pm by Jordan Carter · Permalink
In: Ruby on Rails, Server Config · Tagged with: nginx, phusion passenger, ruby 1.9.2
In: Ruby on Rails, Server Config · Tagged with: nginx, phusion passenger, ruby 1.9.2
on March 28, 2011 at 1:02 pm
Permalink
Hmm you might be able to use rvmsudo instead of sudo also.. Just bumped into that command and thought I would update this post
on January 12, 2012 at 5:11 pm
Permalink
Cheers for this, been searching ages for a solution and the rvmsudo command sorted it