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
Spring v1.6.0 broken on ruby 2.1.6 #457
Comments
hey. Can you help me recreate this? I did following:
Did you get error just on |
I added following to acceptance test:
And following are passing travis builds of ruby 2.1.6: |
Okay. I finally reproduced it. If you are inside a folder which has
Bundler setup overrides the $LOAD_PATH with gems in
It can be fixed if |
Hey @sonalkr132 thanks for looking into this. It's hard to imagine a quick fix for this. A more involved fix would require using |
Hello,
it works fine on my iMac, but i removed it from nitrous.io. on nitrous.io its not working ( ruby 2.2.1 and rails 4.2.5 ) |
👍 6fc09c0 fixes the issue for me as well |
I don't think 6fc09c0 is the best way to fix this, see my comment on #455 |
Rather than from the Spring client process. See https://github.com/rails/spring/pull/455/files#r48411471 Within the app process, we'll have access to the spring config, to see whether Spring.quiet has been set. This means we can remove the spring/commands require from the client side, which should never have been added and caused problems (#456, #457). I'm getting rid of the feature which omits this message when run manually (i.e. `spring rails runner ...` rather than `bin/rails runner ...`) because: 1. It makes the implementation more complicated 2. YAGNI
I think v1.6.2 (just released) solves this. Please reopen if not. |
Thanks! |
❤️ thx for fixing this nastiness :) |
I'm getting this backtrace when running
spring -v
.I believe this was caused by this line. I'll see if I can figure out what the proper fix is.
The text was updated successfully, but these errors were encountered: