Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue running specs with Rails beta installed #435

Closed
mrgilman opened this issue Nov 4, 2014 · 2 comments
Closed

Issue running specs with Rails beta installed #435

mrgilman opened this issue Nov 4, 2014 · 2 comments

Comments

@mrgilman
Copy link

mrgilman commented Nov 4, 2014

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. 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.

@jferris
Copy link
Member

jferris commented Nov 5, 2014

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.

@mrgilman
Copy link
Author

mrgilman commented Nov 5, 2014

Upgrading rubygems seems to fix it -- I was on 2.2.2. Thanks.

@mrgilman mrgilman closed this as completed Nov 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants