rchardet wrong message?

P

Pen Ttt

in my console:
sudo gem install rchardet
[sudo] password for pt:
Successfully installed rchardet-1.3
1 gem installed
Installing ri documentation for rchardet-1.3...
Updating class cache with 2274 classes...
Installing RDoc documentation for rchardet-1.3...
pt@pt-laptop:~$ irb
irb(main):001:0> require 'rchardet'
SyntaxError:
/usr/local/ruby/lib/ruby/gems/1.9.1/gems/rchardet-1.3/lib/rchardet/chardistribution.rb:60:
syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
/usr/local/ruby/lib/ruby/gems/1.9.1/gems/rchardet-1.3/lib/rchardet/chardistribution.rb:61:
syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
/usr/local/ruby/lib/ruby/gems/1.9.1/gems/rchardet-1.3/lib/rchardet/chardistribution.rb:75:
syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
/usr/local/ruby/lib/ruby/gems/1.9.1/gems/rchardet-1.3/lib/rchardet/chardistribution.rb:84:
syntax error, unexpected keyword_end, expecting $end
from
/usr/local/ruby/lib/ruby/gems/1.9.1/gems/rchardet-1.3/lib/rchardet.rb:25:in
`require'
from
/usr/local/ruby/lib/ruby/gems/1.9.1/gems/rchardet-1.3/lib/rchardet.rb:25:in
`<top (required)>'
from (irb):1:in `require'
from (irb):1
from /usr/local/ruby/bin/irb:12:in `<main>'
what is the matter?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top