-
Notifications
You must be signed in to change notification settings - Fork 25
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
Running script/test fails #127
Comments
I haven't encountered this before. Does |
Unfortunately, no. Here's the output from
If you haven't encountered this before, it could be an issue with my environment rather than this project. Do you recommend a method other than rbenv for installing Ruby? I just want to set up a clean development environment to work on Elastomer. |
I managed to reproduce the problem after switching from Ruby 2.1.6 to Ruby 2.2.4. Try switching to 2.1.6: rbenv install 2.1.6
rbenv global 2.1.6 I'm still not sure which gem provides the |
Switching to Ruby 2.1.6 solved the problem. There are some understandable errors when I run the script (due to things like Thank you for helping get to the bottom of this! 🏆 |
Cool, the workaround is to just switch to Ruby 2.1.6. However, there is still the problem that |
You're right, that's only a workaround. It looks like the breaking change was introduced in Ruby 2.2.0. I installed more versions of Ruby with rbenv and noted my findings below.
The minitest and test-unit versions are recorded because I think the issue is related to them changing / being removed from stdlib. (I noticed that minitest is required in test/test_helper.rb) A few articles cued me in to this. Ruby 2.2.0 Released
This last one—Feature #9711 - Remove test-unit and minitest from stdlib.—is the most interesting. Note # 14 on that page holds the key:
I am thinking through possible solutions based on these findings next. |
When I run
script/test
, I get the following error message:This is despite a successful run of
script/bootstrap
:I installed Ruby 2.2.4 using rbenv on Ubuntu 14.04.
Has anyone encountered this error before? I have not been able to determine if it is a missing gem issue or something else. Thank you!
The text was updated successfully, but these errors were encountered: