/usr/local/rvm/gems/ruby-1.9.3-p484/gems/activesupport-4.1.0.beta1/lib/active_support/number_helper.rb:3:in `<module:NumberHelper>': uninitialized constant ActiveSupport::Autoload (NameError)
Closed this issue · 6 comments
redmon -h
/usr/local/rvm/gems/ruby-1.9.3-p484/gems/activesupport-4.1.0.beta1/lib/active_support/number_helper.rb:3:in <module:NumberHelper>': uninitialized constant ActiveSupport::Autoload (NameError) from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/activesupport-4.1.0.beta1/lib/active_support/number_helper.rb:2:in
module:ActiveSupport'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/activesupport-4.1.0.beta1/lib/active_support/number_helper.rb:1:in <top (required)>' from /usr/local/rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in
require'
from /usr/local/rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in require' from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/activesupport-4.1.0.beta1/lib/active_support/core_ext/numeric/conversions.rb:2:in
<top (required)>'
from /usr/local/rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in require' from /usr/local/rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in
require'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/activesupport-4.1.0.beta1/lib/active_support/core_ext/numeric.rb:3:in <top (required)>' from /usr/local/rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in
require'
from /usr/local/rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in require' from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/activesupport-4.1.0.beta1/lib/active_support/core_ext.rb:2:in
block in <top (required)>'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/activesupport-4.1.0.beta1/lib/active_support/core_ext.rb:1:in each' from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/activesupport-4.1.0.beta1/lib/active_support/core_ext.rb:1:in
<top (required)>'
from /usr/local/rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:126:in require' from /usr/local/rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:126:in
require'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/redmon-0.0.8/lib/redmon.rb:2:in <top (required)>' from /usr/local/rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:73:in
require'
from /usr/local/rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:73:in require' from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/redmon-0.0.8/bin/redmon:5:in
<top (required)>'
from /usr/local/rvm/gems/ruby-1.9.3-p484/bin/redmon:23:in load' from /usr/local/rvm/gems/ruby-1.9.3-p484/bin/redmon:23:in
from /usr/local/rvm/gems/ruby-1.9.3-p484/bin/ruby_executable_hooks:15:in
eval' from /usr/local/rvm/gems/ruby-1.9.3-p484/bin/ruby_executable_hooks:15:in
'
What is problem.. >..<
My environment
ruby -v
ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]
gem -v
2.2.2
rails -v
Rails 4.0.2
and CentOS release 6.2 (Final)
I have this problem too with:
- CentOS release 6.5
- ruby 2.1.0 and rvm
is the output:
Using /usr/local/rvm/gems/ruby-2.1.0
/usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.1.0.rc1/lib/active_support/number_helper.rb:3:in `<module:NumberHelper>': uninitialized constant ActiveSupport::Autoload (NameError)
from /usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.1.0.rc1/lib/active_support/number_helper.rb:2:in `<module:ActiveSupport>'
from /usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.1.0.rc1/lib/active_support/number_helper.rb:1:in `<top (required)>'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.1.0.rc1/lib/active_support/core_ext/numeric/conversions.rb:2:in `<top (required)>'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.1.0.rc1/lib/active_support/core_ext/numeric.rb:3:in `<top (required)>'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.1.0.rc1/lib/active_support/core_ext.rb:2:in `block in <top (required)>'
from /usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.1.0.rc1/lib/active_support/core_ext.rb:1:in `each'
from /usr/local/rvm/gems/ruby-2.1.0/gems/activesupport-4.1.0.rc1/lib/active_support/core_ext.rb:1:in `<top (required)>'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/local/rvm/gems/ruby-2.1.0/gems/redmon-0.0.8/lib/redmon.rb:2:in `<top (required)>'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/local/rvm/gems/ruby-2.1.0/gems/redmon-0.0.8/bin/redmon:5:in `<top (required)>'
from /usr/local/rvm/gems/ruby-2.1.0/bin/redmon:23:in `load'
from /usr/local/rvm/gems/ruby-2.1.0/bin/redmon:23:in `<main>'
from /usr/local/rvm/gems/ruby-2.1.0/bin/ruby_executable_hooks:15:in `eval'
from /usr/local/rvm/gems/ruby-2.1.0/bin/ruby_executable_hooks:15:in `<main>'
fixed adding
require 'active_support'
require 'active_support/deprecation'
before
require 'active_support/core_ext'
in lib/redmon.rb
right on. can you shoot me a PR for this? No worries if not.
PR ? I found that problem in nulldb/nulldb#38 , and there was a solution that worked for me
PR = Pull Request.
fixed in #68