rails/rails — Issue #3471: ActiveSupport 3.0.10 Doesn't Load Under Ruby 1.9.3
Author: JEG2
Created: 2011-10-30 18:41:24+00:00
State: open

Here's what I get when I just try to require it:

$ ruby -ve 'require "active_support/all"'
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin10.8.0]
/Users/james/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.0.10/lib/active_support/core_ext/big_decimal/conversions.rb:14:in `': yaml_as is deprecated, please use yaml_tag
/Users/james/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36: warning: loading in progress, circular require considered harmful - /Users/james/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.0.10/lib/active_support/core_ext/module/deprecation.rb
from -e:1:in `

'
from /Users/james/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
from /Users/james/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in `rescue in require'
from /Users/james/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in `require'
from /Users/james/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.0.10/lib/active_support/all.rb:3:in `'
from /Users/james/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/james/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/james/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.0.10/lib/active_support/core_ext.rb:1:in `'
from /Users/james/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.0.10/lib/active_support/core_ext.rb:1:in `each'
from /Users/james/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.0.10/lib/active_support/core_ext.rb:2:in `block in '
from /Users/james/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/james/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/james/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.0.10/lib/active_support/core_ext/module.rb:10:in `'
from /Users/james/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/james/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/james/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.0.10/lib/active_support/core_ext/module/deprecation.rb:1:in `'
from /Users/james/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/james/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/james/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.0.10/lib/active_support/deprecation.rb:3:in `'
from /Users/james/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/james/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/james/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.0.10/lib/active_support/deprecation/method_wrappers.rb:1:in `'
from /Users/james/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/james/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'

I saw a different issue when Guard tried to run my tests in a Rails 3.0.10 project:

$ guard
Please install growl_notify or growl gem for Mac OS X notification support and add it to your Gemfile
Guard is now watching at '/Users/james/Documents/subinterest'
Bundle already up-to-date
Starting Redis
Redis is running with PID 47636
Starting a Resque worker
Guard::Test 0.4.0 is running, with Test::Unit 2.4.0!
Running all tests
/Users/james/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.0.10/lib/active_support/dependencies.rb:235:in `load': test/functional/subscriptions_controller_test.rb:19: syntax error, unexpected keyword_end (SyntaxError)
test/functional/subscriptions_controller_test.rb:139: syntax error, unexpected keyword_do_block, expecting keyword_end
test/functional/subscriptions_controller_test.rb:150: syntax error, unexpected keyword_do_block, expecting keyword_end
from /Users/james/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.0.10/lib/active_support/dependencies.rb:235:in `block in load'
from /Users/james/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.0.10/lib/active_support/dependencies.rb:227:in `load_dependency'
from /Users/james/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.0.10/lib/active_support/dependencies.rb:235:in `load'
from -e:1:in `block in

'
from -e:1:in `each'
from -e:1:in `

'