I am running a Debian squeeze server with these (backported) packages installed:
rails 2.3.5-1~bpo50+1
rails-ruby1.8 2.3.5-1~bpo50+1
rake 0.8.7-1~bpo50+1
libapache2-mod-passenger 2.2.11debian-1~bpo50+1
I have a Rails application I am trying to run in this environment, but when I load the page I get this error message:
Actual load error: Could not find
RubyGem rails (= 2.3.5) Missing the
Rails 2.3.5 gem. Pleasegem install, update your RAILS_GEM_VERSION setting in
-v=2.3.5 rails
config/environment.rb for the Rails
version you do have installed, or
comment out RAILS_GEM_VERSION to use
the latest version installed.
There is a constraint that I must use these “official” Rails and mod_passenger Debian packages, so installing Rails and mod_passenger the traditional way via gems is not a possibility.
This seems to work: