Hi. Is there a way to install executables in a gem to /usr/local/bin or automatically create symlinks there? I tried 'gem install --bindir /usr/local/bin gem_name-version.gem' which kinda works, but is not exactly what I wanted.
workmad3: Thanks. That is what I would do, if I was allowed to do so. I install it on multiple servers here, but the administrator does not want me to modify the default path. The gem will be installed as root.
Is there a way to dynamically add the local gem installation directory to the $PATH depending on the actual ruby version? I don't want to update everytime I update to a new version.
atmosx: I used those. But at the moment I try to stick with the latest version coming from the OS
atmosx: Ok. Not a big deal, but I thought this might be a common problem and there would be a solution in ruby or gem iteself.
atmosx: I had other issues with rvm. That's why I tried to get rid of it. I liked the idea of rvm though.
atmosx: Sometimes I get errors like this when I try to build something which uses bundler: ..../rubygems/dependency.rb:296:in `to_specs': Could not find 'bundler' (>= 0)