Problem: starting passenger in daemon mode.
Debian Jessie

I installed ruby with aptitude => ruby2.1
Tested ruby with ruby -v => ruby 2.1.5p273 (2014-11-13) [x86_64-linux-gnu]

I installed rubygems with aptitude

I used gem to install rails
        gem install rails

I used aptitude to install ruby-sqlite3

I tested the installation to this point by running irb
        root@supercrunch:/etc/init.d# irb
        irb(main):001:0> require 'sqlite3'
        => true
This should mean that everything is working OK up to this point.

Now things start to get sticky. I want to be able to install passenger so that I can use it as a stand alone web server. I have two alternatives for installation; aptitude install ruby-passenger or gem install passenger.

Following the Phusion Passenger users guide (sort of):
        Installed with aptitude install ruby-passenger from debian.

Per Phusion Passenger Standalone users guide, I should go to the application's root director and run: passenger start
which gives me:

root@supercrunch:/usr/lib/passenger# passenger start
/usr/lib/ruby/2.1.0/rubygems/dependency.rb:298:in `to_specs': Could not find 'passenger' (>= 0) among 131 total gem(s) (Gem::LoadError)
        from /usr/lib/ruby/2.1.0/rubygems/dependency.rb:309:in `to_spec'
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_gem.rb:53:in `gem'
        from /usr/local/bin/passenger:22:in `<main>'

The main problem here for me is what is meant by "application". I haven't installed any application yet. If this means "passenger" then there are about 6 different places that are possibilities. Could someone please clarify?

Gary R.

Reply via email to