Narayan Choudhary
Narayan Choudhary

Reputation: 100

Error in installation of rhc gem

When i run command "gem install rhc" i get the following error

ERROR: Error installing rhc: invalid gem: package is corrupt, exception while verifying: undefined method `size' for nil:NilClass (NoMethodError) in C:/Ruby22/lib/ruby/gems/2.2.0/cache/rhc-1.38.4.gem

Upvotes: 0

Views: 191

Answers (1)

user2879327
user2879327

Reputation:

You need to use an older version of Ruby, try 1.9.3 or 2.0. The OpenShift RHC Gem has issues with Ruby 2.2

Upvotes: 1

Related Questions