Skip to content

Commit

Permalink
docs about updating bundler
Browse files Browse the repository at this point in the history
  • Loading branch information
yohm committed Dec 31, 2019
1 parent 728ee87 commit f6f887e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions docs/en/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,10 @@ Here we show the instructions on how to setup prerequisites using homebrew.
- installing MongoDB
- Follow the instruction of [the official document.](https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/)
- After installation, start MongoDB as a service (`brew services start mongodb-community`).
- installing bundler (You can skip this process if you are using Ruby 2.6.0 or later. Bundler is built into Ruby as a standard library.)
- install and update bundler
``` sh
gem install bundler
gem udpate bundler
rbenv rehash
```
- After installation, run `which bundle` to verify that the bundle command is available.
Expand Down Expand Up @@ -114,9 +115,10 @@ Here we show the instruction on how to setup prerequisites using apt-get, using
- verify output is like `ruby 2.5.1....`.
- install mongoDB
- Follow the instruction of [the official document.](https://docs.mongodb.com/manual/administration/install-on-linux/)
- install bundler (You can skip this process if you are using Ruby 2.6.0 or later. Bundler is built into Ruby as a standard library.)
- install and update bundler
``` sh
gem install bundler
gem update bundler
rbenv rehash
```
- After installation, run `which bundle` to verify that the bundle command is available.
Expand Down Expand Up @@ -267,6 +269,7 @@ bundle exec rake daemon:stop # tentatively stop OACIS
git pull origin master # get the latest source code of OACIS
git pull origin master --tags
git submodule update --init --recursive
gem update bundler # update bundler
bundle install # install dependency
bundle exec rake daemon:start # restart OACIS
```
Expand Down
7 changes: 5 additions & 2 deletions docs/ja/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,10 @@ Linuxの場合、yumやaptコマンドを使ってインストールできます
- mongoDBをインストール
- [公式ドキュメント](https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/)の手順に従う
- インストール後、macOSのサービスとして起動(`brew services start mongodb-community`)すれば、以後ログイン時にmongodが自動的に起動するようになる
- bundlerのインストール(Ruby2.6.0以降ではbundlerは標準ライブラリとして添付されるため、この行程は不要)
- bundlerのインストールと最新版への更新
``` sh
gem install bundler
gem update bundler
rbenv rehash
```
`which bundle`を実行しコマンドへのパスが表示されればインストールに成功している
Expand Down Expand Up @@ -113,9 +114,10 @@ Linuxの場合、yumやaptコマンドを使ってインストールできます
を実行して、`ruby 2.5.1....`と出力されれば成功
- mongoDBをインストール
- [公式ドキュメント](https://docs.mongodb.com/manual/administration/install-on-linux/)の手順に従う
- bundlerのインストール(Ruby2.6.0以降ではbundlerは標準ライブラリとして添付されるため、この行程は不要)
- bundlerのインストールと最新版への更新
``` sh
gem install bundler
gem update bundler
rbenv rehash
```
`which bundle`を実行しコマンドへのパスが表示されればインストールに成功している
Expand Down Expand Up @@ -258,6 +260,7 @@ bundle exec rake daemon:stop # tentatively stop OACIS
git pull origin master # get the latest source code of OACIS
git pull origin master --tags
git submodule update --init --recursive
gem update bundler # update bundler gem
bundle install # install dependency
bundle exec rake daemon:start # restart OACIS
```
Expand Down

0 comments on commit f6f887e

Please sign in to comment.