[chef] Re: Re: Re: Ruby search path?


Chronological Thread 
  • From: ItsMikeE < >
  • To:
  • Subject: [chef] Re: Re: Re: Ruby search path?
  • Date: Mon, 11 Jul 2011 07:53:16 -0700 (PDT)

When I start up the chef server I get the error message

"/opt/chef/local/lib/ruby/site_ruby/1.8/gems/gems/chef-server-api-0.10.0/config/init.rb:20:in
`require': no such file to load -- merb-assets (LoadError)"

I can change directory to the directory containing merb-assets
(/opt/chef/local/lib/ruby/site_ruby/1.8/gems/gems/merb-assets-1.1.3/lib/) and
then start the server.

gem env shows the path to be 
  - GEM PATHS:
     - /opt/chef/local/lib/ruby/site_ruby/1.8/gems
     - /opt/chef/local/lib/ruby/site_ruby/1.8/gems/bin
so why does it not pick up the location of merb-assets?

gem which merb-assets works fine, giving me
/opt/chef/local/lib/ruby/site_ruby/1.8/gems/gems/merb-assets-1.1.3/lib/merb-assets



Archive powered by MHonArc 2.6.16.

§