gma / nesta

File Based CMS and Static Site Generator
http://nestacms.com
MIT License
902 stars 121 forks source link

rack compatibility issue #38

Closed sjoonk closed 13 years ago

sjoonk commented 13 years ago

I installed nesta gem today. awesome improvement from previous git fork based version. Thank you.

But when i run nesta command on my commad prompt, something wrong happen. Below is the error message:

$ nesta /opt/local/lib/ruby/site_ruby/1.8/rubygems.rb:267:in `activate': can't activate rack (= 1.1.0) for [], already activated rack-1.2.1 for

How can I solve this problem??

gma commented 13 years ago

Did you try googling "can't activate rack"? There are a few pages discussing issues like this with other Ruby apps. I'm not sure off the top of my head, but I don't think it's a Nesta bug. Check which versions of the rack gem you have installed, and if you can't get it to work by installing/removing various versions (and you're doing this in development, rather than on a production server), I'd be tempted to setup rvm. It's just easier.

If none of that helps, post a message to the Nesta mailing list (nestacms.com/support) and include everything there is to know about your installed gems, your exact version of Ruby, how you installed it, and the full traceback that it prints out when it fails.

ghost commented 13 years ago

@sjoonk, this got me over the hump:

gem cleanup rack

It uninstalls old Rack versions.