14
I have these groups in my Gemfile:
group :development, :test do
gem 'sqlite3'
end
group :production do
gem 'mysql'
end
The development machine does not have MySQL installed, which is why I have only listed MySQL in the production group. But when I try to run Rails on the development machine I get this:
$> RAILS_ENV=development ./script/rails
Could not find gem 'mysql (>= 0, runtime)' in any of the gem sources listed in your Gemfile.
Obviously I could fix this by installing MySQL, but I would like to know the correct solution instead of installing unneeded software.