mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 09:39:23 +00:00
Adding therubyracer for production
This commit is contained in:
parent
0a68e0fa05
commit
523a207555
2 changed files with 2 additions and 1 deletions
1
Gemfile
1
Gemfile
|
|
@ -40,3 +40,4 @@ gem 'jquery-rails'
|
||||||
gem 'devise', '>= 2.0'
|
gem 'devise', '>= 2.0'
|
||||||
gem 'whenever'
|
gem 'whenever'
|
||||||
gem 'mysql2'
|
gem 'mysql2'
|
||||||
|
gem 'therubyracer'
|
||||||
|
|
@ -4,7 +4,7 @@ HabitTracker::Application.configure do
|
||||||
|
|
||||||
# TODO disable assets config.assets.initialize_on_precompile or run rake assets:precompile on prod
|
# TODO disable assets config.assets.initialize_on_precompile or run rake assets:precompile on prod
|
||||||
# Needed for devise
|
# Needed for devise
|
||||||
config.action_mailer.default_url_options = { :host => 'habits.local' }
|
config.action_mailer.default_url_options = { :host => 'habits.ocdevel.com' }
|
||||||
|
|
||||||
# Code is not reloaded between requests
|
# Code is not reloaded between requests
|
||||||
config.cache_classes = true
|
config.cache_classes = true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue