galaxyproject / galaxyproject/training-material
Make serve - error message about Gemfiles
- Dominant language
- HTML
- Stars
- 367
- Forks
- 1.1k
- Avg merge
- 16h 27m
- Merged PRs (30d)
- 49
Description
## What is the issue?
When running `make serve` or `make serve-quick`, the commands are not failing but show on the top:
```
mv: cannot stat 'Gemfile': No such file or directory
mv: cannot stat 'Gemfile.lock': No such file or directory
```
I am afraid it may be confusing for newcomers.
## How to fix that?
This comes from these lines in `make serve`, `make serve-quick`
```
$(ACTIVATE_ENV) && \
mv Gemfile Gemfile.backup || true && \
mv Gemfile.lock Gemfile.lock.backup || true && \
```
I do not have a good way to fix this
Contributor guide
Research direction
Start with the `make serve` and `make serve-quick` targets and reproduce the commands to observe the Gemfile warnings. Inspect the shown `mv` commands and verify that the completed change runs both targets without displaying missing-Gemfile errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100