My ~/.gemrc includes: > install: --no-ri --no-rdoc --user-install > update: --no-ri --no-rdoc --user-install
This directs gem to install inside my home folder rather than trying to install to a system or MacPorts location. Another bonus is that I don't have to use sudo. I still try install as much as I can using 'port' though. On Fri, Mar 20, 2015 at 10:31 PM, Peng Yu <[email protected]> wrote: > Hi, > > If I use gem to install ruby packages, they will be installed in > /opt/local/lib/ruby2.2/gems/2.2.0 by default. But I guess ruby > packages installed by MacPorts will also use this directory. So this > may cause some problem, is it so? > > If so, what is the recommended way to install ruby packages via gem? Thanks. > > -- > Regards, > Peng > _______________________________________________ > macports-users mailing list > [email protected] > https://lists.macosforge.org/mailman/listinfo/macports-users -- arno s hautala /-| [email protected] pgp b2c9d448 _______________________________________________ macports-users mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-users
