Hi,

I'm trying to set up puppetserver for the first time.  I 
installed puppetserver 2.2.1-1puppetlabs1 on a trusty server with the 
Debian package.  I then installed r10k with 'puppetserver gem install r10k 
--no-ri --no-rdoc'. 

However the r10k binary is not in my path. It's 
in /opt/puppetlabs/server/data/puppetserver/jruby-gems/bin/r10k.  So the 
gem got installed.

Running that binary gives me:

root@puppet:/opt/puppetlabs# 
/opt/puppetlabs/server/data/puppetserver/jruby-gems/bin/r10k
/usr/bin/env: jruby: No such file or directory

Installing jruby from the ubuntu repos doesn't get it working. 
/usr/lib/jruby//lib/ruby/site_ruby/1.8/rubygems.rb:777:in 
`report_activate_error': Could not find RubyGem r10k (>= 0) (Gem::LoadError)

I can't find any information about setting up jruby regarding Puppetserver.

How can I fix this issue? 

Thanks in advance,

Rudy

root@puppet:/root# puppetserver gem list

*** LOCAL GEMS ***

colored (1.2)
cri (2.6.1)
faraday (0.9.2)
faraday_middleware (0.9.2)
faraday_middleware-multi_json (0.0.6)
hiera-eyaml (2.0.8)
highline (1.6.21)
jar-dependencies (0.1.13)
jruby-openssl (0.9.7 java)
json (1.8.0 java)
log4r (1.1.10)
minitar (0.5.4)
multi_json (1.11.2)
multipart-post (2.0.0)
puppet_forge (2.1.2)
r10k (2.1.1)
rake (10.1.0)
rdoc (4.1.2)
semantic_puppet (0.1.1)
trollop (2.1.2)

Thanks in advance,

Rudy

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/e281fb4a-f0a1-488d-8a46-794e5fd86132%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to