chaitanyabm / gdata-ruby-util

Automatically exported from code.google.com/p/gdata-ruby-util
Apache License 2.0
0 stars 0 forks source link

Does not support Ruby 1.9 #24

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Write hello world app
2.Run in Ruby 1.9

What is the expected output? What do you see instead?

Below is the error:

~/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.r
b:36:in `require': cannot load such file -- jcode (LoadError)

What version of the product are you using? On what operating system?

Latest gem, Ruby 1.9

Please provide any additional information below.

Root cause is the include of jcode in lib/gdata.rb. This line:

  require 'jcode'

should become:

  require 'jcode' if RUBY_VERSION < '1.9'

Original issue reported on code.google.com by joe.kins...@gmail.com on 12 Dec 2012 at 6:25