Skip to content

Commit

Permalink
No need of requiring rbconfig, it is by-default loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
kuldeepaggarwal committed Jan 10, 2015
1 parent 89470bb commit 90aef23
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion actionpack/test/dispatch/static_test.rb
@@ -1,6 +1,5 @@
# encoding: utf-8
require 'abstract_unit'
require 'rbconfig'
require 'zlib'

module StaticTests
Expand Down
1 change: 0 additions & 1 deletion actionview/test/actionpack/controller/layout_test.rb
@@ -1,5 +1,4 @@
require 'abstract_unit'
require 'rbconfig'
require 'active_support/core_ext/array/extract_options'

# The view_paths array must be set on Base and not LayoutTest so that LayoutTest's inherited
Expand Down
@@ -1,4 +1,3 @@
require 'rbconfig'
require 'tempfile'

module Kernel
Expand Down
2 changes: 0 additions & 2 deletions activesupport/lib/active_support/testing/isolation.rb
@@ -1,5 +1,3 @@
require 'rbconfig'

module ActiveSupport
module Testing
module Isolation
Expand Down
1 change: 0 additions & 1 deletion railties/lib/rails/commands/dbconsole.rb
@@ -1,7 +1,6 @@
require 'erb'
require 'yaml'
require 'optparse'
require 'rbconfig'

module Rails
class DBConsole
Expand Down
1 change: 0 additions & 1 deletion 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
Expand Down
1 change: 0 additions & 1 deletion railties/lib/rails/generators/actions.rb
@@ -1,5 +1,4 @@
require 'open-uri'
require 'rbconfig'

module Rails
module Generators
Expand Down

0 comments on commit 90aef23

Please sign in to comment.