Skip to content

Commit

Permalink
Don't load i18n tasks in production
Browse files Browse the repository at this point in the history
This gem is used in development and test and is not required in
production. At minimum, loading it in production is a memory use issue
(however small), but it likely also adds overhead to every translation
to track used keys.

This could explain some complaints we've seen of slow view rendering on
apps that I know to have been recently generated by suspenders.
  • Loading branch information
derekprior committed Oct 20, 2015
1 parent dd4723a commit 66d048b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/Gemfile.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ gem "delayed_job_active_record"
gem "email_validator"
gem "flutie"
gem "high_voltage"
gem "i18n-tasks"
gem "jquery-rails"
gem "neat", "~> 1.7.0"
gem "newrelic_rpm", ">= 3.9.8"
Expand Down Expand Up @@ -38,6 +37,7 @@ group :development, :test do
gem "byebug"
gem "dotenv-rails"
gem "factory_girl_rails"
gem "i18n-tasks"
gem "pry-rails"
gem "rspec-rails", "~> 3.3.0"
end
Expand Down

0 comments on commit 66d048b

Please sign in to comment.