aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/benchmarks/benchmark.rb2
-rwxr-xr-xactiverecord/lib/active_record.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/benchmarks/benchmark.rb b/activerecord/benchmarks/benchmark.rb
index 241d915208..de390c11b2 100644
--- a/activerecord/benchmarks/benchmark.rb
+++ b/activerecord/benchmarks/benchmark.rb
@@ -1,7 +1,7 @@
$:.unshift(File.dirname(__FILE__) + '/../lib')
if ARGV[2]
require 'rubygems'
- require_gem 'activerecord', ARGV[2]
+ gem 'activerecord', ARGV[2]
else
require 'active_record'
end
diff --git a/activerecord/lib/active_record.rb b/activerecord/lib/active_record.rb
index 4bd5b6a1af..c4a228053b 100755
--- a/activerecord/lib/active_record.rb
+++ b/activerecord/lib/active_record.rb
@@ -30,7 +30,7 @@ unless defined?(ActiveSupport)
require 'active_support'
rescue LoadError
require 'rubygems'
- require_gem 'activesupport'
+ gem 'activesupport'
end
end