Commit 0d025ff36f9433217223d6fff1509765dfb4fd4e
- Diff rendering mode:
- inline
- side by side
config/environment.rb
(3 / 0)
|   | |||
| 11 | 11 | require File.join(File.dirname(__FILE__), 'boot') | |
| 12 | 12 | ||
| 13 | 13 | Rails::Initializer.run do |config| | |
| 14 | gitorious_yaml = YAML.load_file(File.join(RAILS_ROOT, "config/gitorious.yml"))[RAILS_ENV] | ||
| 15 | raise "Your config/gitorious.yml does not have an entry for your current Rails environment. Please consult config/gitorious.sample.yml for instructions." unless gitorious_yaml | ||
| 16 | |||
| 14 | 17 | # Settings in config/environments/* take precedence over those specified here. | |
| 15 | 18 | # Application configuration should go into files in config/initializers | |
| 16 | 19 | # -- all .rb files in that directory are automatically loaded. |

