Skip to content

Conversation

mibradev
Copy link
Contributor

To avoid error:

Sprockets::ArgumentError: link_tree argument must be a directory.

This should add the pattern like this:

/app/assets/builds/*
!/app/assets/builds/.keep

The same pattern as the one in default .gitignore file generated by
rails:

# Ignore all logfiles and tempfiles.
/log/*
/tmp/*
!/log/.keep
!/tmp/.keep

To avoid error:

> Sprockets::ArgumentError: link_tree argument must be a directory.

This should add the pattern like this:

```
/app/assets/builds/*
!/app/assets/builds/.keep
```

The same pattern as the one in default .gitignore file generated by 
rails:

```
# Ignore all logfiles and tempfiles.
/log/*
/tmp/*
!/log/.keep
!/tmp/.keep
```
@dhh dhh merged commit 1adba3a into rails:main Sep 13, 2021
@mibradev mibradev deleted the fix-gitignore branch September 13, 2021 09:56
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.

2 participants