Project

General

Profile

Actions

Bug #7971

closed

bson_ext doesn't install correctly in Ruby 2.0.0-p0

Added by rosenfeld (Rodrigo Rosenfeld Rosas) over 11 years ago. Updated over 11 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]
Backport:
[ruby-core:52941]

Description

=begin
In 1.9.3 the gem would generate ((%ext/bson_ext/cbson.so%)) but now it generates ((%ext/bson_ext/bson_ext%)) instead. I can't see what's wrong with ((%extconf.rb%)):

dir_config('cbson')
create_makefile('bson_ext/cbson')

I should notice I'm using RVM because I don't know if that makes any difference.

What should be done to generate ((%ext/bson_ext/cbson.so%)) like before?
=end


Related issues 1 (0 open1 closed)

Is duplicate of Ruby master - Bug #7698: RubyGems 2.0 has an incompatibility about installation of extension librariesClosednobu (Nobuyoshi Nakada)01/15/2013Actions

Updated by rosenfeld (Rodrigo Rosenfeld Rosas) over 11 years ago

The title should be "bson_ext doesn't install correctly in Ruby 2.0.0-p0" but it seems I'm not allowed to change it myself...

Updated by nobu (Nobuyoshi Nakada) over 11 years ago

  • Subject changed from bson_ext doesn't install correctly to bson_ext doesn't install correctly in Ruby 2.0.0-p0
  • Description updated (diff)

Updated by mame (Yusuke Endoh) over 11 years ago

  • Description updated (diff)
  • Status changed from Open to Assigned
  • Assignee set to nobu (Nobuyoshi Nakada)
  • Target version set to 2.1.0
Actions #4

Updated by drbrain (Eric Hodel) over 11 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r39542.
Rodrigo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • lib/rubygems/ext/builder.rb: Fix incompatibilities when installing
    extensions. Patch by Nobu.
    [ruby-trunk - Bug #7968] [ruby-trunk - Bug #7971]

  • lib/rubygems/ext/ext_conf_builder.rb: ditto.

  • lib/rubygems/installer.rb: ditto.

  • test/rubygems/test_gem_ext_ext_conf_builder.rb: Test for the above.

  • test/rubygems/test_gem_installer.rb: ditto.

  • lib/rubygems/commands/sources_command.rb: Prefer HTTPS over HTTP.

  • lib/rubygems/defaults.rb: ditto

  • lib/rubygems/dependency_resolver.rb: Ditto.

  • lib/rubygems/source.rb: ditto.

  • lib/rubygems/spec_fetcher.rb: ditto.

  • lib/rubygems/specification.rb: ditto.

  • lib/rubygems/test_utilities.rb: ditto.

  • test/rubygems/test_gem.rb: Test for the above.

  • test/rubygems/test_gem_commands_sources_command.rb: ditto.

  • test/rubygems/test_gem_dependency_resolver_api_set.rb: ditto.

  • test/rubygems/test_gem_remote_fetcher.rb: ditto.

  • test/rubygems/test_gem_source.rb: ditto.

  • test/rubygems/test_gem_spec_fetcher.rb: ditto.

Updated by drbrain (Eric Hodel) over 11 years ago

Thank you nobu for the RubyGems patch!

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0