Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jruby 1.6.7 with $KCODE='u' #74

Open
jiangjianxiao opened this issue Mar 16, 2012 · 2 comments
Open

jruby 1.6.7 with $KCODE='u' #74

jiangjianxiao opened this issue Mar 16, 2012 · 2 comments

Comments

@jiangjianxiao
Copy link

$KCODE='u'
require 'rubygems'
require 'em-websocket'

SyntaxError: (RegexpError) 134217727: /\A\x00[^\xff]*\xff/
  require at org/jruby/RubyKernel.java:1033
  require at c:/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36
   (root) at c:/jruby/lib/ruby/gems/1.8/gems/em-websocket-0.3.6/lib/../lib/em-websocket/framing76.rb
:14
     each at org/jruby/RubyArray.java:1615
   (root) at c:/jruby/lib/ruby/gems/1.8/gems/em-websocket-0.3.6/lib/em-websocket.rb:6
  require at org/jruby/RubyKernel.java:1033
  require at c:/jruby/lib/ruby/gems/1.8/gems/em-websocket-0.3.6/lib/em-websocket.rb:59
   (root) at em_websocket_test.rb:3

@igrigorik
Copy link
Owner

@mloughran have you ever tried em-websocket on JRuby?

JRuby was never a hard requirement for em-websocket, but if we can make it work.. that'd be great!

@mloughran
Copy link
Collaborator

I haven't I'm afraid, but agree it would be great to support. Unfortunately I haven't got any time to take this on myself right now...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants