Skip to content

Conversation

@schneems
Copy link

When you commit to git with only one directory and nothing else in root, it will push the contents of just that directory. I.e. an app with this structure fails to deploy:

mkdir -p app
touch app/Gemfile
touch app/Gemfile.lock
git init .; git add . ; git commit -m "first"

The error message is PROJECT_PATH is undefined which is incorrect. I added another error message that would properly identify the failure mode and give you more debugging information.

When you commit to git with only one directory and nothing else in root, it will push the contents of just that directory. I.e. an app with this structure fails to deploy:

```
mkdir -p app
touch app/Gemfile
touch app/Gemfile.lock
git init .; git add . ; git commit -m "first"
```

The error message is `PROJECT_PATH is undefined` which is incorrect. I added another error message that would properly identify the failure mode and give you more debugging information.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant