[chef] Upgraded chef-server to 0.10.0, now can't load merb-asses when starting chef-server


Chronological Thread 
  • From: Steve Webb < >
  • To:
  • Subject: [chef] Upgraded chef-server to 0.10.0, now can't load merb-asses when starting chef-server
  • Date: Mon, 16 May 2011 12:27:30 -0600 (MDT)

Hey there.

Noob chef/ruby guy here.  Sorry if this is an easy issue or been discussed
before but ...

I had the chef-server 0.9.12 running pretty well, but upgraded to 0.10.0 and now when I fire up chef-server, I'm seeing:


 ~]# chef-server -N -e production
NOTE: Gem::Specification#default_executable= is deprecated with no 
replacement. It will be removed on or after 2011-10-01.
Gem::Specification#default_executable= called from 
/usr/local/rvm/gems/ /specifications/rake-0.8.7.gemspec:10.
Merb root at: /usr/local/rvm/gems/ruby-1.9.2-p180/gems/chef-server-api-0.10.0
NOTE: Gem::Specification#default_executable= is deprecated with no 
replacement. It will be removed on or after 2011-10-01.
Gem::Specification#default_executable= called from 
/usr/local/rvm/gems/ /specifications/rake-0.8.7.gemspec:10.
Loading init file from ./config/init.rb
Gem
/usr/local/rvm/gems/ruby-1.9.2-p180/gems/chef-server-api-0.10.0/config/init.rb:20:in
 `require': no such file to load -- merb-assets (LoadError)
        from 
/usr/local/rvm/gems/ruby-1.9.2-p180/gems/chef-server-api-0.10.0/config/init.rb:20:in
 `<top (required)>'
        from 
/usr/local/rvm/gems/ruby-1.9.2-p180/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:529:in
 `load'
        from 
/usr/local/rvm/gems/ruby-1.9.2-p180/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:529:in
 `load_initfile'
        from 
/usr/local/rvm/gems/ruby-1.9.2-p180/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:377:in
 `run'
        from 
/usr/local/rvm/gems/ruby-1.9.2-p180/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:97:in
 `run'
        from 
/usr/local/rvm/gems/ruby-1.9.2-p180/gems/merb-core-1.1.3/lib/merb-core/server.rb:172:in
 `bootup'
        from 
/usr/local/rvm/gems/ruby-1.9.2-p180/gems/merb-core-1.1.3/lib/merb-core/server.rb:42:in
 `start'
        from 
/usr/local/rvm/gems/ruby-1.9.2-p180/gems/merb-core-1.1.3/lib/merb-core.rb:165:in
 `start'
        from 
/usr/local/rvm/gems/ruby-1.9.2-p180/gems/chef-server-api-0.10.0/bin/chef-server:84:in
 `<top (required)>'
        from /usr/local/rvm/gems/ruby-1.9.2-p180/bin/chef-server:19:in `load'
        from /usr/local/rvm/gems/ruby-1.9.2-p180/bin/chef-server:19:in 
`<main>'

 ~]#

My ruby/gem environment is:


 ~]# rvm info

ruby-1.9.2-p180:

  system:
    uname:       "Linux chefserver-test1 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 
12:39:36 EST 2008 i686 i686 i386 GNU/Linux"
    bash:        "/bin/bash => GNU bash, version 3.2.25(1)-release 
(i686-redhat-linux-gnu)"
    zsh:         " => not installed"

  rvm:
    version:      "rvm 1.6.5 by Wayne E. Seguin 
( )
 [https://rvm.beginrescueend.com/]";

  ruby:
    interpreter:  "ruby"
    version:      "1.9.2p180"
    date:         "2011-02-18"
    platform:     "i686-linux"
    patchlevel:   "2011-02-18 revision 30909"
    full_version: "ruby 1.9.2p180 (2011-02-18 revision 30909) [i686-linux]"

  homes:
    gem:          "/usr/local/rvm/gems/ruby-1.9.2-p180"
    ruby:         "/usr/local/rvm/rubies/ruby-1.9.2-p180"

  binaries:
    ruby:         "/usr/local/rvm/rubies/ruby-1.9.2-p180/bin/ruby"
    irb:          "/usr/local/rvm/rubies/ruby-1.9.2-p180/bin/irb"
    gem:          "/usr/local/rvm/rubies/ruby-1.9.2-p180/bin/gem"
    rake:         "/usr/local/rvm/gems/ruby-1.9.2-p180/bin/rake"

  environment:
    PATH:         
"/usr/local/rvm/gems/ruby-1.9.2-p180/bin:/usr/local/rvm/gems/ /bin:/usr/local/rvm/rubies/ruby-1.9.2-p180/bin:/usr/local/rvm/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/home/ec2/bin:/root/bin"
    GEM_HOME:     "/usr/local/rvm/gems/ruby-1.9.2-p180"
    GEM_PATH:     
"/usr/local/rvm/gems/ruby-1.9.2-p180:/usr/local/rvm/gems/ "
    MY_RUBY_HOME: "/usr/local/rvm/rubies/ruby-1.9.2-p180"
    IRBRC:        "/usr/local/rvm/rubies/ruby-1.9.2-p180/.irbrc"
    RUBYOPT:      ""
    gemset:       ""



 ~]# gem --version
NOTE: Gem::Specification#default_executable= is deprecated with no 
replacement. It will be removed on or after 2011-10-01.
Gem::Specification#default_executable= called from 
/usr/local/rvm/gems/ /specifications/rake-0.8.7.gemspec:10.
1.8.2

 ~]# gem list
NOTE: Gem::Specification#default_executable= is deprecated with no 
replacement. It will be removed on or after 2011-10-01.
Gem::Specification#default_executable= called from 
/usr/local/rvm/gems/ /specifications/rake-0.8.7.gemspec:10.

*** LOCAL GEMS ***

NOTE: Gem::Specification#default_executable= is deprecated with no 
replacement. It will be removed on or after 2011-10-01.
Gem::Specification#default_executable= called from 
/usr/local/rvm/gems/ /specifications/rake-0.8.7.gemspec:10.
abstract (1.0.0)
addressable (2.2.5)
amqp (0.6.7)
bundler (1.0.13)
bunny (0.6.0)
chef (0.10.0)
chef-expander (0.10.0)
chef-server (0.10.0)
chef-server-api (0.10.0)
chef-server-webui (0.10.0)
chef-solr (0.10.0)
coderay (0.9.7)
daemons (1.1.0)
dep_selector (0.0.8)
em-http-request (0.2.15)
erubis (2.7.0)
eventmachine (0.12.10)
extlib (0.9.15)
fast_xs (0.7.3)
haml (3.0.25)
highline (1.6.1)
json (1.5.1, 1.4.6)
libxml-ruby (1.1.4)
merb-assets (1.1.3)
merb-core (1.1.3)
merb-haml (1.1.3)
merb-helpers (1.1.3)
merb-param-protection (1.1.3)
mime-types (1.16)
mixlib-authentication (1.1.4)
mixlib-cli (1.2.0)
mixlib-config (1.1.2)
mixlib-log (1.3.0)
moneta (0.6.0)
net-ssh (2.1.4)
net-ssh-gateway (1.1.0)
net-ssh-multi (1.0.1)
ohai (0.6.4)
polyglot (0.3.1)
rack (1.2.2)
rake (0.8.7 ruby)
rest-client (1.6.1)
ruby-openid (2.1.8)
rubygems-update (1.8.2)
systemu (1.2.0)
thin (1.2.11)
treetop (1.4.9)
uuidtools (2.1.2)
yajl-ruby (0.8.2)

 ~]#

The whole "deprecicated" message I can live with, but the merb-assets is a
blocker for me.

- Steve

--
Steve Webb - Senior System Administrator for gnip.com



Archive powered by MHonArc 2.6.16.

§