You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Peter Donald (JIRA)" <ji...@apache.org> on 2012/09/23 11:18:07 UTC

[jira] [Closed] (BUILDR-614) Buildr development - Using rvm, bundler and OSX installs the wrong rjb

     [ https://issues.apache.org/jira/browse/BUILDR-614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Donald closed BUILDR-614.
-------------------------------

    Resolution: Cannot Reproduce
      Assignee: Peter Donald  (was: Antoine Toulme)

I can't reproduce so I am going to assume this is fixed with more recent versions of rjb used in buildr.
                
> Buildr development - Using rvm, bundler and OSX installs the wrong rjb
> ----------------------------------------------------------------------
>
>                 Key: BUILDR-614
>                 URL: https://issues.apache.org/jira/browse/BUILDR-614
>             Project: Buildr
>          Issue Type: Bug
>         Environment: rvm 1.6.32
> bundler version 1.0.21
> ruby 1.8.7-p352
> OSX 10.6.8
>            Reporter: Russell Teabeault
>            Assignee: Peter Donald
>             Fix For: 1.4.8
>
>         Attachments: buildr-1.4.7.pre.gem, BUILDR-614.diff, BUILDR-614.diff
>
>
> The Gemfile for buildr specifies rjb as a dependency.  However, when running on OSX and using rvm, the rjb that gets installed is the version compiled against the OSX system ruby instead of the rvm ruby.  This can be fixed by adding the following to the Gemfile:
>   if `uname`.strip == 'Darwin' and ENV["rvm_ruby_string"] != 'system'
>     Gem.platforms = [Gem::Platform::RUBY]
>   end
> I think in the end this is probably an rjb problem but adding this to the Gemfile would be helpful for buildr developers woring with rvm and OSX.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira