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.

Posted on March 28, 2011 at 12:53 pm by Jordan Carter · Permalink · 2 Comments
In: Ruby on Rails, Server Config · Tagged with: , ,

How To – Installing Ruby on Rails on Ubuntu Lucid Lynx 10.04 Server

Install required packages sudo apt-get install build-essential git-core zlib1g-dev libssl-dev libreadline5-dev The required packages for installing Ruby Enterprise, and Git thrown in for good measure. Install Ruby Enterprise Download ruby-enterprise-1.8.7-2010.02.tar.gz & Install wget http://rubyforge.org/frs/download.php/71096/ruby-enterprise-1.8.7-2010.02.tar.gz tar xzvf ruby-enterprise-1.8.7-2010.02.tar.gz sudo ./ruby-enterprise-1.8.7-2010.02/installer May take a long time to get past the “Generating RI…” bit Also, ignore the  “The following […]

Posted on September 13, 2010 at 5:55 pm by Jordan Carter · Permalink · One Comment
In: How To · Tagged with: , , , , , ,

Routes Error using Phusion Passenger, Apache, Rails 2.2.2 and RailsBaseURI

Rails can’t find the page, but it should be the root directory. It works when I script/server, it just won’t load with Passenger properly. Solutions in google groups Add config.action_controller.relative_url_root = “/appName” to your environment.rb file.

Posted on June 3, 2009 at 1:03 pm by Jordan Carter · Permalink · Leave a comment
In: Server Config · Tagged with: , ,