Skip to content

Instantly share code, notes, and snippets.

@rubystar
Created May 29, 2012 07:32
Show Gist options
  • Save rubystar/2823122 to your computer and use it in GitHub Desktop.
Save rubystar/2823122 to your computer and use it in GitHub Desktop.
migrating to ruby 1.9.3 from 1.8.7
[root@pnwsdes053 redzone-latest-updated]# rails s
/usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/systemu-2.2.0/lib/systemu.rb:29: Use RbConfig instead of obsolete and deprecated Config.
/usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/soap4r-1.5.8/lib/xsd/charset.rb:13: warning: variable $KCODE is no longer effective
/usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/activesupport-3.0.10/lib/active_support/dependencies.rb:239:in `block in require': iconv will be deprecated in the future, use String#encode instead.
/usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/soap4r-1.5.8/lib/soap/property.rb:68: warning: encoding option is ignored - u
/usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/soap4r-1.5.8/lib/soap/property.rb:69: warning: encoding option is ignored - u
/usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/soap4r-1.5.8/lib/soap/property.rb:70: warning: encoding option is ignored - u
=> Booting WEBrick
=> Rails 3.0.10 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/soap4r-1.5.8/lib/soap/property.rb:325:in `inject': wrong number of arguments (0 for 1) (ArgumentError)
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/activesupport-3.0.10/lib/active_support/core_ext/enumerable.rb:61:in `sum'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/activesupport-3.0.10/lib/active_support/core_ext/enumerable.rb:59:in `sum'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/activerecord-3.0.10/lib/active_record/observer.rb:101:in `observed_descendants'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/activerecord-3.0.10/lib/active_record/observer.rb:95:in `initialize'
from /usr/local/rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/singleton.rb:141:in `new'
from /usr/local/rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/singleton.rb:141:in `block in instance'
from <internal:prelude>:10:in `synchronize'
from /usr/local/rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/singleton.rb:139:in `instance'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/activemodel-3.0.10/lib/active_model/observing.rb:66:in `instantiate_observer'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/activemodel-3.0.10/lib/active_model/observing.rb:39:in `block in instantiate_observers'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/activemodel-3.0.10/lib/active_model/observing.rb:39:in `each'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/activemodel-3.0.10/lib/active_model/observing.rb:39:in `instantiate_observers'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/activerecord-3.0.10/lib/active_record/railtie.rb:83:in `block (2 levels) in <class:Railtie>'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/activesupport-3.0.10/lib/active_support/lazy_load_hooks.rb:36:in `instance_eval'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/activesupport-3.0.10/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/activesupport-3.0.10/lib/active_support/lazy_load_hooks.rb:26:in `on_load'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/activerecord-3.0.10/lib/active_record/railtie.rb:82:in `block in <class:Railtie>'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/activesupport-3.0.10/lib/active_support/lazy_load_hooks.rb:34:in `call'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/activesupport-3.0.10/lib/active_support/lazy_load_hooks.rb:34:in `execute_hook'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/activesupport-3.0.10/lib/active_support/lazy_load_hooks.rb:43:in `block in run_load_hooks'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/activesupport-3.0.10/lib/active_support/lazy_load_hooks.rb:42:in `each'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/activesupport-3.0.10/lib/active_support/lazy_load_hooks.rb:42:in `run_load_hooks'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/railties-3.0.10/lib/rails/application/finisher.rb:46:in `block in <module:Finisher>'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/railties-3.0.10/lib/rails/initializable.rb:25:in `instance_exec'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/railties-3.0.10/lib/rails/initializable.rb:25:in `run'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/railties-3.0.10/lib/rails/initializable.rb:50:in `block in run_initializers'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/railties-3.0.10/lib/rails/initializable.rb:49:in `each'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/railties-3.0.10/lib/rails/initializable.rb:49:in `run_initializers'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/railties-3.0.10/lib/rails/application.rb:134:in `initialize!'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/railties-3.0.10/lib/rails/application.rb:77:in `method_missing'
from /home/local/PENNYWISE/venkatab/Desktop/work_space/redzone-latest-updated/config/environment.rb:5:in `<top (required)>'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/activesupport-3.0.10/lib/active_support/dependencies.rb:239:in `require'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/activesupport-3.0.10/lib/active_support/dependencies.rb:239:in `block in require'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/activesupport-3.0.10/lib/active_support/dependencies.rb:225:in `block in load_dependency'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/activesupport-3.0.10/lib/active_support/dependencies.rb:593:in `new_constants_in'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/activesupport-3.0.10/lib/active_support/dependencies.rb:225:in `load_dependency'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/activesupport-3.0.10/lib/active_support/dependencies.rb:239:in `require'
from /home/local/PENNYWISE/venkatab/Desktop/work_space/redzone-latest-updated/config.ru:3:in `block in <main>'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/rack-1.2.5/lib/rack/builder.rb:46:in `instance_eval'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/rack-1.2.5/lib/rack/builder.rb:46:in `initialize'
from /home/local/PENNYWISE/venkatab/Desktop/work_space/redzone-latest-updated/config.ru:1:in `new'
from /home/local/PENNYWISE/venkatab/Desktop/work_space/redzone-latest-updated/config.ru:1:in `<main>'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/rack-1.2.5/lib/rack/builder.rb:35:in `eval'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/rack-1.2.5/lib/rack/builder.rb:35:in `parse_file'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/rack-1.2.5/lib/rack/server.rb:162:in `app'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/rack-1.2.5/lib/rack/server.rb:253:in `wrapped_app'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/rack-1.2.5/lib/rack/server.rb:204:in `start'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/railties-3.0.10/lib/rails/commands/server.rb:65:in `start'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/railties-3.0.10/lib/rails/commands.rb:30:in `block in <top (required)>'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/railties-3.0.10/lib/rails/commands.rb:27:in `tap'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/railties-3.0.10/lib/rails/commands.rb:27:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment