Problem Installing Passenger

Hi there,

I’m trying to install passenger on a hosted server which has
Ubuntu 9.04
Ruby 1.8.6
Rails 2.3.5
Apache 2
I had some trouble with gem install passenger, but went through after
installing build-essential which were not on the machine.
First when I launched passenger-install-apache2-module, it complained
about Apache not in the correct mpm mode, so I installed mpm-prefork

Now when I relaunch passenger-install-apache2-module, I get this:

Compiling and installing Apache 2 module…
cd /srv/d_prod/home/christophe/gems/gems/passenger-2.2.11
/usr/bin/ruby1.8 -S /usr/bin/rake clean apache2

/usr/bin/ruby1.8 -S /usr/bin/rake clean apache2

(in /srv/d_prod/home/christophe/gems/gems/passenger-2.2.11)
rake aborted!
undefined method rakefile' for #<Rake::Application:0xb7c6719c> /srv/d_prod/home/christophe/gems/gems/passenger-2.2.11/Rakefile:630:innew’
(See full trace by running task with --trace)

I also reinstalled rake

Any thoughts, anyone ?

Thanks,
Christophe

On Wed, Mar 24, 2010 at 9:08 AM, Christophe D.
[email protected] wrote:

Now when I relaunch passenger-install-apache2-module, I get this:

I also reinstalled rake

Any thoughts, anyone ?

How did you install rake? with through gem or through package manager?
Try to avoid gems installation via the package manager, my advice,
based on the experience on Debian(-like) systems with this things is
you have to install only rubygems from the package manager and then,
everything else with the gem command.

Hope it helps.

–
Leonardo M…
There’s no place like ~

Thanks Leonardo,
I installed everything with gem

Anyone else ?
Le 24 mars 2010 à 13:13, Leonardo M. a écrit :

try to install ‘ruby-devel’, in ubuntu it ‘gem install ruby-devel’ I
guess
Is it helps?

On Mar 24, 3:17 pm, Christophe D. [email protected]