On Jun 2, 12:04 am, DrMark <
drm...@gmail.com> wrote:
> Are you sure that you only have Ruby 1.9 installed?
Hi DrMark. Yes, I am sure. To be extra paranoid, I even ran an
extremely thorough search on the server's filesystem. The only Ruby on
the system is Ruby 1.9.1-p129, installed at "/opt/ruby-1.9.1-p129". As
far as checking paths is concerned, here's the relevant output:
$ script/console
Loading production environment (Rails 2.3.2)
>> Gem.path
=> ["/home/zhaytee/.gem/ruby/1.9.1", "/opt/ruby-1.9.1-p129/lib/ruby/
gems/1.9.1"]
And:
$ gem environment
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.1
- RUBY VERSION: 1.9.1 (2009-05-12 patchlevel 129) [x86_64-linux]
- INSTALLATION DIRECTORY: /opt/ruby-1.9.1-p129/lib/ruby/gems/1.9.1
- RUBY EXECUTABLE: /opt/ruby-1.9.1-p129/bin/ruby
- EXECUTABLE DIRECTORY: /opt/ruby-1.9.1-p129/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /opt/ruby-1.9.1-p129/lib/ruby/gems/1.9.1
- /home/zhaytee/.gem/ruby/1.9.1
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
-
http://gems.rubyforge.org/
And:
$ ls -l /opt/ruby-1.9.1-p129/lib/ruby/gems/1.9.1/gems
actionmailer-2.3.2/
actionpack-2.3.2/
activerecord-2.3.2/
activeresource-2.3.2/
activesupport-2.3.2/
fastthread-1.0.7/
passenger-2.2.2/
pg-0.8.0/
rack-1.0.0/
rails-2.3.2/
If there's anything wrong with this setup, I'm unable to see it. And
yet, Passenger still refuses to acknowledge the presence of the
"rails" gem! Here are the configuration directives in my Apache config
files:
PassengerRoot /opt/ruby-1.9.1-p129/lib/ruby/gems/1.9.1/gems/
passenger-2.2.2
PassengerRuby /opt/ruby-1.9.1-p129/bin/ruby
Also, I'm using Apache 2.2.11, not Nginx.
Thanks for your reply,
JT