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?
Asked
Active
Viewed 242 times
3

Community
- 1
- 1

Ryan Scott Lewis
- 33
- 3
1 Answers
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
-
4How about the jquery-rails (this is asked in title but not in body) – lulalala Jun 18 '12 at 10:34