Sorry, I'm new in Ruby on Rails and I'm following a tutorial, but I'm getting troubles trying to push the database to heroku. I already installed postgresql in my Linux, tryed a lot of tutorials.
When I enter heroku rake db:migrate
, I get this error message :
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these >plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or >fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the >release notes for more on this: http://weblog.rubyonrails.org/2012/01/04/rails-3-2-0-rc2->has-been-released. (called from at /app/Rakefile:7) rake aborted! Please install the postgresql adapter:
gem install activerecord-postgresql-adapter
(pg is >not part of the bundle. Add it to Gemfile.)Tasks: TOP => db:migrate => db:load_config (See full trace by running task with --trace)
My Gemfile is this:
source 'https://rubygems.org'
gem 'rails', '3.2.2'
gem 'sqlite3'
group :production do
gem 'pg'
end
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
gem 'uglifier', '>= 1.0.3'
end
gem 'jquery-rails'