dellcloudedge/barclamp-crowbar — Issue #1: camelize is missing
Author: ehaselwanter
Created: 2011-10-20 12:19:53+00:00
State: open

root@admin:~# /opt/dell/bin/barclamp_create.rb tlabs "T-Labs" /barclamps/
Creating barclamp 'tlabs' into '/barclamps/' as entity 'T-Labs'.
/opt/dell/crowbar_framework/lib/barclamp_lib.rb:99:in `bc_replacer': undefined method `camelize' for "tlabs":String (NoMethodError)
from /opt/dell/crowbar_framework/lib/barclamp_lib.rb:52:in `bc_cloner'
from /opt/dell/bin/barclamp_create.rb:50
from /opt/dell/bin/barclamp_create.rb:49:in `each'
from /opt/dell/bin/barclamp_create.rb:49

this is due to wrong gem list on the iso:

root@admin:~# gem list

*** LOCAL GEMS ***

actionmailer (2.3.12)
actionpack (2.3.12)
activerecord (2.3.12)
activeresource (2.3.12)
activesupport (3.1.1, 2.3.12)
builder (3.0.0)
haml (3.1.3)
i18n (0.6.0)
json (1.5.2)
kgio (2.6.0)
multi_json (1.0.3)
net-http-digest_auth (1.1.1)
rack (1.1.2)
rails (2.3.12)
rainbows (4.3.1)
raindrops (0.7.0)
rake (0.9.2)
sass (3.1.10)
simple-navigation (3.5.0)
syslogger (1.2.5)
unicorn (4.1.1)

which pulls in activesupport (3.1.1, 2.3.12)

and there the camelize method moved to:

require 'active_support/core_ext/string/inflections'