kylejginavan/youtube_it — Issue #42: Ruby 1.9 error.
Author: gregwebs
Created: 2011-12-28 22:42:30+00:00
State: open

I am actually running this under JRuby, but I think you would get the same result in normal Ruby. It would be good to move this library to Nokogiri. I am lazy and just working around with `jruby --1.8`

```
REXML::ParseException: #
org/jruby/RubyRegexp.java:1414:in `=~'
org/jruby/RubyString.java:1588:in `=~'
/home/gweber/.rvm/rubies/jruby-1.6.4/lib/ruby/1.9/rexml/text.rb:131:in `check'
/home/gweber/.rvm/rubies/jruby-1.6.4/lib/ruby/1.9/rexml/text.rb:119:in `initialize'
/home/gweber/.rvm/rubies/jruby-1.6.4/lib/ruby/1.9/rexml/parsers/treeparser.rb:47:in `parse'
/home/gweber/.rvm/rubies/jruby-1.6.4/lib/ruby/1.9/rexml/document.rb:230:in `build'
/home/gweber/.rvm/rubies/jruby-1.6.4/lib/ruby/1.9/rexml/document.rb:43:in `initialize'
/home/gweber/.rvm/gems/jruby-1.6.4/gems/youtube_it-2.1.1/lib/youtube_it/parser.rb:78:in `parse_content'
/home/gweber/.rvm/gems/jruby-1.6.4/gems/youtube_it-2.1.1/lib/youtube_it/parser.rb:15:in `parse'
/home/gweber/.rvm/gems/jruby-1.6.4/gems/youtube_it-2.1.1/lib/youtube_it/request/video_upload.rb:226:in `playlists'
/home/gweber/.rvm/gems/jruby-1.6.4/gems/youtube_it-2.1.1/lib/youtube_it/client.rb:158:in `playlists'
```