[Puppet Users] Re: problem with rack versions and puppet-dashboard

Panaman
Wed, 25 May 2011 12:34:17 -0000

On May 24, 11:48 am, David Klann <kl...@wins.net>
wrote:
> On Tue, 24 May 2011 10:40:03 -0500, you said:
>
> > 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?
>
> 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
> < 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 :-)

--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at