problem with rack versions and puppet-dashboard

187 views
Skip to first unread message

Panaman

unread,
May 24, 2011, 11:40:03 AM5/24/11
to Puppet Users
I get this error
can't activate rack (~> 1.0.1), already activated rack-1.2.2

It appears that puppet-dashboard uses rack 1.0.1 but passenger 3.0.7
needs to use rack1.2.2

Is there a way around this or make dashboard use rack 1.2.2?

David Klann

unread,
May 24, 2011, 11:48:54 AM5/24/11
to pan...@gmail.com, puppet...@googlegroups.com


Don't know if it's the "supported" way to do it, but I simply removed
the "embedded" version of rack that ships with puppet-dashboard:

cd <path-to-dashboard>
git clone git://github.com/puppetlabs/puppet-dashboard.git
rm -r vendor/gems/rack-1.0.1
sed -i -e 's,~> 1.0.1,~> 1.2.2,' vendor/rails/actionpack/lib/action_controller.rb

cp <my-config-path>/config.ru .
sudo service httpd start (or however you start apache/nginx).

Is there a recommended way to resolve this conflict?

~David Klann

signature.asc

Panaman

unread,
May 25, 2011, 8:34:17 AM5/25/11
to Puppet Users
>  signature.asc
> < 1KViewDownload

Hey David, thanks, worked like a charm.
Don't know if there is a recommended way to resolve this conflict...
but your way works :-)
Reply all
Reply to author
Forward
0 new messages