On 01/17/2014 05:34 PM, Martin Langhoff wrote: > On Fri, Jan 17, 2014 at 5:24 PM, Bill Nottingham <notting@xxxxxxxxxx> wrote: >> You need to make sure your transaction is pulling in classic ruby >> rather than jruby. > Well, ideally something in the dep data should indicate a preference, > and the depsolver should handle that. > > What's happening however is that I am getting both classic ruby (which > rubypick calls "ruby-mri") AND jruby installed. Yes as others have mentioned puppet requires ruby(release) which is satisfied by both ruby-mri and jruby http://pkgs.fedoraproject.org/cgit/puppet.git/tree/puppet.spec#n41 http://pkgs.fedoraproject.org/cgit/ruby.git/tree/ruby.spec#n211 http://pkgs.fedoraproject.org/cgit/jruby.git/tree/jruby.spec#n177 By installing one before hand, you are expressing your preference and from there on the package system will see the dependency as being resolved (eg when installing puppet). > Interestingly enough, after uninstalling jruby, rubypick still thinks > it's installed! Arg sounds like a bug, would file an issue: https://github.com/bkabrda/rubypick Rubypick is sort of a fedora-specific rvm like tool, it allows us to synergize with upstream practices while providing a powerful interface based on our tooling and methodology. A few of us have been working on a similar tool for bundler, as well as some generic ruby post processing tools here: https://github.com/bundlerext/bundler_ext https://github.com/ManageIQ/polisher > > [martin@tp-martin puppet-rlgold.git]$ ruby --help > This is Fedora's rubypick - a Ruby runtime chooser. You can use it > to execute Ruby programmes with any Fedora Ruby runtime. > These currently include: > Ruby - binary /usr/bin/ruby-mri - Installed > JRuby - binary /usr/bin/jruby - Installed > To run a specific runtime, use: > ruby _mri_ [params] > ruby _jruby_ [params] > The default is _mri_. > (...) > > [martin@tp-martin puppet-rlgold.git]$ stat /usr/bin/jruby > stat: cannot stat ‘/usr/bin/jruby’: No such file or directory > > The whole thing seems... suboptimal :-) > > We're working towards improving it! Any feedback & contributions would be more than appreciated! -Mo -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct