Answer the question
In order to leave comments, you need to log in
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
if you don't want to break anything on the server, then redefine GEM_HOME and you will be happy
gembundler.com/man/bundle-install.1.html#REMEMBERED-OPTIONS
bundle install --path vendor/bundle
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question