7
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ruby-build(rbenv) でビルドする ruby の名前を指定する

Last updated at Posted at 2014-01-29

rbenv install ではなく ruby-build を直接使うとディレクトリを指定できる。

MAKE_OPTS="-j 4" ~/.rbenv/plugins/ruby-build/bin/ruby-build 2.1.0 ~/.rbenv/versions/haikanko

使う時は

$ rbenv local haikanko

みたいな。これで ruby のバージョンをあげてもアプリの起動スクリプトの修正が不要になりますね。

合わせて読みたい: ruby-build の --enable-load-relative オプション

7
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?