Rails Doesn't See My Local Gem Changes
For years I've held the belief that if I have a development problem that no amount of Googling helps me solve, and I eventually solve it, that I should post what I did in case somebody else comes along after me with the same problem. This is one of those posts. We have a Rails application here at work. We also have a locally developed gem. For my latest ticket I had to add some features to the gem. In general this is straightforward. In the Gemfile of the app that points to your gem, instead of doing something like this: gem 'foo', git: 'git@github.com:foocompany/foo-gem.git' you'd do this: gem 'foo', path: '/Users/dev/src/foo-gem' Assuming of course that you've got the gem source in ~/dev/src. I'm skimming over the basics here, assuming if you got this far you've already tried a bunch of things. Here's where it got weird. If you change the stuff in foo-gem , and then go back and restart you