-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NameError when installing plugins #2674
Comments
ran with debug:
|
Might have to do with 9e7d620 |
Actually it might have to do with the lack of that commit. Seems like that isn't in 1.5 yet. Trying master... |
Same problem on master. |
Facing this same problem with master, |
Cool. I finally just tried the beta from http://www.elasticsearch.org/overview/logstash/download/ and that is working so I'm going to continue my plugin development from there for now. |
/cc @ph @colinsurprenant @jsvd |
@joekiller What you can do is to add this line to your Gemfile:
|
Oups too fast on the enter key. After adding the line you will need to do run this command
|
@joekiller note that you only need to run the command once to make logstash add your plugin to his loading paths. |
@joekiller, what @ph said. I also encourage you to use current master instead of beta1 in http://www.elasticsearch.org/overview/logstash/download/ - we are approaching RC1 and, frankly, any issue you can report will help us iron it out! |
I'll try the Just to confirm as y'all suspect, if I install the latest beta from the download page, I get If I run
|
@joekiller you cannot install a local you have to add it manually in the gem 'mynewplugin', :path => '~/path/to/the-plugin' and execute: bin/plugin install --no-verify |
@joekiller arggghh sorry, you cannot specify a path to a so, do not build your gem, simply point |
@colinsurprenant yup I got it to install with the non-built gem directory as you said. I then hit
Interestingly enough, if I run the process via the logstash user, it works so it might be a startup script issue at this point. Still digging... |
@joekiller are you running directly from master or are you generating a |
Running out of |
So I get the |
lol, just saw #2671 come through on master and that might fix this second part. Testing... |
Nope. Opening another issue for the GemfileNotFound. I have narrowed it down. |
@joekiller Can you check if you have a |
Yeah everything works if I delete .bundle/config #2681 gives the details of the bug otherwise. |
Closing this in lieu of #2681 |
I'm trying to install any plugin and getting the following error
I get the
Error reading plugin file ... caused by NameError
for any plugin I try to install. Tips?The text was updated successfully, but these errors were encountered: