I have a rails 2.3.9 app that uses a gem and works perfectly fine when I run it locally. But when I try to push my app to heroku it breaks saying that the gem activated activesupport 3.0.3, and that my heroku app can't run activesupport 2.3.9 because 3.0.3 is already activated... I've uninstalled activesupport 3.0.3 locally, and re-installed the gem locally but still doesn't work in heroku.
- Was activesupport3.0.3 really uninstalled (sudo gem uninstall activesupport -v 3.0.3)?
- Why does the gem work in my local environment and not heroku?
- When pushing to heroku (git push heroku master) and it reads the .gem file, why is it that when it starts installing the gem, it still continues to install activesupport 3.0.3 on heroku??
my heroku logs:
==> dyno-3352306.log (crash) <== /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems.rb:233:in `activate': can't activate activesupport (= 2.3.9, runtime) for ["rails-2.3.9"], already activated activesupport-3.0.3 for ["THISGEM-1.2.3"] (Gem::LoadError)
can someone give me some guidance?? Your help is mucho appreciated!
.gems
rails --version 2.3.9
will_pagnate --version x.x.x
THISGEMTHATDEPENDSONACTIVESUPPORT&HPRICOT--version 1.2.3 --ignore-dependencies
hpricot --version x.x.x