Reputation: 43
I've read every post I can find about this but nothing is working. I'm running a Rails 2.3.4 app and I'm trying to get bundler working so I can use Heroku as my staging server. I've installed bundler, edited the necessary files, and created the gemfile. When I run bundle install I get:
Could not find gem 'activesupport (= 2.3.4, = 3.0.5, runtime)' in any of the gem sources listed in your Gemfile.
Here is my gemfile:
source :rubygems
source :rubyforge
gem 'abstract'
gem 'actionmailer'
gem 'actionpack'
gem 'activemodel'
gem 'activerecord'
gem 'activeresource'
gem 'activesupport', '2.3.4', '3.0.5'
gem 'haml'
gem 'mail'
gem 'mime-types'
gem 'mongrel'
gem 'rails', '2.3.4'
gem 'rake'
gem 'savon', '0.7.9'
gem 'spreadsheet'
gem 'sqlite3'
gem 'sqlite3-ruby'
gem 'prawn'
gem 'mysql'
gem 'vlad'
gem 'vlad-git'
I've tried multiple sources and nothing works. I'm running ruby 1.8.7 with rvm.
Any ideas?
Upvotes: 0
Views: 4155
Reputation: 1
Try bundle install, it worked for me. The error I got was:
Could not find activesupport-3.0.3 in any of the sources
Upvotes: 0
Reputation:
Change
gem 'activesupport', '2.3.4', '3.0.5'
To
gem 'activesupport', '2.3.4'
or just remove it all together, you're specifying gem 'rails', '2.3.4'
and bundler will figure out how to get the correct version of activesupport for you as a dependency.
Upvotes: 2