mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2024-12-22 22:28:35 +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
|
brew install ruby
|
||||||
ruby --version
|
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
|
# install bundle gem
|
||||||
gem install bundler
|
gem install bundler --install-dir $GEM_HOME
|
||||||
|
|
||||||
# setup gems
|
# setup gems
|
||||||
bundle install
|
bundle install
|
||||||
|
Loading…
Reference in New Issue
Block a user