Project

General

Profile

Actions

Bug #5659

closed

bug releasing a gem created with rails 3.1

Added by viniciusgati (Vinicius Gati) over 12 years ago. Updated over 6 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
1.9.3-head
Backport:
[ruby-core:41200]

Description

I made a rails engine using rails 3.1

the steps i follow was :

i created the engine with rails new plugin test_rb_bug

then i updated the gemspec

then i created a git repo and pushed: https://github.com/viniciusgati/test_rb_bug

after that i do a rake release and got the error: https://gist.github.com/1383444 obs: this gist contains the machos crash report to

the gist is the error for the first gem when i found the error.

and i reproduced the same now with a fresh engine...

system: MacOS lion
rails: 3.1.3
ruby: 1.9.3-head
rvm: 1.8.6
rubygems 1.8.10

Updated by luislavena (Luis Lavena) over 12 years ago

From what it appears to be, SSL was involved in the crash.

Can you reproduce this against releases 1.9.3-p0?

Can you verify against which version of OpenSSL your Ruby installation linked against? If was 0.9.8 please try installing OpenSSL 1.0.0 and rebuild your Ruby to link against it.

Updated by luislavena (Luis Lavena) over 12 years ago

  • Status changed from Open to Feedback

Updated by viniciusgati (Vinicius Gati) over 12 years ago

I updated the gist with the 1.9.3-p0 log error

$ openssl version
OpenSSL 1.0.0e 6 Sep 2011

Luis Lavena wrote:

From what it appears to be, SSL was involved in the crash.

Can you reproduce this against releases 1.9.3-p0?

Can you verify against which version of OpenSSL your Ruby installation linked against? If was 0.9.8 please try installing OpenSSL 1.0.0 and rebuild your Ruby to link against it.

Updated by viniciusgati (Vinicius Gati) over 12 years ago

I paste the 1.9.3-p0 bug in another gist

https://gist.github.com/1406528

Updated by luislavena (Luis Lavena) over 12 years ago

Vinicius Gati wrote:

I updated the gist with the 1.9.3-p0 log error

$ openssl version
OpenSSL 1.0.0e 6 Sep 2011

:connect errors can be caused by OpenSSL.

Having that version of OpenSSL in your system, are you sure is the same Ruby is built against?

Please do:

$ ruby -v -ropenssl -e "puts OpenSSL::OPENSSL_VERSION"

Just to be sure.

I don't see in the output you provided "Pushing gem..." legend. Are you sure the gem is being pushed to rubygems.org and no RUBYGEMS_HOST environment variable is being set?

Updated by viniciusgati (Vinicius Gati) over 12 years ago

$ ruby -v -ropenssl -e "puts OpenSSL::OPENSSL_VERSION"
ruby 1.9.3dev (2011-10-11 revision 33457) [x86_64-darwin11.2.0]
OpenSSL 1.0.0e 6 Sep

ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0]
OpenSSL 1.0.0e 6 Sep 2011

Updated by viniciusgati (Vinicius Gati) over 12 years ago

[viniciusgati] ~/Code/ruby/testes
$ cd test_rb_bug/

[viniciusgati] ~/Code/ruby/testes/test_rb_bug (master)
$ rvm use 1.9.2
Using /Users/viniciusgati/.rvm/gems/ruby-1.9.2-p290

[viniciusgati] ~/Code/ruby/testes/test_rb_bug (master)
$ rvm list

rvm rubies

=> ruby-1.9.2-p290 [ i386 ]
ruby-1.9.3-head [ x86_64 ]
ruby-1.9.3-p0 [ x86_64 ]

[viniciusgati] ~/Code/ruby/testes/test_rb_bug (master)
$ rake release
Could not find activesupport-3.1.3 in any of the sources
Run bundle install to install missing gems.

[viniciusgati] ~/Code/ruby/testes/test_rb_bug (master)
$ bundle
Fetching source index for http://rubygems.org/
Using rake (0.9.2.2)
Using multi_json (1.0.3)
Installing activesupport (3.1.3)
Using builder (3.0.0)
Using i18n (0.6.0)
Installing activemodel (3.1.3)
Using erubis (2.7.0)
Using rack (1.3.5)
Using rack-cache (1.1)
Using rack-mount (0.8.3)
Using rack-test (0.6.1)
Using hike (1.2.1)
Using tilt (1.3.3)
Using sprockets (2.0.3)
Installing actionpack (3.1.3)
Using mime-types (1.17.2)
Using polyglot (0.3.3)
Using treetop (1.4.10)
Using mail (2.3.0)
Installing actionmailer (3.1.3)
Using arel (2.2.1)
Using tzinfo (0.3.31)
Installing activerecord (3.1.3)
Installing activeresource (3.1.3)
Using bundler (1.0.21)
Using rack-ssl (1.3.2)
Using json (1.6.1)
Using rdoc (3.11)
Using thor (0.14.6)
Installing railties (3.1.3)
Using jquery-rails (1.0.18)
Installing rails (3.1.3)
Using sqlite3 (1.3.4)
Using test_rb_bug (0.0.1) from source at .
Your bundle is complete! Use bundle show [gemname] to see where a bundled gem is installed.

[viniciusgati] ~/Code/ruby/testes/test_rb_bug (master)
$ rake release
test_rb_bug 0.0.1 built to pkg/test_rb_bug-0.0.1.gem
Tagged v0.0.1
Pushed git commits and tags
Pushed test_rb_bug 0.0.1 to rubygems.org

=> link in rubygems.org
https://rubygems.org/gems/test_rb_bug

Updated by mame (Yusuke Endoh) over 11 years ago

  • Status changed from Feedback to Assigned
  • Assignee set to luislavena (Luis Lavena)

Luis, do you know the status?

--
Yusuke Endoh

Updated by luislavena (Luis Lavena) over 11 years ago

  • Assignee changed from luislavena (Luis Lavena) to mame (Yusuke Endoh)

mame (Yusuke Endoh) wrote:

Luis, do you know the status?

No, I was unable to reproduce with any of my installed versions of Ruby.

Updated by mame (Yusuke Endoh) over 11 years ago

  • Assignee changed from mame (Yusuke Endoh) to MartinBosslet (Martin Bosslet)

luislavena (Luis Lavena) wrote:

mame (Yusuke Endoh) wrote:

Luis, do you know the status?

No, I was unable to reproduce with any of my installed versions of Ruby.

Thanks. Then, emboss, do you know?
The trace looks similar to #6886 which was closed as 3PI.
What do you think?

--
Yusuke Endoh

Updated by samkottler (Sam Kottler) almost 10 years ago

@vincius do you get this error on the latest release? I can't reproduce it on any of the machines I've got handy.

Actions #12

Updated by zzak (zzak _) over 8 years ago

  • Assignee changed from MartinBosslet (Martin Bosslet) to 7150

Updated by rhenium (Kazuki Yamaguchi) almost 8 years ago

  • Status changed from Assigned to Feedback

The git reposirory/gist is deleted... Do you still reproduce with the current release of Ruby?

Actions #14

Updated by rhenium (Kazuki Yamaguchi) over 6 years ago

  • Status changed from Feedback to Rejected
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0