豚吐露@wiki

install_RHEL

最終更新:

Bot(ページ名リンク)

- view
管理者のみ編集可

Ruby install(CentOS)

CentOS 7.3
rbenv 1.1.1
Ruby 2.1.4

必要なライブラリをinstall

$ sudo dnf install -y libticonv-devel

ebenvのinstall

$ git clone https://github.com/rbenv/rbenv.git ~/.rbenv
$ git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
$ echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
$ . ~/.bash_profile

rbenvを使ったrubyのinstall

$ rbenv install 2.4.1
$ rbenv global 2.4.1
$ rbenv exec gem install bundler



更新日: 2017年08月14日 (月) 21時36分12秒

  • Bash On Windowsで『libreadline-dev』入れろ言われた。
  • rbenv in Ubuntu17.10
    sudo apt install libreadline-dev -- (s1n) 2018-04-06 10:33:27
  • rbenv exec gem install bundler -- (s1n) 2018-04-06 11:06:38
名前:
コメント:

すべてのコメントを見る
記事メニュー
ウィキ募集バナー