You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had an issue where the dotenv-rails gem wasn't being loaded in my console. After lots of investigating I eventually ran spring stop and that fixed the issue.
In trying to learn more about Spring I've just read the README which says that:
But if we edit any of the files which were used to start the application (configs, initializers, your gemfile), the application needs to be fully restarted. This happens automatically.
In my case this didn't happen... I added the Gem to my Gemfile and spring mustn't have restarted. I later added Dotenv::Railtie.load to config/application.rb and spring still didn't restart.
How can I investigate why these changes weren't detected automagically in my case?
I'm using macOS Catalina, Terminal, and fish shell. I'm using Rails 6.0.2.1 and asdf to manage versions.
My spring.rb file is unchanged from the default (although now I'm wondering if I should add ".tool-versions" to detect changes in Ruby versions from asdf):
I had an issue where the
dotenv-rails
gem wasn't being loaded in my console. After lots of investigating I eventually ranspring stop
and that fixed the issue.In trying to learn more about Spring I've just read the README which says that:
In my case this didn't happen... I added the Gem to my Gemfile and spring mustn't have restarted. I later added
Dotenv::Railtie.load
to config/application.rb and spring still didn't restart.How can I investigate why these changes weren't detected automagically in my case?
I'm using macOS Catalina, Terminal, and fish shell. I'm using Rails 6.0.2.1 and asdf to manage versions.
My
spring.rb
file is unchanged from the default (although now I'm wondering if I should add ".tool-versions" to detect changes in Ruby versions from asdf):The text was updated successfully, but these errors were encountered: