1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【Bundler】Commands: `bundle init`

Last updated at Posted at 2018-02-07

bundle init

Summary

  • Gemを初期化する

Roles

  • アプリケーションで使用するGem達を指定する
  • アプリケーションで使用するGem達のバージョンを管理する

How to

  • カレントディレクトリに移動してから実行する

Result

  • カレントディレクトリ内にGemfileが作成される

Examples

1 testディレクトリを作成し、testディレクトリに移動する

$ mkdir test
$ cd test/

2 bundle initを実行する

$ bundle init
Writing new Gemfile to /Users/macuser/test/Gemfile

~Rusult~

$ ls
Gemfile # testディレクトリにGemfileが作成された
1
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?