Skip to content
Browse files

Work around strange Ruby 1.9 autoload issue by using absolute load pa…

…ths for tests (for Active Model too)
  • Loading branch information...
1 parent a9032c8 commit aa449141b427bc5cc32650d6f5c9813e71b7d237 @jeremy jeremy committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 activemodel/test/test_helper.rb
2 activemodel/test/test_helper.rb
@@ -7,7 +7,7 @@
require 'active_model'
require 'active_model/state_machine'
-$:.unshift File.dirname(__FILE__) + "/../../activesupport/lib"
+$:.unshift File.expand_path('../../../activesupport/lib', __FILE__)
require 'active_support'
require 'active_support/test_case'

0 comments on commit aa44914

Please sign in to comment.
Something went wrong with that request. Please try again.