On Wed, Apr 7, 2010 at 11:15 AM, smain kahlouch <[email protected]> wrote: > > > 2010/4/7 Jeff McCune <[email protected]> >> >> On Wed, Apr 7, 2010 at 7:16 AM, smain kahlouch <[email protected]> wrote: >> > Hi, >> > >> > I'm coming back 'cause i still notice the same error. >> > I installed a new VM (debian 64) >> > I followed exactly the documentation (installation of passenger via >> > gems) >> > and the error. >> > >> > err: /File[/var/lib/puppet/lib]: Failed to generate additional resources >> > using 'eval_generate': Error 400 on SERVER: undefined method `path' for >> > #<Rack::Request:0x7fe8523989c8> >> > err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of >> > resource: Error 400 on SERVER: undefined method `path' for >> > #<Rack::Request:0x7fe852372408> Could not retrieve file metadata for >> > puppet://puppet/plugins: Error 400 on SERVER: undefined method `path' >> > for >> > #<Rack::Request:0x7fe852372408> >> > err: Could not retrieve catalog from remote server: Error 400 on SERVER: >> > undefined method `path' for #<Rack::Request:0x7fe85236e060> >> > >> > My apache configuration for passenger >> > LoadModule passenger_module >> > /var/lib/gems/1.8/gems/passenger-2.2.11/ext/apache2/mod_passenger.so >> > PassengerRoot /var/lib/gems/1.8/gems/passenger-2.2.11 >> > PassengerRuby /usr/bin/ruby1.8 >> >> >> /var/lib/gems looks like a non standard location which isn't in ruby's >> library search path, right? Perhaps you need to set the RUBYLIB and >> GEM_HOME environment variables as well, or modify $: in the rack >> configuration. >> >> -Jeff >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/puppet-users?hl=en. >> > > Thanks Jeff, could you please tell me how can i do that ? > What are the files to modify ?
Here are some of your options. Again, I'm not sure if this is actually the problem, but it just looks like it might be. Try setting up a wrapper script to set and export the GEM_HOME environment variable appropriately. http://stackoverflow.com/questions/79474/setting-environment-variables-for-phusion-passenger-applications -Jeff -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
