Trying to install activemq on an Oracle Linux 7.2 box. Using puppetlabs-release-pc1-1.0.0-1 which has puppetserver version 2.2.1.
Below is the command I ran and the resulting error message. I'm not a java guy. Any advice appreciated. -- Thanks.
[puppet ~]# puppetserver gem install activemq
Building native extensions. This could take a while...
ERROR: Error installing activemq:
ERROR: Failed to build gem native extension.
java -jar /opt/puppetlabs/server/apps/puppetserver/puppet-server-release.jar -r ./siteconf20151211-4760-1jn5vxr.rb extconf.rb
Error(s) occurred while parsing command-line arguments: Unknown option: "-r"
-d, --debug Turns on debug mode
-b, --bootstrap-config BOOTSTRAP-CONFIG-FILE Path to bootstrap config file
-c, --config CONFIG-PATH Path to a configuration file or directory of configuration files, or a comma-separated list of such paths.See the documentation for a list of supported file types.
-p, --plugins PLUGINS-DIRECTORY Path to directory plugin .jars
-h, --help Show help
extconf failed, uncaught signal 1
Gem files will remain installed in /opt/puppetlabs/server/data/puppetserver/jruby-gems/gems/rice-2.0.0 for inspection.
Results logged to /opt/puppetlabs/server/data/puppetserver/jruby-gems/extensions/universal-java-1.8/1.9/rice-2.0.0/gem_make.out
--