buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rhett Sutphin (JIRA)" <j...@apache.org>
Subject [jira] Commented: (BUILDR-342) The jruby gem installer invokes the removed Gem.manage_gems function
Date Fri, 02 Jul 2010 18:25:50 GMT

    [ https://issues.apache.org/jira/browse/BUILDR-342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12884766#action_12884766
] 

Rhett Sutphin commented on BUILDR-342:
--------------------------------------

> So the fix is just to remove that line ?

I think so, but I haven't tried it.

Honestly, I've stopped using the automatic gem installation feature -- I still list the gem
dependencies in build.yaml, but I tell people to install the gems manually.  Providing a more
robust version of the automatic installer has been on my list of things to do for a while,
but it's never been very high priority.

> The jruby gem installer invokes the removed Gem.manage_gems function
> --------------------------------------------------------------------
>
>                 Key: BUILDR-342
>                 URL: https://issues.apache.org/jira/browse/BUILDR-342
>             Project: Buildr
>          Issue Type: Bug
>          Components: JRuby
>    Affects Versions: 1.3.5
>         Environment: Any
>            Reporter: Rhett Sutphin
>             Fix For: 1.4.2
>
>
> Gem.manage_gems has been deprecated for a while and was removed in rubygems 1.3.2.  JRuby
1.3.1, which is required for rspec support in buildr 1.3.5, uses rubygems 1.3.3.  The automatic
gem installer code in buildr/java/bdd.rb still invokes Gem.manage_gems, which means it fails
in buildr 1.3.5.
> Workarounds:  manually install any gems you need or use the monkey patch associated with
BUILDR-256.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message