質問編集履歴
1
host、containerを追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -111,13 +111,13 @@
|
|
111
111
|
root@f60c245ac592:/app#
|
112
112
|
```
|
113
113
|
コンテナリストにて、`COMMAND`が`rails server -b 0.0.0.0`となったためコンテナ内にて入力。
|
114
|
-
```
|
114
|
+
```container
|
115
115
|
root@4f06af994e97:/app# rails server -b 0.0.0.0
|
116
116
|
Could not find gem 'mysql2 (>= 0.4.4, < 0.6.0)' in any of the gem sources listed in your Gemfile.
|
117
117
|
Run `bundle install` to install missing gems.
|
118
118
|
```
|
119
119
|
`gem mysql2`がインストールできていないとのことなので、
|
120
|
-
```
|
120
|
+
```host
|
121
121
|
sudo gem install mysql2 -v '0.5.2' --source 'https://rubygems.org/'
|
122
122
|
Building native extensions. This could take a while...
|
123
123
|
Successfully installed mysql2-0.5.2
|