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

2011-05-24 Thread Panaman
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?

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



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

2011-05-24 Thread David Klann
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
Description: PGP signature