Skip to content

Instantly share code, notes, and snippets.

@igaiga
Last active March 25, 2017 00:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save igaiga/521f7374d0b9b8cdc3f7b5aafd6e5296 to your computer and use it in GitHub Desktop.
Save igaiga/521f7374d0b9b8cdc3f7b5aafd6e5296 to your computer and use it in GitHub Desktop.

WindowsでRails環境を作る方法です。Rails Installerを使う方法と、zipファイルを展開する方法のどちらかを選んでください。

Using Rails Installer

Download ver.3.3.0

Fix bundle.bat and rails.bat

Update Rails 5.0.2

Rails5.0.1から5.0.2へ

  • $ gem update rails

Using Ruby and Rails pach made in Matsue

  • RailsGirls松江で使われたインストーラです。
  • 橋本さんからもらって以下へ置いてます
  • zipファイルを展開して、C:¥へ配置したら完了です
  • (環境変数が設定されている)コマンドプロンプトがルートフォルダに置いてあるので、それを使ってください
  • 必要ならgem update railsなどしてください

Deploy to Heroku

Heroku CLI

  • https://devcenter.heroku.com/articles/heroku-cli
    • Installerでgitも一緒にインストールできるので一緒にインストールしました
    • railsinstallerでもインストールされてますが、こちらのバージョンの方が新しいようだったので
    • C:\RailsInstaller\cacert.pem がないというエラーが出る場合は、C:\Program Files\Heroku\lib\cacert.pem を C:\RailsInstaller へコピーする

メモ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment