LoginSignup
3
1

More than 5 years have passed since last update.

CentOS6.x に Ruby193をインストール[コマンド4行]

Last updated at Posted at 2015-12-14

インストール方法(参考にさせて頂いた情報のまま)

command
yum install -y centos-release-SCL
yum install -y ruby193
source /opt/rh/ruby193/enable
echo "source /opt/rh/ruby193/enable" | sudo tee -a /etc/profile.d/ruby193.sh
command
[vagrant@www ~]$ ruby -v
ruby 1.9.3p484 (2013-11-22) [x86_64-linux]
  • centos-release-SCLは、CentOS版のRedHat Software Collections

  • yum だから簡単

  • 注意点 Gaining Access to SCLs
    CentOS Extras repository (x86_64 only)

  • ポイント
    /etc/profile.dにruby用shellを設置すると便利

参考にさせて頂いた情報

3
1
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
3
1