On Monday, January 7, 2013 at 12:37 PM, " target="_blank"> wrote:
chef-server -N -e production shows following error:Merb root at: /usr/lib64/ruby/gems/1.8/gems/chef-server-api-10.16.2Loading init file from ./config/init.rb/usr/lib64/ruby/gems/1.8/gems/chef-server-api-10.16.2/config/init.rb:20:in`require': no such file to load -- merb-assets (LoadError)chef-server-api-10.16.2 in not in the path to merb-assets. The location ofthis file is /usr/lib64/ruby/gems/1.8/gems/merb-assets-1.1.3/lib/merb-assets.Tried using the -m option to chef-server and it did not help:chef-server -N -e production -m/usr/lib64/ruby/gems/1.8/gems/merb-assets-1.1.3/usr/lib64/ruby/gems/1.8/gems/chef-server-api-10.16.2/config/init.rb:20:in`require': no such file to load -- merb-assets (LoadError)What configuration entries are necessary for chef to find those entries listedin the init.rb require statements?There must be something that's pointing ruby gems in the wrong direction when looking for the libraries.Are you using rvm or rbenv? Does your `env` contain anything ruby/gem related? Does `gem env` include the paths you expect it to?--Daniel DeLeo
Archive powered by MHonArc 2.6.16.