Mauro created JRUBY-6368:
----------------------------
Summary: undefined method `read_nonblock' on jruby new app
Key: JRUBY-6368
URL: https://jira.codehaus.org/browse/JRUBY-6368
Project: JRuby
Issue Type: Bug
Environment: 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]
Reporter: Mauro
Assignee: Thomas E Enebo
Priority: Critical
When I create a new app with:
jruby -S rails new prova -m http://jruby.org/rails3.rb
I have the error:
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/
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email