When I run bundle install in my Rails application directory, the Bundler installs gems only in the production group (e.g. heroku or pg). When I start the rail server locally, it also tries to find the activerecord-tcp adapter that has Googleβs ZERO results:
/Users/atestu/.rvm/gems/ ruby-1.9.3-p125@global /gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `require': Please install the tcp adapter: `gem install activerecord-tcp-adapter` (cannot load such file -- active_record/connection_adapters/tcp_adapter) (LoadError)
I believe this stone is related to the production environment of the hero, but my RAILS_ENV variable is empty. And I get the same problem when I install it on development or when I run rails s -e development .
How can I better understand this problem?
Edit: here is my Gemfile :
source 'http://rubygems.org' gem 'rails', '3.2.1' gem 'json' gem 'jquery-rails' gem 'authlogic' gem 'acts-as-taggable-on' gem 'rpx_now' gem 'hominid' gem 'ruby-tmdb' gem 'memcached' gem 'aws-s3' group :assets do gem 'sass-rails' gem 'coffee-rails' gem 'uglifier' end group :production do gem 'heroku' gem 'pg' end group :development, :test do gem 'sqlite3' gem 'taps' end
And here is my database.yml file:
# SQLite version 3.x
source share