@@ -0,0 +1,13 | |||
|
1 | # Copy this file to additional_environment.rb and add any statements | |
|
2 | # that need to be passed to the Rails::Initializer. `config` is | |
|
3 | # available in this context. | |
|
4 | # | |
|
5 | # Example: | |
|
6 | # | |
|
7 | # config.log_level = :debug | |
|
8 | # config.gem "example_plugin", :lib => false | |
|
9 | # config.gem "timesheet_plugin", :lib => false, :version => '0.5.0' | |
|
10 | # config.gem "aws-s3", :lib => "aws/s3" | |
|
11 | # ... | |
|
12 | # | |
|
13 |
@@ -1,3 +1,4 | |||
|
1 | /config/additional_environment.rb | |
|
1 | 2 | /config/database.yml |
|
2 | 3 | /config/email.yml |
|
3 | 4 | /config/initializers/session_store.rb |
@@ -49,4 +49,10 Rails::Initializer.run do |config| | |||
|
49 | 49 | # Define your email configuration in email.yml instead. |
|
50 | 50 | # It will automatically turn deliveries on |
|
51 | 51 | config.action_mailer.perform_deliveries = false |
|
52 | ||
|
53 | # Load any local configuration that is kept out of source control | |
|
54 | # (e.g. gems, patches). | |
|
55 | if File.exists?(File.join(File.dirname(__FILE__), 'additional_environment.rb')) | |
|
56 | instance_eval File.read(File.join(File.dirname(__FILE__), 'additional_environment.rb')) | |
|
57 | end | |
|
52 | 58 | end |
General Comments 0
You need to be logged in to leave comments.
Login now