Jruby new app error

jruby -v
jruby 1.6.5.1 (ruby-1.9.2-p136) (2011-12-27 1bf37c2) (OpenJDK 64-Bit
Server VM 1.6.0_24) [linux-amd64-java]

jruby -S rails new prova -m http://jruby.org/rails3.rb

NoMethodError: undefined method `read_nonblock’ for
#OpenSSL::SSL::SSLSocket:0x12dc60af
rbuf_fill at
/home/mauro/jruby/lib/ruby/1.9/net/protocol.rb:135
readuntil at
/home/mauro/jruby/lib/ruby/1.9/net/protocol.rb:116
readline at
/home/mauro/jruby/lib/ruby/1.9/net/protocol.rb:126
read_status_line at
/home/mauro/jruby/lib/ruby/1.9/net/http.rb:2219
read_new at
/home/mauro/jruby/lib/ruby/1.9/net/http.rb:2208
transport_request at
/home/mauro/jruby/lib/ruby/1.9/net/http.rb:1191
request at
/home/mauro/jruby/lib/ruby/1.9/net/http.rb:1177
request at
/home/mauro/jruby/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:408
fetch_http at
/home/mauro/jruby/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:208
send at org/jruby/RubyBasicObject.java:1715
send at org/jruby/RubyKernel.java:2126
fetch_path at
/home/mauro/jruby/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:236
load_specs at
/home/mauro/jruby/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:271
load_specs at
/home/mauro/jruby/lib/ruby/site_ruby/1.8/rubygems/maven_gemify.rb:72
list at
/home/mauro/jruby/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:237
each at org/jruby/RubyArray.java:1612
list at
/home/mauro/jruby/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:233
list at
/home/mauro/jruby/lib/ruby/site_ruby/1.8/rubygems/maven_gemify.rb:63
fetch_all_remote_specs at
/home/mauro/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/source.rb:253
remote_specs at
/home/mauro/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/source.rb:234
each at org/jruby/RubyArray.java:1612
remote_specs at
/home/mauro/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/source.rb:231
fetch_specs at
/home/mauro/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/source.rb:165
specs at
/home/mauro/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/source.rb:70
index at
/home/mauro/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/definition.rb:159
each at org/jruby/RubyArray.java:1612
index at
/home/mauro/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/definition.rb:158
build at
/home/mauro/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/index.rb:7
index at
/home/mauro/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/definition.rb:157
resolve at
/home/mauro/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/definition.rb:151
specs at
/home/mauro/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/definition.rb:90
resolve_remotely! at
/home/mauro/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/definition.rb:85
run at
/home/mauro/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/installer.rb:41
install at
/home/mauro/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/installer.rb:8
install at
/home/mauro/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/cli.rb:219
send at org/jruby/RubyBasicObject.java:1688
send at org/jruby/RubyKernel.java:2114
run at
/home/mauro/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/vendor/thor/task.rb:21
invoke_task at
/home/mauro/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/vendor/thor/invocation.rb:118
dispatch at
/home/mauro/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/vendor/thor.rb:263
start at
/home/mauro/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/vendor/thor/base.rb:386
(root) at
/home/mauro/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/bundler-1.0.21/bin/bundle:13
Fetching source index for https://rubygems.org/

looks similar to http://jira.codehaus.org/browse/JRUBY-5529 (try jruby
trunk?)

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs