Domanda

I am trying to install metrical and it fails with

gem install metrical
ERROR:  Error installing metrical:
    churn requires churn (>= 0)

Trying the following also gives errors.

gem install churn 
ERROR:  Error installing churn:
    churn requires churn (>= 0)

Does anyone knows how to install churn when churn requires itself?

È stato utile?

Soluzione

The gem will not install properly through commandline because of its dependencies. https://github.com/iain/metrical/#usage

If you are working on rails app just add it in Gemfile

gem 'metrical', :require => false

then bundle install

this will install it will all proper dependencies

or else to install it from outside rails.

Create a Gemfile in any dummy direcory and add following lines

source 'https://rubygems.org'
gem 'metrical'

then run bundle install

worked for me.. Cheers

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top