title: Ruby on Rails - Bundler can not find compatible versions for gem "activerecord"
body: <p>I have Rails 2.3.8 installed for maintenance of legacy code for a client. The problem is that I cannot run bundler install because it fails after producing the following error:</p>
  
  <pre><code>Bundler could not find compatible versions for gem "activerecord":
    In Gemfile:
      rails (= 2.3.8) ruby depends on
        activerecord (= 2.3.8) ruby
  
      activerecord (2.3.11)
  </code></pre>
  
  <p>My Gmefile is</p>
  
  <pre><code>source :gemcutter
  
  # == Application Gems
  gem "rails", "2.3.8"
  gem "activesupport"
  gem "mysql", "2.8.1"
  gem "devise", "1.0.8"
  gem "inherited_resources", "1.0.6"
  gem "will_paginate", "2.3.14"
  gem "canable", "0.1.1", :require =&gt; 'canable'
  gem "aasm", "2.1.5", :require =&gt; "aasm"
  gem "fastercsv", "1.5.3", :require =&gt; 'fastercsv'
  gem "jnunemaker-validatable", :require =&gt; 'validatable'
  gem "thinking-sphinx", "1.3.18"
  gem "delayed_job", "2.1.0.pre"
  gem "ts-delayed-delta", "1.1.0", :require =&gt; "thinking_sphinx/deltas/delayed_delta"
  gem "erubis"
  gem "cloudfiles"
  gem 'hoptoad_notifier'
  gem 'aws-s3'
  gem 'json'
  gem 'cocaine'
  gem 'fog', '~&gt; 0.9.0'
  
  # requires exiftool (command line utility) to be installed!
  #  http://www.sno.phy.queensu.ca/~phil/exiftool/install.html
  gem "mini_exiftool", "2.4.2"
  gem "rack-killswitch"
  gem "carmen"
  gem "rest-client"
  
  # == Deployment Gems
  gem "capistrano"
  gem "capistrano-ext"
  
  # Visual email testing in the browser
  gem "mail_view", :group =&gt; :development
  
  # == Test Gems
  group :test do
    gem "shoulda", "2.11.1"
    gem "machinist", "1.0.3"
    gem "faker", "0.3.1"
    gem "mocha", "0.9.8"
    gem "timecop", "0.3.4"
    gem "cucumber", "0.8.5"
    gem "cucumber-rails", "0.3.2"
    gem "webrat" # needed for cucumber
    gem "database_cleaner", "0.5.0" # needed for cucumber
    gem "sinatra", "1.0"
    gem "rack-contrib"
    gem "artifice"
  end
  </code></pre>
  
  <p>I have added <code>gem "activerecord", "2.3.8"</code> with no success because it then says, bundler is locked to 2.3.11.</p>
  
  <p>Is anyone able to able.</p>