galaxyproject / galaxyproject/training-material

Make serve - error message about Gemfiles

Open
#2,443 1 comment 0 reactions 0 assignees View on GitHub
CoFest Hacktoberfest newcomer-friendly paper-cut template-and-tools
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.