Mithun Sasidharan
Mithun Sasidharan

Reputation: 20920

Not able to run/install Gems using Gemfile

When i give bundle install or bundle exec i am getting this error

Could not find gem 'acts_as_ferret-0.4.4.gem (>= 0) ruby' in any of the gem sources listed in your Gemfile.

Apparently the first gem in the Gemfile is acts_as_ferret-0.4.4 and source is

source 'http://rubygems.org'

I tried other sources also but still not working!!!

Upvotes: 1

Views: 233

Answers (2)

Pete
Pete

Reputation: 10918

Looks like your gem identifier is misstyped if it cannot be found even if you try different sources. Did you try to remove the (>=0) ? I think that just says, 'get me any version' but you already specify the version as 0.4.4. Also I'm not too sure about the 'ruby' addition. Here the gem is listed as acts_as_ferret-0.4.4.gem

Upvotes: 0

Rasmus
Rasmus

Reputation: 554

As Pete is saying there probably is a problem with your gemfile Try to open it and see if your acts_as_ferret looks something like this.

gem "acts_as_ferret", "~> 0.5.3"

if not try and change it to the above

There is more info to be found on the gem on the github page https://github.com/jkraemer/acts_as_ferret

Upvotes: 1

Related Questions