-
Notifications
You must be signed in to change notification settings - Fork 15
Can't using Ruby Gems #28
Comments
Another information i'm using Windows 10, is this a impediment? |
Which gem is it that you're trying to install? |
I need use one script with the gem 'classifier-reborn', but i tried tests with 'chronic' (when i followed the steps of sample) and i cant't use this gem either. |
I was able to reproduce the issue. It seems JRuby changed the way they handle gem paths at some point. I'm looking into it. In the meantime, you can The JRuby runtime picks up on that environment variable even when running a scripting container. |
I've released version 1.3.5 that upgrades JRuby and fixes setting the default GEM_HOME. Give it a spin and see if it works. |
I replaced the vesion 1.3.4 for this. My other transformation with Ruby still working, but the script with "require 'chronic'" still not working.. "2018/12/20 10:31:10 - Ruby Script.0 - ERROR (version 7.1.0.0-12, build 1 from 2017-05-16 17.18.02 by buildguy) : Unexpected error |
You do have the chronic gem installed though, right? |
Off course! |
Hmm, seems like I had my GEM_HOME exported manually when I verified the last solution. Let me look at it again. In the meantime, having GEM_HOME set as an environment variable seems to work as a workaround. |
Just released 1.3.6, would you like to give that a test? |
Don't work yet. |
Hello everybody,
Maybe this doubt seems to be very simple, but I'm caught in there a lot of time.
First i follow the steps from the samples using de JRuby to install a gem in the Ruby Extension directory (inside and outsid of directory "../data-integration\plugins\ruby-for-pentaho-kettle\gems").
In this case i receive the Error message: " org.jruby.embed.EvalFailedException: (LoadError) no such file to load -- chronic"
I tryin change RUBY_GEM_HOME and GEM_HOME like the Sample, but in this case the Ruby Extension crash and not work.
I need to point out that i use the Extension in many projects in Production Environment.
If anybody have a little video, images or a clear explanation of how you configure the environment to use Gems I would be very grateful.
Thank u everybody.
The text was updated successfully, but these errors were encountered: