Rakefile in hobo_support-1.4.0.pre7 vs Rakefile in hobo_support-1.4.0.pre8
- old
+ new
@@ -2,10 +2,10 @@
ActiveRecord::ActiveRecordError # hack for https://rails.lighthouseapp.com/projects/8994/tickets/2577-when-using-activerecordassociations-outside-of-rails-a-nameerror-is-thrown
$:.unshift File.expand_path( '../lib', __FILE__)
require 'hobo_support'
-RUBY = File.join(Config::CONFIG['bindir'], Config::CONFIG['ruby_install_name']).sub(/.*\s.*/m, '"\&"')
+RUBY = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name']).sub(/.*\s.*/m, '"\&"')
RUBYDOCTEST = ENV['RUBYDOCTEST'] || "#{RUBY} -S rubydoctest"
namespace "test" do
desc "Run the doctests"
task :doctest do |t|