Sprockets::FileOutsidePaths
- Dominant language
- Ruby
- Stars
- 901
- Forks
- 262
- PR merge metrics
- No merged PRs in 30d
Description
I am using `sprockets (4.0.0.beta6)` and I encounter the following error during deployment while precompiling assets:
```
Sprockets::FileOutsidePaths: /home/deploy/app/releases/ACTIVE_RELEASE_PATH/app/assets/images/image.svg is no longer under a load path:
/home/deploy/app/releases/NEW_RELEASE_PATH/app/assets/images,
/home/deploy/app/releases/NEW_RELEASE_PATH/app/assets/javascripts,
/home/deploy/app/releases/NEW_RELEASE_PATH/app/assets/stylesheets,
/home/deploy/app/releases/NEW_RELEASE_PATH/vendor/assets/javascripts,
/home/deploy/app/releases/NEW_RELEASE_PATH/vendor/assets/stylesheets,
```
As shown, the inconsistency is in the release paths used.
Contributor guide
No contributing guide indexed for this repository
Research direction
No source files or tests are named in the issue. Start by tracing Rails asset precompilation during Capistrano deployment and compare the active and new release paths shown in the error; done means the asset path remains within the configured load paths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rails, ruby
- Domain
- devops, release
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100