D
D
Denis Lysenko2013-01-12 20:01:18
linux
Denis Lysenko, 2013-01-12 20:01:18

Installing gems without root rights?

Greetings!
There is a server that they do not want to give me root access to, but I need to constantly install new gems, do bundle install / update. Are there any ways to install gems without root rights, for example to a local folder or something else?
Amazon Linux Server (CentOS 6), Apache, Passenger Gem, Rails 3.2.11, Ruby 1.8.7.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
vadv, 2013-01-12
@crashcube

if you don't want to break anything on the server, then redefine GEM_HOME and you will be happy

S
sdevalex, 2013-01-12
@sdevalex

gembundler.com/man/bundle-install.1.html#REMEMBERED-OPTIONS

bundle install --path vendor/bundle

V
vsespb, 2013-01-12
@vsespb

RVM

G
Gosha Arinich, 2013-01-12
@goshakkk_reborn

rbenv .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question