LoginSignup
3
2

More than 5 years have passed since last update.

【Rails】rbenvとbundlerを使ったRails環境の構築

Posted at

Bundlerのインストール

$ gem install bundler

プロジェクトディレクトリの作成

$ mkdir project_name

プロジェクトディレクトリでBundlerをイニシャライズ

$ cd project_name       # Projectのディレクトリへ移動
$ bundle init           # Gemfileが作成される

Gemfileを編集

$ vim Gemfile

==================================================
# A sample Gemfile
source "https://rubygems.org"

gem "rails", "4.0.5"

Railsをインストール

$ bundle install
3
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
3
2