CentOS6にRais4.2.4をインストール
Rails4に対応したrefinerycmsのバージョン3は、Rails4.2に依存するようなので、Rails4.2.4をインストールしました。
1)インストール前の確認
①gemsetのリスト
$ rvm gemset list
gemsets for ruby-2.0.0-p247 (found in /home/rails/.rvm/gems/ruby-2.0.0-p247)
(default)
global
=> ruby2rails4
②RubyGemsの確認
$ which gem
~/.rvm/rubies/ruby-2.0.0-p247/bin/gem
2)Rails4.2.4をインストール
①riとrdocをインストールしないように設定
$ vi ~/.gemrc
install: --no-rdoc --no-ri
update: --no-rdoc --no-ri
②Rails4.2.4をインストール
$ gem install rails --version 4.2.4
Fetching: rack-1.6.4.gem (100%)
Successfully installed rack-1.6.4
Fetching: activesupport-4.2.4.gem (100%)
Successfully installed activesupport-4.2.4
Fetching: rails-deprecated_sanitizer-1.0.3.gem (100%)
Successfully installed rails-deprecated_sanitizer-1.0.3
Fetching: mini_portile-0.6.2.gem (100%)
Successfully installed mini_portile-0.6.2
Fetching: nokogiri-1.6.6.4.gem (100%)
Building native extensions. This could take a while...
Successfully installed nokogiri-1.6.6.4
Fetching: rails-dom-testing-1.0.7.gem (100%)
Successfully installed rails-dom-testing-1.0.7
Fetching: loofah-2.0.3.gem (100%)
Successfully installed loofah-2.0.3
Fetching: rails-html-sanitizer-1.0.2.gem (100%)
Successfully installed rails-html-sanitizer-1.0.2
Fetching: actionview-4.2.4.gem (100%)
Successfully installed actionview-4.2.4
Fetching: actionpack-4.2.4.gem (100%)
Successfully installed actionpack-4.2.4
Fetching: railties-4.2.4.gem (100%)
Successfully installed railties-4.2.4
Fetching: globalid-0.3.6.gem (100%)
Successfully installed globalid-0.3.6
Fetching: activejob-4.2.4.gem (100%)
Successfully installed activejob-4.2.4
Fetching: actionmailer-4.2.4.gem (100%)
Successfully installed actionmailer-4.2.4
Fetching: arel-6.0.3.gem (100%)
Successfully installed arel-6.0.3
Fetching: activemodel-4.2.4.gem (100%)
Successfully installed activemodel-4.2.4
Fetching: activerecord-4.2.4.gem (100%)
Successfully installed activerecord-4.2.4
Fetching: rails-4.2.4.gem (100%)
Successfully installed rails-4.2.4
18 gems installed
4)Railsインストール後の確認
$ gem list
*** LOCAL GEMS ***
・・・
rails (4.2.4, 4.1.5, 4.0.5)
rails-deprecated_sanitizer (1.0.3)
rails-dom-testing (1.0.7)
rails-html-sanitizer (1.0.2)
rails-i18n (4.0.3, 4.0.2)
railties (4.2.4, 4.1.5, 4.0.5)
・・・
| refinery | 11:23 | comments:0 | trackbacks:0 | TOP↑