LoginSignup
0
1

More than 5 years have passed since last update.

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

Posted at

はじめに

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

出来ました!

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