My PATH is set with the /opt/ruby/bin pointer in the front. When I run /usr/bin/env on *any* of the many RHEL5 systems I have, it just hangs. Some of these I didn't set up, some are just stock RHEL installs. So I don't know whether this is a configuration problem or not.
By install script, I meant one that actually installs mcollective. Regardless of /usr/bin/env I think this makes some sense for people that want to do a manual install vs. RPM. As for the PATH issue with ruby, I suppose that's everyone's personal choice. I could use 'alternatives' to create links in standard locations to help mitigate PATH issues, of course. Thanks. > > This allowed me to get the product installed; however, it failed > > with the /usr/bin/env -- so when I ran the commands, the 'require' > > for mcollective didn't work (presumably because the installation wasn't > > done properly, as it would have installed into the Enterprise Ruby > > directory. > > > The Enterprise Ruby executable is in my $PATH -- though the PATH > > variable points to a symlink that goes to the full version named > > directory -- shouldn't make a difference here. > > This is exactly why we use /usr/bin/env and not a hard coded path to your > ruby since everyone's ruby is different. > > /usr/bin/env will search your PATH and use the first one, I suspect you > have a local setup problem. > > > > > Shouldn't the mcollective tarball have a script to facilitate a > > manual install? That would be a good place to override/set some > > variables. > > No I dont think we should have an install script that edit every ruby > script on install since this doesnt solve the problem - you will also > be installing other scripts from the plugins repo or what you found on > github etc. > > Set your environment up correctly so that /usr/bin/env does what its > supposed to do and it will work fine. If I add a custom ruby to the > beginning of my PATH environment the mcollective scrips all just use > that ruby without a problem. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.