Closed Ye-Yuan closed 9 years ago
I'm getting the same thing.
I see from other closed issues that this is a Dupe of #29, #30, & #31 which suggest updating rubygems and reinstalling the zentest gem I also tested just changing the gemspec line to ["< 2.1",">= 1.8"], and that seemed to work too.
Thank you!
Sent from my iPhone
On 24 apr 2013, at 20:11, John McCaffrey notifications@github.com wrote:
I see from other closed issues that this is a Dupe of #29, #30, & #31 which suggest updating rubygems and reinstalling the zentest gem I also tested just changing the gemspec line to ["< 2.1",">= 1.8"], and that seemed to work too.
— Reply to this email directly or view it on GitHub.
Hi, I'm having the same error. Running gem version ~1.8.0. After upgrading to ~2.0.3 the error went away.
Note for JRuby 1.7 + RVM users, you have to explicitly request latest-2.0 or it will refuse to install.
rvm rubygems latest-2.0
I'm using rbenv!
we've been getting this too: http://stackoverflow.com/questions/15006181/zentest-errors-preventing-autotest-from-running/15006306#15006306
@tansaku that is not the right fix. Please upgrade rubygems, uninstall zentest and reinstall zentest.
thanks - that does indeed appear to be a more stable fix :-)
I'm using rbenv and update rubygems worked for me
@zenspider I am running RubyGems 1.8.24 for a Ruby 1.8.7 / Rails 2.x rescue project in order to match the version of RubyGems that Heroku supplies.
My solution is to lock ZenTest to 4.8.3:
gem "ZenTest", "4.8.3" # Malformed gemspec in newer versions
Would agree with @nathany . It's also possible to edit the spec file with ["< 2.1, >= 1.8"]
-> [">= 1.8"]
. Rubygems v2 has some bugs yet so I'm forced to stick to rubygems -v 1.8.24 with ZenTest to 4.8.3
This has already been fixed
I am having problems getting this to work and I tried all the suggested fixes here.
that error message indicates that you need to prepend "sudo", i.e. "sudo gem uninstall ZenTest"
@zzak yeah, this has been fixed... but if I close it, someone opens a new one instead of searching through the tickets. shrug
I got it fixed. I edited the gems spec file by removing the ">=1.80" and now it works just fine.
In order to fix this:
Update rubygems and reinstall ZenTest
gem update --system gem uninstall ZenTest gem install ZenTest
Puh I didn't try it out for a long time and give it a try in the near future.
Since most people have moved on to newer versions of rubygems this issue seems moot. Closing for now...but I may reopen and just leave it forever if the issue rises again.
Update your rubygems, folks! It's good for you!
I had this issue, too--- the simplest solution is to remove the spaces in the requirements, i.e., from Gem::Requirement.new(["< 3.0", ">= 1.8"])
to Gem::Requirement.new(["<3.0", ">=1.8"])
. This will enable it to work with older rubies (1.9.3-p551
, in this case) even if you keep rubygems up-to-date.
Also, sorry for necroposting.
Illformed requirement ["< 2.1, >= 1.8"] Could not find ZenTest-4.9.1 in any of the sources
Just not sure why this happened when I trying to start rails server.