X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=config%2Fenvironment.rb;h=a6bbaf1d09dfa9f8601de313cf6bd05bbc446d0b;hb=HEAD;hp=7092a6f03898cd80cc512b249319e20e1d651992;hpb=297f2f6ef3a0555c66a01292e2fea42010eafc8a;p=tdcgexplorer%2Fnimono.git diff --git a/config/environment.rb b/config/environment.rb index 7092a6f..a6bbaf1 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -1,39 +1,5 @@ -# Be sure to restart your server when you modify this file +# Load the rails application +require File.expand_path('../application', __FILE__) -# Specifies gem version of Rails to use when vendor/rails is not present -RAILS_GEM_VERSION = '2.3.5' unless defined? RAILS_GEM_VERSION - -# Bootstrap the Rails environment, frameworks, and default configuration -require File.join(File.dirname(__FILE__), 'boot') - -Rails::Initializer.run do |config| - # Settings in config/environments/* take precedence over those specified here. - # Application configuration should go into files in config/initializers - # -- all .rb files in that directory are automatically loaded. - - # Add additional load paths for your own custom dirs - # config.load_paths += %W( #{RAILS_ROOT}/extras ) - - # Specify gems that this application depends on and have them installed with rake gems:install - config.gem "will_paginate", :lib => "will_paginate" - - # Only load the plugins named here, in the order given (default is alphabetical). - # :all can be used as a placeholder for all plugins not explicitly named - # config.plugins = [ :exception_notification, :ssl_requirement, :all ] - - # Skip frameworks you're not going to use. To use Rails without a database, - # you must remove the Active Record framework. - config.frameworks -= [ :active_resource, :action_mailer ] - - # Activate observers that should always be running - # config.active_record.observers = :cacher, :garbage_collector, :forum_observer - config.active_record.colorize_logging = false - - # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone. - # Run "rake -D time" for a list of tasks for finding time zone names. - config.time_zone = 'UTC' - - # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. - # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}')] - # config.i18n.default_locale = :de -end +# Initialize the rails application +Nimono::Application.initialize!