Mengganti Versi Ruby

Kadang-kadang beberapa aplikasi memerlukan versi Ruby yang berbeda-beda. Untuk mengganti versi Ruby di komputer Anda, silahkan copy paste 1 baris perintah di bawah ini:

update-alternatives --config ruby

Maka akan muncul pilihan seperti di bawah ini:

There are 2 choices for the alternative ruby (providing /usr/bin/ruby).

  Selection    Path                Priority   Status
------------------------------------------------------------
  0            /usr/bin/ruby1.8     500       auto mode
  1            /usr/bin/ruby1.8     500       manual mode
* 2            /usr/bin/ruby1.9.2   400       manual mode

Press enter to keep the current choice[*], or type selection number: 

Silahkan ganti dengan mengetik salah satu angka 0,1,2 atau angka lain seperti yang tertera di komputer Anda lalu tekan Enter.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.