Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal Installation Issues: uninitialized constant ActiveSupport::Autoload (NameError) #5

Open
moortimis opened this issue Aug 20, 2015 · 1 comment

Comments

@moortimis
Copy link

Hi there, I've followed the instructions on your page and cloned and bundled your gem for the following environment.

Runtime: ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]

However when calling it from a simple script, I get the included core dump. Not sure if this is a local environmental issue or something bigger.

require 'indicators'
my_data.calc(:type => :macd, :params => [12, 26, 9])
puts my_data

/usr/local/share/gems/gems/activesupport-4.2.3/lib/active_support/number_helper.rb:3:in <module:NumberHelper>': uninitialized constant ActiveSupport::Autoload (NameError) from /usr/local/share/gems/gems/activesupport-4.2.3/lib/active_support/number_helper.rb:2:inmodule:ActiveSupport'
from /usr/local/share/gems/gems/activesupport-4.2.3/lib/active_support/number_helper.rb:1:in <top (required)>' from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:69:inrequire'
from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:69:in require' from /usr/local/share/gems/gems/activesupport-4.2.3/lib/active_support/core_ext/numeric/conversions.rb:2:in<top (required)>'
from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:69:in require' from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:69:inrequire'
from /usr/local/share/gems/gems/activesupport-4.2.3/lib/active_support/core_ext/numeric.rb:3:in <top (required)>' from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:121:inrequire'
from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:121:in require' from /usr/local/share/gems/gems/activesupport-4.2.3/lib/active_support/core_ext.rb:2:inblock in <top (required)>'
from /usr/local/share/gems/gems/activesupport-4.2.3/lib/active_support/core_ext.rb:1:in each' from /usr/local/share/gems/gems/activesupport-4.2.3/lib/active_support/core_ext.rb:1:in<top (required)>'
from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:69:in require' from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:69:inrequire'
from /home/tmoor/.gem/ruby/gems/securities-2.0.1/lib/securities/scraper.rb:1:in <top (required)>' from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:69:inrequire'
from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:69:in require' from /home/tmoor/.gem/ruby/gems/securities-2.0.1/lib/securities.rb:2:in<top (required)>'
from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:128:in require' from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:128:inrescue in require'
from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:39:in require' from /home/tmoor/.gem/ruby/gems/indicators-1.0.3/lib/indicators.rb:2:in<top (required)>'
from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:128:in require' from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:128:inrescue in require'
from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:39:in require' from macd_indicator.rb:4:in

'

@shogochiai
Copy link

If you put require 'active_support' to lib/indicators.rb, you can pass this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants