Not sure knife is working correctly.Not finding require entries makes chef-server abort before it can even create validation.pem.I ran shef, and it loaded but any commands indicate "No such file or directory - /etc/chef/client.pem". Cannot create it without validation.pem.Is there another way to create validation.pem?From: "AJ Christensen" < " target="_blank"> >-----
Not All Who Wander Are Lost!
Chuck Keagle
" target="_blank">
505-500-8052 (Home)
425-417-3434 (Cell)
To: " target="_blank">
Sent: Monday, January 7, 2013 1:53:38 PM
Subject: [chef] Re: Re: Re: chef-server not loading merb-assetsDoes 'irb -rrubygems -rmerb-assets' work?
Have you considered using one of the automated installers for the Chef Server, like Fletcher's Knife Server plugin? [0]
Or chef-solo running chef-server cookbook?AJOn 8 January 2013 10:44, < " target="_blank"> > wrote:
env does not show anything ruby/gem related.gem env looks OK to me. ~/.gem does not exist, but that should not throw a wrench into the works. Do you see something odd?$ gem envRubyGems Environment:- RUBYGEMS VERSION: 1.8.10- RUBY VERSION: 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]- INSTALLATION DIRECTORY: /usr/lib64/ruby/gems/1.8- RUBY EXECUTABLE: /usr/bin/ruby- EXECUTABLE DIRECTORY: /usr/bin- RUBYGEMS PLATFORMS:- ruby- x86_64-linux- GEM PATHS:- /usr/lib64/ruby/gems/1.8- /home/a-ckeagle/.gem/ruby/1.8- GEM CONFIGURATION:- :update_sources => true- :verbose => true- :benchmark => false- :backtrace => false- :bulk_threshold => 1000- REMOTE SOURCES:Here is a listing of /usr/lib64/ruby/gems/1.8/{,gems}. Looks to me like they should get found. Do you see something odd?]$ ls /usr/lib64/ruby/gems/1.8/{,gems}/usr/lib64/ruby/gems/1.8/:cache doc gems specifications/usr/lib64/ruby/gems/1.8/gems:addressable-2.3.2 extlib-0.9.15 moneta-0.6.0amqp-0.6.7 fast_xs-0.7.3 net-ssh-2.2.2bundler-1.2.3 haml-3.1.7 net-ssh-gateway-1.1.0bunny-0.6.0 highline-1.6.15 net-ssh-multi-1.1bunny-0.7.9 ipaddress-0.8.0 ohai-6.14.0chef-10.16.2 json-1.6.1 polyglot-0.3.3chef-expander-10.16.2 merb-assets-1.1.3 rack-1.4.1chef-server-10.16.2 merb-core-1.1.3 rake-10.0.3chef-server-api-10.16.2 merb-haml-1.1.3 rest-client-1.6.7chef-server-webui-10.16.2 merb-helpers-1.1.3 ruby-openid-2.2.2chef-solr-10.16.2 merb-param-protection-1.1.3 systemu-2.5.2coderay-1.0.8 mime-types-1.19 thin-1.5.0daemons-1.1.9 mixlib-authentication-1.3.0 treetop-1.4.12dep_selector-0.0.8 mixlib-cli-1.2.2 uuidtools-2.1.3em-http-request-0.2.15 mixlib-config-1.1.2 yajl-ruby-1.1.0erubis-2.7.0 mixlib-log-1.4.1eventmachine-0.12.10 mixlib-shellout-1.1.0-----
Not All Who Wander Are Lost!
Chuck Keagle
" target="_blank">
505-500-8052 (Home)
425-417-3434 (Cell)
From: "Daniel DeLeo" < " target="_blank"> >
To: " target="_blank">
Sent: Monday, January 7, 2013 12:51:48 PM
Subject: [chef] Re: chef-server not loading merb-assets
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.