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 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
@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.
-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)
@rubystar
rubystar / auditlogs with 3.2.6
Created June 19, 2012 14:38
auditlogs with 3.2.6(log/development_audit.log)
[2012-06-19 19:37:59] [arear][MOD][Campaign][4261]:{"id"=>4261, "name"=>"2/9 da", "advertiser_id"=>678, "created_at"=>Wed, 08 Feb 2012 22:04:18 CST -06:00, "updated_at"=>Wed, 14 Mar 2012 03:23:04 CDT -05:00, "start_date"=>Sat, 14 Jan 2012, "end_date"=>Sun, 13 May 2012, "media_buyer_id"=>nil, "delta"=>true, "department_id"=>8, "premium_volume"=>"premium", "order_name"=>"Areographically-29dace-2012-02", "custom_dimensions"=>"---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n name: ! 'Custom #1'\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n name: ! 'Custom #2'\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n name: ! 'Custom #3'\n", "geo_targeting_strategy"=>"dart", "slug"=>nil, "override_department_id"=>8, "hourly_rate"=>nil, "push_paymo_changes"=>false, "paymo_project_id"=>nil, "account_manager_id"=>1773, "billing_basis"=>"", "ad_server"=>""}; CHANGED: {"billing_basis"=>["Ree", ""], "name"=>["2/9 damn ", "2/9 da"], "custom_dimensions"=>["--- \n- !map:ActiveSupport::HashWithIndiff