LoginSignup
2
2

More than 5 years have passed since last update.

Rails3.2インストールメモ

Posted at
 1.  RVM インストール
           $bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)

 2.  RVMインストール時のコメントに下記が表示されるので、
      * To start using RVM you need to run `source /etc/profile.d/rvm.sh`
      in all your open shell windows, in rare cases you need to reopen all shell windows.
      下記を実行
           $ source /etc/profile.d/rvm.sh
      .bash_profileが変更されるため、読み込み
           $ source .bash_profile

 3. Ruby用パッケージのインストール
           $ rvm requirements
      ruby: yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel
      そのままコピペして実行する
           $  yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel

 4. Gitインストール(作業時はインストール済みだった)
           $ yum install git

 5. Rubyインストール 
           $rvm install 1.9.3
           $rvm --default 1.9.3

 6. Railsインストール
           $gem install rails

 7. Node.jsインストール(stable 最新バージョンをインストール)
           $ wget http://nodejs.org/dist/v0.6.15/node-v0.6.15.tar.gz
           $ tar zxf node-v0.6.15.tar.gz
           $ cd node-v0.6.15
           $ ./configure
           $ make && make install

 8. SQLite3インストール
           $yum install sqlite-devel

 9. バンドルのインストール
           $ bundle install 
           * パスを指定しない場合$GEM_HOME以下にインストールされる
2
2
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
2
2