Last active
December 31, 2020 07:48
-
-
Save demisx/10341686 to your computer and use it in GitHub Desktop.
Regenerate and Springify Rails 4 binstubs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd my_rails_app_root_dir | |
rm bin/* | |
bundle exec rake rails:update:bin | |
bundle binstubs rspec-core | |
spring binstub --all |
Update: it's apparently now
bundle exec rake app:updates:bin
, and also note that you need the gem spring-commands-rspec
Should be bundle exec rake app:update:bin
It's also helpful to add Webpacker binstubs
rails webpacker:binstubs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Update: it's apparently now
bundle exec rake app:updates:bin
, and also note that you need the gem spring-commands-rspec