Skip to content

Instantly share code, notes, and snippets.

View rubystar's full-sized avatar

Venkata Reddy Bhavanam rubystar

View GitHub Profile
@rubystar
rubystar / error in installing libxml-ruby gem
Created May 25, 2012 11:36
migrating to ruby 1.9.3 from 1.8.7
-sh-4.2$ bundle install
Fetching gem metadata from http://rubygems.org/.....
Fetching gem metadata from http://rubygems.org/..
Fetching git://github.com/ctran/annotate_models.git
remote: Counting objects: 890, done.
remote: Compressing objects: 100% (476/476), done.
remote: Total 890 (delta 414), reused 820 (delta 356)
Receiving objects: 100% (890/890), 189.25 KiB | 114 KiB/s, done.
Resolving deltas: 100% (414/414), done.
Fetching git://github.com/ryanb/nested_form.git
@rubystar
rubystar / Delayed Job issues
Created May 28, 2012 10:49
migrating to ruby 1.9.3 from 1.8.7
-sh-4.2$ rails s
/usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/delayed_job-2.1.3/lib/delayed/yaml_ext.rb:30:in `remove_method': method `to_yaml' not defined in Class (NameError)
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/delayed_job-2.1.3/lib/delayed/yaml_ext.rb:30:in `<class:Class>'
from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/delayed_job-2.1.3/lib/delayed/yaml_ext.rb:28: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.
@rubystar
rubystar / error in adwords4r gem
Created May 28, 2012 10:59
migrating to ruby 1.9.3 from 1.8.7
-sh-4.2$ 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/xsd/xmlparser.rb:74:in `<top (required)>': XML processor module not found. (RuntimeError)
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 lo
-sh-4.2$ 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
-sh-4.2$ 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
@rubystar
rubystar / error in installing soap4r gem
Created May 29, 2012 07:32
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
@rubystar
rubystar / spec status with 187
Created May 30, 2012 06:49
migrating to ruby 1.9.3 from 1.8.7
...........................................................F......................................FF..*.............................................................................................................F.......................................................................................F.............................................................................................FFF...................................................................................................................................................................................................F..F...........................FF.F....F.............................................................................................................................F..FFFFFFFFFF...........................................................................................................................................................................................F......................FFFFF.......................................
@rubystar
rubystar / error while running the specs with 1.9.3
Created May 30, 2012 07:05
migrating to ruby 1.9.3 from 1.8.7
-sh-4.2$ bundle exec rspec spec/ > /home/local/PENNYWISE/venkatab/Desktop/specs_193.txt
/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
DEPRECATION WARNING: Base#before_validation has been deprecated, please use Base.before_validatio
@rubystar
rubystar / deprecation warnings
Created June 4, 2012 06:56
upgrading to 1.9.3
sh-4.2$ bundle exec cucumber > /home/local/PENNYWISE/venkatab/Desktop/cucumber_tests.txt
/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/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.
NOTE: Gem.latest_load_paths is deprecated with no replacement. It will be removed on or after 2011-10-01.
Gem.latest_load_paths called from /usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/spork-0.8.5/lib/spork.rb:112.
NOTE: Gem.all_partials is deprecated with no replacement. It will be removed on or after 2011-10-01.
Gem.all_partials called from /usr/local/rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems.rb:603.
NOTE: Gem.all_partials is deprecated with no replacement. It will be removed on or after 2011-10-01.
Gem.all_partials called from /usr/local/rvm/rubies/ruby-1.9.3-p0/lib/ruby/si
@rubystar
rubystar / upagrading rails to 3.2.6
Created June 18, 2012 07:26
problem with validation_reflection gem
-sh-4.2$ rails s
/usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `block in require': iconv will be deprecated in the future, use String#encode instead.
=> Booting Thin
=> Rails 3.2.6 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
/usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/actionpack-3.2.6/lib/action_dispatch/http/mime_type.rb:102: warning: already initialized constant PDF
Resolved collector.newrelic.com to 204.93.223.153
Exiting
/usr/local/rvm/gems/ruby-1.9.3-p0@redzone/gems/activerecord-3.2.6/lib/active_record/dynamic_matchers.rb:50:in `method_missing': undefined method `versioned' for #<Class:0x00000005d4c510> (NoMethodError)