On 31 March 2010 11:20, smain kahlouch <smain...@gmail.com> wrote:

>
>
> 2010/3/31 Ben Lovell <benjamin.lov...@gmail.com>
>
>> On 31 March 2010 11:03, smain kahlouch <smain...@gmail.com> wrote:
>>
>>>
>>>
>>> 2010/3/31 Ben Lovell <benjamin.lov...@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
>>>>> *
>>>>> *
>>>>>
>>>>
>>>> Your "PassengerRoot" above is incorrect, it should point to wherever you
>>>> have passenger and I doubt this is your /usr dir. If I were you I'd follow
>>>> the passenger install instructions again and to the letter:
>>>>
>>>> http://www.modrails.com/install.html
>>>>
>>>> Your environment looks OK so I guess you have just misconfigured
>>>> something during installation. Be sure to follow *exactly* what you are 
>>>> told
>>>> by passenger-install-apache2-module.
>>>>
>>>> Cheers,
>>>> 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,
>>>
>>> I installed Passenger via the debian package : libapache2-mod-passenger.
>>>
>>> Regards
>>>
>>>
>>>
>> Not having had any experience installing from a package I'm not sure I can
>> help. My advice would be to remove the package and install it following the
>> steps I mentioned or from phusion's instructions (which are very
>> comprehensive). It isn't difficult to get setup.
>>
>> --
>> 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 i understand, it's not difficult but for security reasons i don't want
> to install development tools (gcc ...).
>
>
OK I understand. You'll have to speak to the maintainer of the package I
guess.

-- 
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.

Reply via email to