Re: [Puppet Users] Using gem from new puppetserver custom function?

2014-10-17 Thread Kevin Corcoran
I just spent a little time looking into this, and the json gem appears to work just fine under JRuby. It looks like there *used* to be a gem called json-jruby that could be used instead, but it appears that it has now been merged into json - so, long story short, 'json' should work just fine.

[Puppet Users] Using gem from new puppetserver custom function?

2014-10-15 Thread Schofield
I am testing out the new puppetserver https://github.com/puppetlabs/puppet-server/blob/master/documentation/install_from_packages.markdownand finding a problem with referencing a gem installed to the local ruby. A custom function is installed to

Re: [Puppet Users] Using gem from new puppetserver custom function?

2014-10-15 Thread Kylo Ginsberg
On Wed, Oct 15, 2014 at 11:50 AM, Schofield dbschofi...@gmail.com wrote: I am testing out the new puppetserver https://github.com/puppetlabs/puppet-server/blob/master/documentation/install_from_packages.markdownand finding a problem with referencing a gem installed to the local ruby. A

Re: [Puppet Users] Using gem from new puppetserver custom function?

2014-10-15 Thread Schofield
Thanks for the reply. That does indeed look to be the solution. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To

Re: [Puppet Users] Using gem from new puppetserver custom function?

2014-10-15 Thread Corey Osman
Piggybacking off the same topic. I have a few parsers that use the JSON gem so require 'json' is at the top of my parser which requires the native C extensions. Does the new puppet server come with a jrbuy version of the json gem that contains the functions? How would I write a parser that