How can I restore my Rails 4 binstubs?

I didn't want to delete my whole bin directory, and it was already added to git. So I just ran:

rake rails:update:bin

and the messages went away.

bundle install --binstubs per

Note that "the --binstubs option is sticky, meaning Bundler will keep adding binstubs for new gems in the future when you run just bundle install". That config is stored under .bundle/config. Per, it's recommended to bundle binstubs [gem_name] to install only the desired gem's binstubs instead.