LoginSignup
1
1

More than 5 years have passed since last update.

Ruby on Rails 環境構築メモ

Posted at

Ruby・Railsをインストール

いろいろなツールが使用できます。
OS毎に使えるツールが異なるので、下記から選択してインストールする
https://www.ruby-lang.org/ja/documentation/installation/

※今回はmacにrvmを使用して両方一気にインストールします。
http://rvm.io/

  1. homebrewをインストール(Javaと、XCodeもしくはCommand Line Toolsが必要)
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

  2. gp2をインストール
    brew install gpg2

  3. rvmのページに記載されているpublic keyをインストール
    gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3

  4. rvmとrailsをインストール
    \curl -sSL https://get.rvm.io | bash -s stable --rails

  5. bashを反映
    source ~/.profile

SQLite3をインストール

macの場合、インストール不要
Windowsの場合は下記からダウンロードしてインストールするらしい
http://www.sqlite.org/

node.jsをインストール

ここからダウンロードして、インストールする
http://nodejs.jp/nodejs.org_ja/

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