rvm install needs sudo
This commit is contained in:
parent
9223295320
commit
c57015cb15
1 changed files with 9 additions and 2 deletions
|
@ -40,8 +40,15 @@
|
|||
rvm user gemsets
|
||||
git clone https://github.com/metamaps/metamaps \
|
||||
--branch instance/mycoolinstance
|
||||
rvm install $(cat metamaps/.ruby-version) #ensure ruby is installed
|
||||
cd metamaps
|
||||
cat metamaps/.ruby-version
|
||||
|
||||
The last line tells you what version of ruby you need to install. For example, at the time of writing the version is 2.3.0. As your normal sudo-enabled user, run
|
||||
|
||||
sudo rvm install 2.3.0
|
||||
|
||||
Now switch back to the metamaps user and continue
|
||||
|
||||
cd /home/metamaps/metamaps
|
||||
gem install bundler
|
||||
RAILS_ENV=production bundle install
|
||||
|
||||
|
|
Loading…
Reference in a new issue