Archit Arora
Archit Arora

Reputation: 2626

Invalid gemspec (Ruby on Rails)

I have successfully installed ruby on rails on Linux raspberrypi 3.10.25+. Ruby version is ruby 1.9.3p194. I imported a ruby on rails based project from github (https://github.com/iobridge/thingspeak). Using the command line I went into project's directory and ran "bundle install" and got the following error. Please note that not even a single bundle was installed.

Installing rake 10.3.1
Invalid gemspec in [/tmp/bundler20140528-7444-ym92r7/ZenTest-4.9.5/specifications/ZenTest-4.9.5.gemspec]: Illformed requirement ["< 3.0, >= 1.8"]
Installing ZenTest 4.9.5
Using i18n 0.6.9
Invalid gemspec in [/var/lib/gems/1.9.1/specifications/ZenTest-4.9.5.gemspec]: Illformed requirement ["< 3.0, >= 1.8"]
Installing minitest 4.7.5
Invalid gemspec in [/var/lib/gems/1.9.1/specifications/ZenTest-4.9.5.gemspec]: Illformed requirement ["< 3.0, >= 1.8"]

The same error was shown for all the bundles.

How do I fix this? thanks!

Upvotes: 1

Views: 1986

Answers (1)

Kostas Rousis
Kostas Rousis

Reputation: 6068

This is a known issue. Upgrade your RubyGems and remove and install again the ZenTest gem:

gem update --system
gem uninstall ZenTest
gem install ZenTest

Upvotes: 1

Related Questions