Here is my Gemfile
source :rubygems
gem 'rake', '0.9.2.2'
gem 'sinatra'
gem 'activerecord', '3.0.9'
gem 'pg', '~> 0.12.2'
gem 'logger'
gem 'nokogiri'
group :development, :test do
gem 'rack-test'
gem 'ruby-debug19'
gem 'sqlite3'
end
I run rake console which works in other projects and now I get this message:
You have already activated activesupport 3.1.3, but your Gemfile requires activesupport 3.0.9. Using bundle exec may solve this.
How do I use `bundle exec to solve this? What does it mean?
You can run
bundle exec rake consolewhich means that the command (in this caserake console) will be locked to the specific gems listed in your Gemfile.