{"action":"opened","issue":{"url":"https://api.github.com/repos/embulk/embulk/issues/276","labels_url":"https://api.github.com/repos/embulk/embulk/issues/276/labels{/name}","comments_url":"https://api.github.com/repos/embulk/embulk/issues/276/comments","events_url":"https://api.github.com/repos/embulk/embulk/issues/276/events","html_url":"https://github.com/embulk/embulk/issues/276","id":101282153,"number":276,"title":"Can not find plugin when use '-L' option.","user":{"login":"mikoto2000","id":345832,"avatar_url":"https://avatars.githubusercontent.com/u/345832?v=3","gravatar_id":"","url":"https://api.github.com/users/mikoto2000","html_url":"https://github.com/mikoto2000","followers_url":"https://api.github.com/users/mikoto2000/followers","following_url":"https://api.github.com/users/mikoto2000/following{/other_user}","gists_url":"https://api.github.com/users/mikoto2000/gists{/gist_id}","starred_url":"https://api.github.com/users/mikoto2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikoto2000/subscriptions","organizations_url":"https://api.github.com/users/mikoto2000/orgs","repos_url":"https://api.github.com/users/mikoto2000/repos","events_url":"https://api.github.com/users/mikoto2000/events{/privacy}","received_events_url":"https://api.github.com/users/mikoto2000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-16T17:27:16Z","updated_at":"2015-08-16T17:27:16Z","closed_at":null,"body":"Embulk version 0.6.24 can not find plugin when use '-L' option,\r\nbut version 0.6.21 can find it.\r\n\r\nIs there something that is considered to be the cause of that?\r\n\r\nBest regards.\r\n\r\n## Details\r\n\r\n### Environment\r\n\r\n- OS: Windows8.1 64bit\r\n- Java: 1.8.0.51\r\n- Embulk: 0.6.24\r\n\r\n### Steps to reproduce\r\n\r\nI try 'Quick Start' and 'Createing plugins'\r\n\r\n- [Quick Start](https://github.com/embulk/embulk#quick-start)\r\n- [Createing plugins](http://www.embulk.org/docs/customization.html#creating-plugins)\r\n\r\n```cmd\r\nPowerShell -Command \"& {Invoke-WebRequest http://dl.embulk.org/embulk-latest.jar -OutFile embulk.bat}\"\r\n\r\nembulk example ./try1\r\nembulk guess   ./try1/example.yml -o config.yml\r\nembulk preview config.yml\r\nembulk run     config.yml\r\n\r\nembulk.bat new java-filter first\r\n\r\ncd embulk-filter-first\r\ngradlew package\r\n\r\ncd ..\r\necho filters: [{ type: first, option1: 100 }] >> config.yml\r\n\r\nembulk.bat preview -L embulk-filter-first config.yml\r\n```\r\n\r\nI get this message when run \"embulk.bat preview -L embulk-filter-first config.yml\" command.\r\n(If use v0.6.21 binary, can find plugin.)\r\n\r\n#### stdout\r\n\r\n```\r\n2015-08-17 01:01:17.355 +0900: Embulk v0.6.24\r\norg.embulk.config.ConfigException: FilterPlugin 'first' is not found.\r\n(PluginLoadError) Unknown filter plugin 'first'. embulk/filter/first.rb is not installed. Run 'embulk gem search -rd embulk-filter' command to find plugins.\r\n\tat org.embulk.plugin.PluginManager.buildPluginNotFoundException(org/embulk/plugin/PluginManager.java:59)\r\n\tat org.embulk.plugin.PluginManager.newPlugin(org/embulk/plugin/PluginManager.java:44)\r\n\tat org.embulk.spi.ExecSession.newPlugin(org/embulk/spi/ExecSession.java:166)\r\n\tat org.embulk.spi.util.Filters.newFilterPlugins(org/embulk/spi/util/Filters.java:37)\r\n\tat org.embulk.spi.util.Filters.newFilterPluginsFromConfigSources(org/embulk/spi/util/Filters.java:30)\r\n\tat org.embulk.exec.PreviewExecutor.newFilterPlugins(org/embulk/exec/PreviewExecutor.java:83)\r\n\tat org.embulk.exec.PreviewExecutor.doPreview(org/embulk/exec/PreviewExecutor.java:90)\r\n\tat org.embulk.exec.PreviewExecutor.access$000(org/embulk/exec/PreviewExecutor.java:27)\r\n\tat org.embulk.exec.PreviewExecutor$1.run(org/embulk/exec/PreviewExecutor.java:67)\r\n\tat org.embulk.exec.PreviewExecutor$1.run(org/embulk/exec/PreviewExecutor.java:63)\r\n\tat org.embulk.spi.Exec.doWith(org/embulk/spi/Exec.java:25)\r\n\tat org.embulk.exec.PreviewExecutor.preview(org/embulk/exec/PreviewExecutor.java:63)\r\n\tat org.embulk.command.Runner.preview(org/embulk/command/Runner.java:283)\r\n\tat org.embulk.command.Runner.main(org/embulk/command/Runner.java:126)\r\n\tat RUBY.run(file:/C:/Users/mikoto/tmp/embulk/embulk.bat!/embulk/command/embulk_run.rb:370)\r\n\tat classpath_3a_embulk.command.embulk.(root)(classpath:embulk/command/embulk.rb:47)\r\n\tat classpath_3a_embulk.command.embulk.(root)(classpath_3a_embulk/command/classpath:embulk/command/embulk.rb:47)\r\n\tat org.embulk.cli.Main.main(org/embulk/cli/Main.java:11)\r\n\tSuppressed: org.embulk.plugin.PluginSourceNotMatchException\r\n\t\tat org.embulk.plugin.InjectedPluginSource.newPlugin(InjectedPluginSource.java:54)\r\n\t\tat org.embulk.plugin.PluginManager.newPlugin(PluginManager.java:38)\r\n\t\tat org.embulk.spi.ExecSession.newPlugin(ExecSession.java:166)\r\n\t\tat org.embulk.spi.util.Filters.newFilterPlugins(Filters.java:37)\r\n\t\tat org.embulk.spi.util.Filters.newFilterPluginsFromConfigSources(Filters.java:30)\r\n\t\tat org.embulk.exec.PreviewExecutor.newFilterPlugins(PreviewExecutor.java:83)\r\n\t\tat org.embulk.exec.PreviewExecutor.doPreview(PreviewExecutor.java:90)\r\n\t\tat org.embulk.exec.PreviewExecutor.access$000(PreviewExecutor.java:27)\r\n\t\tat org.embulk.exec.PreviewExecutor$1.run(PreviewExecutor.java:67)\r\n\t\tat org.embulk.exec.PreviewExecutor$1.run(PreviewExecutor.java:63)\r\n\t\tat org.embulk.spi.Exec.doWith(Exec.java:25)\r\n\t\tat org.embulk.exec.PreviewExecutor.preview(PreviewExecutor.java:63)\r\n\t\tat org.embulk.command.Runner.preview(Runner.java:283)\r\n\t\tat org.embulk.command.Runner.main(Runner.java:126)\r\n\t\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\t\tat sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\r\n\t\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\r\n\t\tat java.lang.reflect.Method.invoke(Unknown Source)\r\n\t\tat org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:471)\r\n\t\tat org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:329)\r\n\t\tat org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:56)\r\n\t\tat org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:346)\r\n\t\tat org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:204)\r\n\t\tat org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)\r\n\t\tat org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)\r\n\t\tat org.jruby.ast.RescueNode.executeBody(RescueNode.java:221)\r\n\t\tat org.jruby.ast.RescueNode.interpret(RescueNode.java:116)\r\n\t\tat org.jruby.ast.BeginNode.interpret(BeginNode.java:83)\r\n\t\tat org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)\r\n\t\tat org.jruby.ast.BlockNode.interpret(BlockNode.java:71)\r\n\t\tat org.jruby.ast.CaseNode.interpret(CaseNode.java:138)\r\n\t\tat org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)\r\n\t\tat org.jruby.ast.BlockNode.interpret(BlockNode.java:71)\r\n\t\tat org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)\r\n\t\tat org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:182)\r\n\t\tat org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:203)\r\n\t\tat org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:326)\r\n\t\tat org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:170)\r\n\t\tat classpath_3a_embulk.command.embulk.__file__(classpath:embulk/command/embulk.rb:47)\r\n\t\tat classpath_3a_embulk.command.embulk.load(classpath:embulk/command/embulk.rb)\r\n\t\tat org.jruby.Ruby.runScript(Ruby.java:867)\r\n\t\tat org.jruby.Ruby.runScript(Ruby.java:860)\r\n\t\tat org.jruby.Ruby.runNormally(Ruby.java:729)\r\n\t\tat org.jruby.Ruby.runFromMain(Ruby.java:578)\r\n\t\tat org.jruby.Main.doRunFromMain(Main.java:395)\r\n\t\tat org.jruby.Main.internalRun(Main.java:290)\r\n\t\tat org.jruby.Main.run(Main.java:217)\r\n\t\tat org.jruby.Main.main(Main.java:197)\r\n\t\tat org.embulk.cli.Main.main(Main.java:11)\r\n\tSuppressed: org.embulk.plugin.PluginSourceNotMatchException: org.jruby.exceptions.RaiseException: (PluginLoadError) Unknown filter plugin 'first'. embulk/filter/first.rb is not installed. Run 'embulk gem search -rd embulk-filter' command to find plugins.\r\n\t\tat org.embulk.jruby.JRubyPluginSource.newPlugin(JRubyPluginSource.java:69)\r\n\t\tat org.embulk.plugin.PluginManager.newPlugin(PluginManager.java:38)\r\n\t\tat org.embulk.spi.ExecSession.newPlugin(ExecSession.java:166)\r\n\t\tat org.embulk.spi.util.Filters.newFilterPlugins(Filters.java:37)\r\n\t\tat org.embulk.spi.util.Filters.newFilterPluginsFromConfigSources(Filters.java:30)\r\n\t\tat org.embulk.exec.PreviewExecutor.newFilterPlugins(PreviewExecutor.java:83)\r\n\t\tat org.embulk.exec.PreviewExecutor.doPreview(PreviewExecutor.java:90)\r\n\t\tat org.embulk.exec.PreviewExecutor.access$000(PreviewExecutor.java:27)\r\n\t\tat org.embulk.exec.PreviewExecutor$1.run(PreviewExecutor.java:67)\r\n\t\tat org.embulk.exec.PreviewExecutor$1.run(PreviewExecutor.java:63)\r\n\t\tat org.embulk.spi.Exec.doWith(Exec.java:25)\r\n\t\tat org.embulk.exec.PreviewExecutor.preview(PreviewExecutor.java:63)\r\n\t\tat org.embulk.command.Runner.preview(Runner.java:283)\r\n\t\tat org.embulk.command.Runner.main(Runner.java:126)\r\n\t\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\t\tat sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\r\n\t\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\r\n\t\tat java.lang.reflect.Method.invoke(Unknown Source)\r\n\t\tat org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:471)\r\n\t\tat org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:329)\r\n\t\tat org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:56)\r\n\t\tat org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:346)\r\n\t\tat org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:204)\r\n\t\tat org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)\r\n\t\tat org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)\r\n\t\tat org.jruby.ast.RescueNode.executeBody(RescueNode.java:221)\r\n\t\tat org.jruby.ast.RescueNode.interpret(RescueNode.java:116)\r\n\t\tat org.jruby.ast.BeginNode.interpret(BeginNode.java:83)\r\n\t\tat org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)\r\n\t\tat org.jruby.ast.BlockNode.interpret(BlockNode.java:71)\r\n\t\tat org.jruby.ast.CaseNode.interpret(CaseNode.java:138)\r\n\t\tat org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)\r\n\t\tat org.jruby.ast.BlockNode.interpret(BlockNode.java:71)\r\n\t\tat org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)\r\n\t\tat org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:182)\r\n\t\tat org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:203)\r\n\t\tat org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:326)\r\n\t\tat org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:170)\r\n\t\tat classpath_3a_embulk.command.embulk.__file__(classpath:embulk/command/embulk.rb:47)\r\n\t\tat classpath_3a_embulk.command.embulk.load(classpath:embulk/command/embulk.rb)\r\n\t\tat org.jruby.Ruby.runScript(Ruby.java:867)\r\n\t\tat org.jruby.Ruby.runScript(Ruby.java:860)\r\n\t\tat org.jruby.Ruby.runNormally(Ruby.java:729)\r\n\t\tat org.jruby.Ruby.runFromMain(Ruby.java:578)\r\n\t\tat org.jruby.Main.doRunFromMain(Main.java:395)\r\n\t\tat org.jruby.Main.internalRun(Main.java:290)\r\n\t\tat org.jruby.Main.run(Main.java:217)\r\n\t\tat org.jruby.Main.main(Main.java:197)\r\n\t\tat org.embulk.cli.Main.main(Main.java:11)\r\n\tCaused by: org.jruby.exceptions.RaiseException: (PluginLoadError) Unknown filter plugin 'first'. embulk/filter/first.rb is not installed. Run 'embulk gem search -rd embulk-filter' command to find plugins.\r\n\t\tat RUBY.lookup(file:/C:/Users/mikoto/tmp/embulk/embulk.bat!/embulk/plugin_registry.rb:32)\r\n\t\tat RUBY.lookup(file:/C:/Users/mikoto/tmp/embulk/embulk.bat!/embulk/plugin.rb:196)\r\n\t\tat RUBY.new_java_filter(file:/C:/Users/mikoto/tmp/embulk/embulk.bat!/embulk/plugin.rb:162)\r\n\t\tat RUBY.new_java_filter(/C:/Users/mikoto/tmp/embulk/embulk.bat!/META-INF/jruby.home/lib/ruby/1.9/forwardable.rb:201)\r\n\t\tat RUBY.run(file:/C:/Users/mikoto/tmp/embulk/embulk.bat!/embulk/command/embulk_run.rb:370)\r\n\t\tat classpath_3a_embulk.command.embulk.(root)(classpath:embulk/command/embulk.rb:47)\r\n\r\nError: FilterPlugin 'first' is not found.\r\n(PluginLoadError) Unknown filter plugin 'first'. embulk/filter/first.rb is not installed. Run 'embulk gem search -rd embulk-filter' command to find plugins.\r\n```\r\n\r\n\r\n#### stderr\r\n\r\n```\r\nio/console not supported; tty will not be manipulated\r\nfatal: Not a git repository (or any of the parent directories): .git\r\nEmbulk::PluginLoadError: Unknown filter plugin 'first'. embulk/filter/first.rb is not installed. Run 'embulk gem search -rd embulk-filter' command to find plugins.\r\n           lookup at file:/C:/Users/mikoto/tmp/embulk/embulk.bat!/embulk/plugin_registry.rb:32\r\n           lookup at file:/C:/Users/mikoto/tmp/embulk/embulk.bat!/embulk/plugin.rb:196\r\n  new_java_filter at file:/C:/Users/mikoto/tmp/embulk/embulk.bat!/embulk/plugin.rb:162\r\n  new_java_filter at /C:/Users/mikoto/tmp/embulk/embulk.bat!/META-INF/jruby.home/lib/ruby/1.9/forwardable.rb:201\r\n              run at file:/C:/Users/mikoto/tmp/embulk/embulk.bat!/embulk/command/embulk_run.rb:370\r\n           (root) at classpath:embulk/command/embulk.rb:47\r\n```"}}