You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Russell Teabeault (Created) (JIRA)" <ji...@apache.org> on 2011/11/15 00:07:51 UTC

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

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


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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

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

Antoine Toulme resolved BUILDR-614.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4.7
    
> 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: Antoine Toulme
>             Fix For: 1.4.7
>
>         Attachments: 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

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

Russell Teabeault updated BUILDR-614:
-------------------------------------

    Attachment: BUILDR-614.diff

Modified original diff to correctly detect OSX.
                
> 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
>         Attachments: 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

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

Antoine Toulme updated BUILDR-614:
----------------------------------

    Attachment:     (was: BUILDR-614.diff)
    
> 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
>         Attachments: 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

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

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

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

Hudson commented on BUILDR-614:
-------------------------------

Integrated in Buildr-ci-build #291 (See [https://builds.apache.org/job/Buildr-ci-build/291/])
    BUILDR-614 Buildr development - Using rvm, bundler and OSX installs the wrong rjb (Russell Teabeault)

toulmean : 
Files : 
* /buildr/trunk/CHANGELOG
* /buildr/trunk/buildr.gemspec

                
> 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: Antoine Toulme
>             Fix For: 1.4.7
>
>         Attachments: 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

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

Antoine Toulme updated BUILDR-614:
----------------------------------

    Attachment: BUILDR-614.diff

Patch making sure this is only happening for MRI.
                
> 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
>         Attachments: 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

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

Antoine Toulme reassigned BUILDR-614:
-------------------------------------

    Assignee: Antoine Toulme
    
> 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: Antoine Toulme
>         Attachments: 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

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

Antoine Toulme updated BUILDR-614:
----------------------------------

    Attachment: buildr-1.4.7.pre.gem
    
> 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: Antoine Toulme
>             Fix For: 1.4.7
>
>         Attachments: BUILDR-614.diff, BUILDR-614.diff, buildr-1.4.7.pre.gem
>
>
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

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

Antoine Toulme commented on BUILDR-614:
---------------------------------------

I tried it on another mac, and it works very well with RJB 1.3.7.

I think the simplest fix would be to try upgrading to 1.3.7 then.
                
> 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: Antoine Toulme
>             Fix For: 1.4.7
>
>         Attachments: BUILDR-614.diff, BUILDR-614.diff, buildr-1.4.7.pre.gem
>
>
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

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

Antoine Toulme commented on BUILDR-614:
---------------------------------------

Rhett, right on point. I was trying that with a new pre gem, but I don't seem to be able to push it again.

I'll attach the gem to the bug so you can try it.
                
> 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: Antoine Toulme
>             Fix For: 1.4.7
>
>         Attachments: BUILDR-614.diff, BUILDR-614.diff, buildr-1.4.7.pre.gem
>
>
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

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

Antoine Toulme commented on BUILDR-614:
---------------------------------------

I tried the patch locally and it seems to be working allright! I'll commit it now.
                
> 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: Antoine Toulme
>         Attachments: 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

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

Rhett Sutphin commented on BUILDR-614:
--------------------------------------

I just noticed this issue because Antoine mentioned it on the mailing list.  The provided solution may work when installing the gem from source, but it won't work on a packaged gem. That's because the packaged gem's gemspec is the result of intepreting buildr.gemspec and then reserializing it.

I think the only possible permanent solution for this (i.e., other than manually installing rjb with --platform ruby before installing buildr) would be to change buildr to depend on a version of RJB that doesn't ship a separate darwin binary. It looks like 1.3.7, 1.3.6, and 1.3.5 would be candidates.
                
> 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: Antoine Toulme
>             Fix For: 1.4.7
>
>         Attachments: 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

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

Antoine Toulme commented on BUILDR-614:
---------------------------------------

~/w/buildr>svn ci -m "BUILDR-614 Buildr development - Using rvm, bundler and OSX installs the wrong rjb (Russell Teabeault)"
Sending        CHANGELOG
Sending        buildr.gemspec
Transmitting file data ..
Committed revision 1202956.
                
> 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: Antoine Toulme
>             Fix For: 1.4.7
>
>         Attachments: 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

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

Russell Teabeault updated BUILDR-614:
-------------------------------------

    Attachment: BUILDR-614.diff

Modified original patch to correctly detect OSX.  And this time I am checking the 'Grant license to ASF' option.
                
> 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
>         Attachments: 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

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

Alex Boisvert updated BUILDR-614:
---------------------------------

    Fix Version/s:     (was: 1.4.7)
                   1.4.8
    
> 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: Antoine Toulme
>             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

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

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

Antoine Toulme reopened BUILDR-614:
-----------------------------------

    
> 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: Antoine Toulme
>             Fix For: 1.4.7
>
>         Attachments: BUILDR-614.diff, BUILDR-614.diff, buildr-1.4.7.pre.gem
>
>
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

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

Russell Teabeault updated BUILDR-614:
-------------------------------------

    Attachment:     (was: BUILDR-614.diff)
    
> 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
>         Attachments: 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

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

Antoine Toulme updated BUILDR-614:
----------------------------------

    Attachment: BUILDR-614.diff

Russell, would the attached patch work for you ?
                
> 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
>         Attachments: 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira