mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2024-12-22 14:24:16 +01:00
chore: set custom GEM_HOME due to default one cannot access without sudo
This commit is contained in:
parent
af083cd013
commit
100d189e8e
@ -16,8 +16,14 @@ echo $PWD
|
||||
brew install ruby
|
||||
ruby --version
|
||||
|
||||
# workaround default installation location cannot access without sudo problem
|
||||
echo 'export GEM_HOME=$HOME/gems' >>~/.bash_profile
|
||||
echo 'export PATH=$HOME/gems/bin:$PATH' >>~/.bash_profile
|
||||
export GEM_HOME=$HOME/gems
|
||||
export PATH="$GEM_HOME/bin:$PATH"
|
||||
|
||||
# install bundle gem
|
||||
gem install bundler
|
||||
gem install bundler --install-dir $GEM_HOME
|
||||
|
||||
# setup gems
|
||||
bundle install
|
||||
|
Loading…
Reference in New Issue
Block a user