Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

error parsing Gemfile: There was a NoMethodError (undefined method `metadata=' ) #1

Open
adewaguru opened this issue Sep 2, 2015 · 1 comment

Comments

@adewaguru
Copy link

When I try to run Bundle install it throws following error.

OS - Ubuntu server 14.0.3
ruby version- 1.9.3p484
jruby version- jruby 1.5.6
gem version - 1.8.23

[!] There was an error parsing Gemfile: There was a NoMethodError while loading logstash-input-dynamodb.gemspec:
undefined method metadata=' for #<Gem::Specification name=logstash-input-dynamodb version=1.0.0> from /home/ubuntu/logstash-input-dynamodb/logstash-input-dynamodb.gemspec:19:inblock in

'
. Bundler cannot continue.

from /home/ubuntu/logstash-input-dynamodb/Gemfile:2

-------------------------------------------

source 'https://rubygems.org'

gemspec

-------------------------------------------

@ajoy123
Copy link

ajoy123 commented Nov 15, 2015

I had exactly the same problem but from http://stackoverflow.com/questions/32344755/cannot-install-dynamodb-logstash-plugin-in-ubuntu, I downloaded jruby http://jruby.org/download and then used the ruby under downloaded jruby C:\jruby-9.0.4\bin\gem install bundler and that did the trick. everything else worked after that. Hopefully that worked for you. Cheers.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants