[prev in list] [next in list] [prev in thread] [next in thread] 

List:       macports-users
Subject:    Re: How to get a developers' package for Ruby
From:       Jose Hales-Garcia via macports-users <macports-users () lists ! macports ! org>
Date:       2021-09-22 5:05:54
Message-ID: AE4D4494-C833-4B40-84A7-410C6C7B549C () me ! com
[Download RAW message or body]

Hi,
You might see if Rbenv would work for you in this case.
https://github.com/rbenv/rbenv

I googled and there are folks who've gotten cocoapods working with rbenv installed \
Ruby versions.

Jose

Sent from my iPad

> On Sep 21, 2021, at 9:49 PM, Ian Wadham <iandw.au@gmail.com> wrote:
> 
> I wish to download from the Web a package called CocoaPods, however it needs a \
> developers' package of Ruby to build it. 
> I am using MacOS Catalina 10.15.7. Apple provides Ruby in this MacOSversion, but \
> will not allow it to be used for building non-Apple apps. They say they are phasing \
> out the use of Ruby in MacOS and Apple Mac apps. 
> Googling around about this problem, all the solutions I have found recommend \
> getting a "ruby-dev" package from Homebrew, but MacPorts, which I use a lot, \
> recommends against mixing MacPorts and Homebrew. 
> Apple's version of Ruby is ruby 2.6.3p62 (2019-04-16 revision 67580).
> 
> MacPorts has a package ruby @1.8.7-p374_12 (lang, ruby), but also packages ruby26 \
> @2.6.8_1 (lang, ruby), ruby27 @2.7.4_1 (lang, ruby), etc. Are all of these \
> development versions, or just runtime versions? If MacPorts has a development \
> version of Ruby, which would be the best version to use to build CocoaPods? 
> Failing that, would it be safe to install Homebrew and its ruby-dev, just for \
> building CocoaPods? 
> I have no intention of learning Ruby for my own development use at this stage.
> 
> Hoping someone can point me in the right direction,
> Thanks in advance,
> Ian Wadham.


[Attachment #3 (text/html)]

<html><head><meta http-equiv="content-type" content="text/html; \
charset=utf-8"></head><body dir="auto"><div><br></div>Hi,<div><span \
style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">You might see if Rbenv would \
work for you in this case.</span><div style="caret-color: rgb(0, 0, 0); color: rgb(0, \
0, 0);"><a href="https://github.com/rbenv/rbenv">https://github.com/rbenv/rbenv</a><br><br>I \
googled and there are folks who've gotten cocoapods working with rbenv installed Ruby \
versions.</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, \
0);"><br></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, \
0);">Jose</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, \
0);"><br></div><div dir="ltr">Sent from my iPad</div><div dir="ltr"><br><blockquote \
type="cite">On Sep 21, 2021, at 9:49 PM, Ian Wadham &lt;iandw.au@gmail.com&gt; \
wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><span>I \
wish to download from the Web a package called CocoaPods, however it needs a \
developers' package of Ruby to build it.</span><br><span></span><br><span>I am using \
MacOS Catalina 10.15.7. Apple provides Ruby in this MacOSversion, but will not allow \
it to be used for building non-Apple apps. They say they are phasing out the use of \
Ruby in MacOS and Apple Mac apps.</span><br><span></span><br><span>Googling around \
about this problem, all the solutions I have found recommend getting a "ruby-dev" \
package from Homebrew, but MacPorts, which I use a lot, recommends against mixing \
MacPorts and Homebrew.</span><br><span></span><br><span>Apple's version of Ruby is \
ruby 2.6.3p62 (2019-04-16 revision 67580).</span><br><span></span><br><span>MacPorts \
has a package ruby @1.8.7-p374_12 (lang, ruby), but also packages ruby26 @2.6.8_1 \
(lang, ruby), ruby27 @2.7.4_1 (lang, ruby), etc. Are all of these development \
versions, or just runtime versions? If MacPorts has a development version of Ruby, \
which would be the best version to use to build \
CocoaPods?</span><br><span></span><br><span>Failing that, would it be safe to install \
Homebrew and its ruby-dev, just for building \
CocoaPods?</span><br><span></span><br><span>I have no intention of learning Ruby for \
my own development use at this stage.</span><br><span></span><br><span>Hoping someone \
can point me in the right direction,</span><br><span>Thanks in \
advance,</span><br><span>Ian Wadham.</span></div></blockquote></div></body></html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic