local pas global
This commit is contained in:
parent
ab0f493d15
commit
20ff07ab64
|
@ -48,7 +48,7 @@ $ source ~/.bash_profile
|
||||||
$ git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
|
$ git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
|
||||||
$ cd
|
$ cd
|
||||||
$ TMPDIR=~/tmp MAKE_OPTS=-j$(nproc) RUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install 2.5.3
|
$ TMPDIR=~/tmp MAKE_OPTS=-j$(nproc) RUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install 2.5.3
|
||||||
$ rbenv global 2.5.3
|
$ rbenv local 2.5.3
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
> **Note** : On met la variable d'environnement `RAILS_ENV` dans notre profile bash pour éviter de l'indiquer à chaque commande Ruby/Rails.
|
> **Note** : On met la variable d'environnement `RAILS_ENV` dans notre profile bash pour éviter de l'indiquer à chaque commande Ruby/Rails.
|
||||||
|
|
Loading…
Reference in a new issue