You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Rhett Sutphin (JIRA)" <ji...@apache.org> on 2009/11/17 02:13:39 UTC

[jira] Created: (BUILDR-342) The jruby gem installer invokes the removed Gem.manage_gems function

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


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.


[jira] Resolved: (BUILDR-342) The jruby gem installer invokes the removed Gem.manage_gems function

Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Toulme resolved BUILDR-342.
-----------------------------------

    Resolution: Fixed

18:41:32~/w/buildr>svn ci CHANGELOG lib/buildr/java -m "fix for BUILDR-256 and BUILDR-342"
Sending        CHANGELOG
Sending        lib/buildr/java/bdd.rb
Transmitting file data ..
Committed revision 961552.

Thanks Rhett!

> 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.


[jira] Updated: (BUILDR-342) The jruby gem installer invokes the removed Gem.manage_gems function

Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Toulme updated BUILDR-342:
----------------------------------

    Fix Version/s: 1.4.2

Targeting 1.4.2. Rhett, we have virtually no coverage of this code. If you have a use case, please attach it.

> 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.


[jira] Commented: (BUILDR-342) The jruby gem installer invokes the removed Gem.manage_gems function

Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12884591#action_12884591 ] 

Antoine Toulme commented on BUILDR-342:
---------------------------------------

So the fix is just to remove that line ?

> 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.


[jira] Commented: (BUILDR-342) The jruby gem installer invokes the removed Gem.manage_gems function

Posted by "Rhett Sutphin (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (BUILDR-342) The jruby gem installer invokes the removed Gem.manage_gems function

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12886212#action_12886212 ] 

Hudson commented on BUILDR-342:
-------------------------------

Integrated in Buildr-ci-build #53 (See [http://hudson.zones.apache.org/hudson/job/Buildr-ci-build/53/])
    fix for BUILDR-256 and BUILDR-342


> 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.