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 like to have spring in my projects' Gemfiles with require: false and only have Spring loaded when I manually choose to use it, by running something like bin/spring rspec spec/models
It would be nice if dotenv-rails instead checks defined?(Spring).
Steps to reproduce
dotenv-rails loads Spring.
dotenv/lib/dotenv/rails.rb
Line 14 in b86d9e4
I like to have spring in my projects' Gemfiles with
require: false
and only have Spring loaded when I manually choose to use it, by running something likebin/spring rspec spec/models
It would be nice if dotenv-rails instead checks
defined?(Spring)
.Expected behavior
bundle exec rails runner 'puts defined?(Spring)'
should output nothingActual behavior
bundle exec rails runner 'puts defined?(Spring)'
outputsconstant
System configuration
dotenv version: 3.1.2
Rails version: 7.1.4
Ruby version: 3.3.3
The text was updated successfully, but these errors were encountered: