I was getting "can’t activate , already activated nokogiri-1.3.3" for some environments, but not others. In particular, I got it when I ran:
rake environment RAILS_ENV=test db:migrate
I’m using Suspenders, and config/test.rb and config/cucumber.rb specify version 1.3.2. Solution: Remove the version specification from these files.