diff options
author | Carl Lerche <carllerche@mac.com> | 2009-10-17 14:38:21 -0700 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2009-10-17 14:38:40 -0700 |
commit | d0f4d93df823d5124d8f2cc740471d458633c338 (patch) | |
tree | 3a4b0af10e769fa998131cb9a5a9b97dba03f933 /railties/lib/rails/configuration.rb | |
parent | f936a1f100e75082081e782e5cceb272885c2df7 (diff) | |
download | rails-d0f4d93df823d5124d8f2cc740471d458633c338.tar.gz rails-d0f4d93df823d5124d8f2cc740471d458633c338.tar.bz2 rails-d0f4d93df823d5124d8f2cc740471d458633c338.zip |
Remove some remnants of config.gem
Diffstat (limited to 'railties/lib/rails/configuration.rb')
-rw-r--r-- | railties/lib/rails/configuration.rb | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/railties/lib/rails/configuration.rb b/railties/lib/rails/configuration.rb index ce9c899400..1a7483c548 100644 --- a/railties/lib/rails/configuration.rb +++ b/railties/lib/rails/configuration.rb @@ -4,7 +4,7 @@ require 'rails/plugin/locator' module Rails class Configuration attr_accessor :cache_classes, :load_paths, - :load_once_paths, :gems_dependencies_loaded, :after_initialize_blocks, + :load_once_paths, :after_initialize_blocks, :frameworks, :framework_root_path, :root, :plugin_paths, :plugins, :plugin_loader, :plugin_locators, :gems, :loaded_plugins, :reload_plugins, :i18n, :gems, :whiny_nils, :consider_all_requests_local, @@ -230,25 +230,6 @@ module Rails end end - # Adds a single Gem dependency to the rails application. By default, it will require - # the library with the same name as the gem. Use :lib to specify a different name. - # - # # gem 'aws-s3', '>= 0.4.0' - # # require 'aws/s3' - # config.gem 'aws-s3', :lib => 'aws/s3', :version => '>= 0.4.0', \ - # :source => "http://code.whytheluckystiff.net" - # - # To require a library be installed, but not attempt to load it, pass :lib => false - # - # config.gem 'qrp', :version => '0.4.1', :lib => false - def gem(name, options = {}) - gems << Rails::GemDependency.new(name, options) - end - - def gems - @gems ||= [] - end - def environment_path "#{root}/config/environments/#{RAILS_ENV}.rb" end |