Help us understand the problem. What is going on with this article?

[mac] rubyにbundleをインストールする

More than 1 year has passed since last update.

はじめに

rubyが使える環境MacOS下でbundle initを実行するまでの流れです。

rubyのインストールは以下の記事を参考にしてください。
[mac] brew - rbenv で rubyをバージョン指定でインストール

環境

rubyのバージョンは以下の通りです。

$ ruby -v
ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-darwin17]

インストール

gemコマンドでインストールしていきます。

$ gem install bundler
$ bundle -v
Bundler version 1.17.1

bundle initを実行

$ cd (任意のプロジェクトフォルダ)
$ bundle init
Writing new Gemfile to /path/to/projectfile/Gemfile

出来ました!

Why do not you register as a user and use Qiita more conveniently?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away