Skip to content

Commit

Permalink
Pretty text
Browse files Browse the repository at this point in the history
  • Loading branch information
x1wins committed Apr 23, 2021
1 parent 8e45041 commit 30a2add
Showing 1 changed file with 21 additions and 16 deletions.
37 changes: 21 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,24 +138,29 @@ OVP(online video platform)란<br/>
```
6. Troubleshooting
1. when I got bundle error such as ```minemagic```
1. Log of minemagic gem error
```
Step 10/16 : RUN bundle install
---> Running in 578d62fab6ac
Fetching gem metadata from https://rubygems.org/............
You have requested:
mimemagic ~> 0.4.1
The bundle currently has mimemagic locked at 0.3.5.
Try running `bundle update mimemagic`
If you are updating multiple gems in your Gemfile at once,
try passing them all to `bundle update`
ERROR: Service 'web' failed to build: The command '/bin/sh -c bundle install' returned a non-zero code: 7
The command "docker-compose build" failed and exited with 1 during .
Your build has been stopped.
```
2. Solution
```
docker-compose run --no-deps web bundle update mimemagic
```
2. Keep latest gem for defense vulnerability
```
Step 10/16 : RUN bundle install
---> Running in 578d62fab6ac
Fetching gem metadata from https://rubygems.org/............
You have requested:
mimemagic ~> 0.4.1
The bundle currently has mimemagic locked at 0.3.5.
Try running `bundle update mimemagic`
If you are updating multiple gems in your Gemfile at once,
try passing them all to `bundle update`
ERROR: Service 'web' failed to build: The command '/bin/sh -c bundle install' returned a non-zero code: 7
The command "docker-compose build" failed and exited with 1 during .
Your build has been stopped.
docker-compose run --no-deps web bundle update
```
```docker-compose run --no-deps web bundle update mimemagic```

2. Keep latest gem for defense vulnerability
```docker-compose run --no-deps web bundle update```

### How To Run Development mode without docker
[SETUP_WITHOUT_DOCKER.md](/SETUP_WITHOUT_DOCKER.md)
Expand Down

0 comments on commit 30a2add

Please sign in to comment.