diff options
author | Nathan Wenneker <nathan@preferral.com> | 2017-07-26 19:12:52 -0600 |
---|---|---|
committer | Nathan Wenneker <nathan@preferral.com> | 2017-07-26 19:33:24 -0600 |
commit | a5da9d92e1dd85ae5a3e7cb223158c6551d8958c (patch) | |
tree | a23c0d79c1ec6c8ebd658b984b3588053499057d /activejob/lib/active_job/queue_adapters/sidekiq_adapter.rb | |
parent | d3c1266c338c3a37181c0a131c7d983e5e30c8d0 (diff) | |
download | rails-a5da9d92e1dd85ae5a3e7cb223158c6551d8958c.tar.gz rails-a5da9d92e1dd85ae5a3e7cb223158c6551d8958c.tar.bz2 rails-a5da9d92e1dd85ae5a3e7cb223158c6551d8958c.zip |
Improve bundler binstub error message
Rails displays an error message if you have a bundler-generated binstub
at `./bin/rails` instead of a Rails-generated binstub.
This error message is misleading because it makes it seem as though
Rails 5 introduced recent changes in how binstubs are used, when these
changes were actually introduced way back in Rails 4.
The suggested upgrade steps are appropriate for an app that was created
in Rails 3, but they likely aren't the correct fix for someone who sees
this error message today on a modern app. I believe the `--binstubs`
option on bundler is a more likely culprit and troubleshooting path.
Diffstat (limited to 'activejob/lib/active_job/queue_adapters/sidekiq_adapter.rb')
0 files changed, 0 insertions, 0 deletions