The Ruby on Rails image seems to be using rvm to handle Ruby. All fine and good.
I need to install ZenTest 4.7.0 which requires a high version of rubygems… But running gem update --system doesn’t seem to be doing the right thing. As much as it tells me the latest (2.4.1) is installed, when I run “gem install ZenTest -v 4.7.0”, I get a complaint that I’m using an old version of Rubygems.
What’s going on - how can I successfully install ZenTest?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
gem update --system will update rubygems to the latest version. This instead seems like a problem in the version checking done by older versions of ZenTest. For instance, I hit the same issue if I run gem install ZenTest -v 4.7.0 but if I install a more recent version of ZenTest it installs cleanly:
gem install ZenTest -v 4.10.1
Reading through this bug report, it looks like it might just be a confussing error message. The ZenTest version you are trying to install needs rubygems >= 1.8 but also < 2.1
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.