3

If gems in the :assets group are not included in the production environment (as per this article), then why is coffee-rails in the :assets group by default? Where should I put my other *-rails gems?

Community
  • 1
  • 1

1 Answers1

0

In production coffeeScripts will be precompiled, so there is no necessity to include that gem for production environment

If you want to include gems for production, you should make another group

group:production do
    gem 'mysql'
    gem 'sinatra'
end

and let bundler to install this group as mentioned here

Community
  • 1
  • 1
Sriharsha
  • 2,373
  • 1
  • 16
  • 20