Issue #7949 has been reported by masarakki (masaki yamada). ---------------------------------------- Bug #7949: Gem:Ext:Builder がディレクトリ作成タスクへの依存を消してしまう https://bugs.ruby-lang.org/issues/7949 Author: masarakki (masaki yamada) Status: Open Priority: Normal Assignee: Category: ext Target version: 2.0.0 ruby -v: ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux] site_ruby/2.0.0/rubygems/ext/builder.rb の22行目の処理で、 install-so タスクが ./.RUBYARCHDIR.time に依存しているという情報が消されてしまうので、 libディレクトリの作成タスクが走らなくなっています。 libディレクトリを持たないgem(具体的には zipruby)を gem install でインストールすると、 lib/zipruby.so ではなく lib というバイナリファイルが作られます。
on 2013-02-24 22:15
on 2013-02-24 23:13
Issue #7949 has been updated by sorah (Shota Fukumori). Category changed from ext to lib Assignee set to drbrain (Eric Hodel) Eric, could you handle this? the following is a translation of this issue: lib/rubygems/ext/builder.rb:22 removes dependency to ./RUBYARCHDIR.time, so lib directory creation task won't be run. thus for instance when tried to install rubyzip.gem which doesn't have lib directory, rubygem makes binary file "lib" not lib/zipruby.so. ---------------------------------------- Bug #7949: Gem:Ext:Builder がディレクトリ作成タスクへの依存を消してしまう https://bugs.ruby-lang.org/issues/7949#change-36961 Author: masarakki (masaki yamada) Status: Open Priority: Normal Assignee: drbrain (Eric Hodel) Category: lib Target version: 2.0.0 ruby -v: ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux] site_ruby/2.0.0/rubygems/ext/builder.rb の22行目の処理で、 install-so タスクが ./.RUBYARCHDIR.time に依存しているという情報が消されてしまうので、 libディレクトリの作成タスクが走らなくなっています。 libディレクトリを持たないgem(具体的には zipruby)を gem install でインストールすると、 lib/zipruby.so ではなく lib というバイナリファイルが作られます。
on 2013-02-24 23:23
Issue #7949 has been updated by sorah (Shota Fukumori). Subject changed from Gem:Ext:Builder がディレクトリ作成タスクへの依存を消してしまう to Gem::Ext::Builder removes dependency to directory creation task Description updated ---------------------------------------- Bug #7949: Gem::Ext::Builder removes dependency to directory creation task https://bugs.ruby-lang.org/issues/7949#change-36962 Author: masarakki (masaki yamada) Status: Open Priority: Normal Assignee: drbrain (Eric Hodel) Category: lib Target version: 2.0.0 ruby -v: ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux] lib/rubygems/ext/builder.rb:22 removes dependency to ./RUBYARCHDIR.time, so lib directory creation task won't be run. thus for instance when tried to install rubyzip.gem which doesn't have lib directory, rubygem makes binary file "lib" not lib/zipruby.so. site_ruby/2.0.0/rubygems/ext/builder.rb の22行目の処理で、 install-so タスクが ./.RUBYARCHDIR.time に依存しているという情報が消されてしまうので、 libディレクトリの作成タスクが走らなくなっています。 libディレクトリを持たないgem(具体的には zipruby)を gem install でインストールすると、 lib/zipruby.so ではなく lib というバイナリファイルが作られます。
on 2013-02-25 01:57
Issue #7949 has been updated by nobu (Nobuyoshi Nakada). It should be fixed already. Or it's not been backported? ---------------------------------------- Bug #7949: Gem::Ext::Builder removes dependency to directory creation task https://bugs.ruby-lang.org/issues/7949#change-36969 Author: masarakki (masaki yamada) Status: Open Priority: Normal Assignee: drbrain (Eric Hodel) Category: lib Target version: 2.0.0 ruby -v: ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux] lib/rubygems/ext/builder.rb:22 removes dependency to ./RUBYARCHDIR.time, so lib directory creation task won't be run. thus for instance when tried to install rubyzip.gem which doesn't have lib directory, rubygem makes binary file "lib" not lib/zipruby.so. site_ruby/2.0.0/rubygems/ext/builder.rb の22行目の処理で、 install-so タスクが ./.RUBYARCHDIR.time に依存しているという情報が消されてしまうので、 libディレクトリの作成タスクが走らなくなっています。 libディレクトリを持たないgem(具体的には zipruby)を gem install でインストールすると、 lib/zipruby.so ではなく lib というバイナリファイルが作られます。
on 2013-03-05 23:46
Issue #7949 has been updated by drbrain (Eric Hodel). Status changed from Open to Closed Seems fixed by Nobu's patches, so I will close this. ---------------------------------------- Bug #7949: Gem::Ext::Builder removes dependency to directory creation task https://bugs.ruby-lang.org/issues/7949#change-37319 Author: masarakki (masaki yamada) Status: Closed Priority: Normal Assignee: drbrain (Eric Hodel) Category: lib Target version: 2.0.0 ruby -v: ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux] lib/rubygems/ext/builder.rb:22 removes dependency to ./RUBYARCHDIR.time, so lib directory creation task won't be run. thus for instance when tried to install rubyzip.gem which doesn't have lib directory, rubygem makes binary file "lib" not lib/zipruby.so. site_ruby/2.0.0/rubygems/ext/builder.rb の22行目の処理で、 install-so タスクが ./.RUBYARCHDIR.time に依存しているという情報が消されてしまうので、 libディレクトリの作成タスクが走らなくなっています。 libディレクトリを持たないgem(具体的には zipruby)を gem install でインストールすると、 lib/zipruby.so ではなく lib というバイナリファイルが作られます。
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.