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 installed Rails 4.2.0.beta4 on my machine, and wasn't able to run the specs for suspenders with Rails version 4.1.7. The error was LoadError: cannot load such file -- active_job/railtie.
I think this is because of the use of Bundler.with_clean_envhere -- Bundler will use the newest version of Rails on my machine instead of the one specified in the Gemfile. The application.rb template comes from Rails 4.2, which includes the active_job/railtie directory, while 4.1 does not.
I think that removing the with_clean_env block has other consequences, so I'm not sure what the fix is.
The text was updated successfully, but these errors were encountered:
We previously had issues with Suspenders picking up odd versions of Rails, but I thought this was fixed. See #365 for the lengthy discussion and debugging process.
What version of Ruby gems do you have installed? I think there was a bug with prereleases which was fixed in 2.4.2.
I installed Rails 4.2.0.beta4 on my machine, and wasn't able to run the specs for suspenders with Rails version 4.1.7. The error was
LoadError: cannot load such file -- active_job/railtie
.I think this is because of the use of
Bundler.with_clean_env
here -- Bundler will use the newest version of Rails on my machine instead of the one specified in the Gemfile. Theapplication.rb
template comes from Rails 4.2, which includes theactive_job/railtie
directory, while 4.1 does not.I think that removing the
with_clean_env
block has other consequences, so I'm not sure what the fix is.The text was updated successfully, but these errors were encountered: