try to install 'ruby-devel', in ubuntu it 'gem install ruby-devel' I guess Is it helps?
On Mar 24, 3:17 pm, Christophe Decaux <christophe.dec...@gmail.com> wrote: > Thanks Leonardo, > I installed everything with gem > > Anyone else ? > Le 24 mars 2010 à 13:13, Leonardo Mateo a écrit : > > > On Wed, Mar 24, 2010 at 9:08 AM, Christophe Decaux > > <christophe.dec...@gmail.com> wrote: > >> 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:in > >> `new' > >> (See full trace by running task with --trace) > > >> 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 Mateo. > > There's no place like ~ > > > -- > > You received this message because you are subscribed to the Google Groups > > "Ruby on Rails: Talk" group. > > To post to this group, send email to rubyonrails-t...@googlegroups.com. > > To unsubscribe from this group, send email to > > rubyonrails-talk+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/rubyonrails-talk?hl=en. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.