diff options
author | Kuldeep Aggarwal <kd.engineer@yahoo.co.in> | 2015-01-10 20:27:18 +0530 |
---|---|---|
committer | Kuldeep Aggarwal <kd.engineer@yahoo.co.in> | 2015-01-10 20:27:18 +0530 |
commit | 90aef23e38204d8f730666a62e5fbe326e6c12e3 (patch) | |
tree | d8bb760d988602d07f06605214d4fa046bf6262d /railties/lib | |
parent | 89470bbc5ea4e1375dc948b0629a419c1ad5c4f5 (diff) | |
download | rails-90aef23e38204d8f730666a62e5fbe326e6c12e3.tar.gz rails-90aef23e38204d8f730666a62e5fbe326e6c12e3.tar.bz2 rails-90aef23e38204d8f730666a62e5fbe326e6c12e3.zip |
No need of requiring `rbconfig`, it is by-default loaded
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/commands/dbconsole.rb | 1 | ||||
-rw-r--r-- | railties/lib/rails/commands/runner.rb | 1 | ||||
-rw-r--r-- | railties/lib/rails/generators/actions.rb | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/railties/lib/rails/commands/dbconsole.rb b/railties/lib/rails/commands/dbconsole.rb index 0d8b3de0eb..63bf8b11ba 100644 --- a/railties/lib/rails/commands/dbconsole.rb +++ b/railties/lib/rails/commands/dbconsole.rb @@ -1,7 +1,6 @@ require 'erb' require 'yaml' require 'optparse' -require 'rbconfig' module Rails class DBConsole diff --git a/railties/lib/rails/commands/runner.rb b/railties/lib/rails/commands/runner.rb index 3a71f8d3f8..86bce9b2fe 100644 --- a/railties/lib/rails/commands/runner.rb +++ b/railties/lib/rails/commands/runner.rb @@ -1,5 +1,4 @@ require 'optparse' -require 'rbconfig' options = { environment: (ENV['RAILS_ENV'] || ENV['RACK_ENV'] || "development").dup } code_or_file = nil diff --git a/railties/lib/rails/generators/actions.rb b/railties/lib/rails/generators/actions.rb index 5373121835..e35015f630 100644 --- a/railties/lib/rails/generators/actions.rb +++ b/railties/lib/rails/generators/actions.rb @@ -1,5 +1,4 @@ require 'open-uri' -require 'rbconfig' module Rails module Generators |