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 ? Thanks, Christophe -- 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Wed, Mar 24, 2010 at 9:08 AM, Christophe Decaux <christophe.decaux-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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.decaux-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group at http://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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.