2010/3/30 Ben Lovell <benjamin.lov...@gmail.com> > On 30 March 2010 16:38, smain kahlouch <smain...@gmail.com> wrote: > >> >> >> 2010/3/30 smain kahlouch <smain...@gmail.com> >> >>> >>> >>> 2010/3/30 smain kahlouch <smain...@gmail.com> >>> >>> >>>> >>>> 2010/3/30 Peter Meier <peter.me...@immerda.ch> >>>> >>>> gem update rack >>>>>> Updating installed gems >>>>>> Updating rack >>>>>> Successfully installed rack-1.1.0 >>>>>> Gems updated: rack >>>>>> >>>>>> I still have the same error. >>>>>> >>>>> >>>>> just to be sure: you restarted apache, right? >>>>> >>>>> can you give us a list of your installed gems, as well you server and >>>>> client version? >>>>> >>>>> cheers pete >>>>> >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Puppet Users" group. >>>>> To post to this group, send email to puppet-us...@googlegroups.com. >>>>> To unsubscribe from this group, send email to >>>>> puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@googlegroups.com> >>>>> . >>>>> For more options, visit this group at >>>>> http://groups.google.com/group/puppet-users?hl=en. >>>>> >>>>> >>>> >>>> Yes Apache has been restarted. It seems that i have two versions of rack >>>> installed : >>>> >>>> gem list >>>> >>>> *** LOCAL GEMS *** >>>> >>>> rack (1.1.0, 1.0.1) >>>> rake (0.8.7) >>>> >>>> >>> Do you have any idea please ? >>> >> >> I still can't figure out how to solve my problem. >> I still have the same errors : >> >> err: /File[/var/lib/puppet/lib]: Failed to generate additional resources >> using 'eval_generate': Error 400 on SERVER: undefined method `path' for >> #<Rack::Request:0x7fd034ce6ce0> >> >> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw >> yaml; using pson >> err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of >> resource: Error 400 on SERVER: undefined method `path' for >> #<Rack::Request:0x7fd034cc0720> Could not retrieve file metadata for >> puppet://puppet/plugins: Error 400 on SERVER: undefined method `path' for >> #<Rack::Request:0x7fd034cc0720> >> debug: Finishing transaction 69914353358540 with 0 changes >> >> debug: catalog supports formats: b64_zlib_yaml marshal pson raw yaml; >> using pson >> err: Could not retrieve catalog from remote server: Error 400 on SERVER: >> undefined method `path' for #<Rack::Request:0x7fd034cbc378> >> >> >> > It seems as though you have multiple rubies on your machine. Can you > confirm what the following displays at the prompt: > > `ruby -v` > > Also, please confirm which ruby version passenger is loading by checking > the "PassengerRuby" in your apache configuration. > > Thanks, > Ben > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-us...@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. >
Hi Ben, thanks for your answer. *ruby -v ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] passenger.conf <IfModule mod_passenger.c> PassengerRoot /usr PassengerRuby /usr/bin/ruby </IfModule> /usr/bin/ruby -v ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] *Regards, Grifith * * -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.