Earlier I changed a gem version in the Gemfile for my Rails project. I ran bundler update gemname, and this installed more up-to-date versions of several dependencies, which kind of surprised me.
Now, I need to downgrade to the old version of the gem. I've changed the version back in my Gemfile, and run bundler upgrade gemname again (and bundler install for good measure), but now the gems that were upgraded earlier (the dependencies) are still the newer versions (I'd guess the gem didn't specify versions, so it's just using whatever is latest?).
Is there a way to downgrade those dependencies back to where they were before upgrading the gem?