Ruby churn requires churn (>= 0) on installation
-
26-06-2021 - |
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?
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