chruby
chruby copied to clipboard
Changes the current Ruby
Do you feel something for extracting "finding `.ruby-version` and reading its content" into a separate function like `__ruby_version_content`, and using that in the public `chruby_auto` function? There is only the...
Now that [Ruby has moved to Semantic Versioning](http://www.ruby-lang.org/en/news/2013/12/21/semantic-versioning-after-2-1-0/) it means each new release will have a unique `X.Y.Z` version. Since `GEM_HOME` is defined as `~/.gem/$ruby/X.Y.Z`, this means each new release...
First, there doesn't always exist [dir](https://rvm.io/binaries/debian/) for some particular distribution release, like `debian-7,8` (which I need now). And there doesn't always exist ruby for that particular release, like `2.0.0-p353` for...
I've managed to build a package for `debian` recently. So, firstly I wanted to report that the aforementioned directory is in the way of building the package (or rather creating...
I installed two versions of the same ruby version 1.) ruby-install ruby 2.2.0 > > > Successfully installed ruby 2.2.0 into /home/mike/.rubies/ruby-2.2.0 2.) cd /home/mike/manual_install_ruby-install_sudo/ruby-install-0.5.0/bin sudo ./ruby-install ruby 2.2.0 >...
I have many rubies, including 2.0.0 and 2.2.0-dev. Unexpectedly (to me), `chruby 2.0` chooses 2.2.0-dev instead of 2.0.0. Is this expected or documented? ``` $ chruby 1.8.7 1.8.7-p358 1.9.3 1.9.3-p545...
Eg: `chruby-exec 1.9.2 2.1.1 jruby -- gem update bundler` or `chruby-exec all -- gem update bundler`
"Embedded" Ruby environments like Vagrant and the Chef Development Kit have their own ideas for where things are supposed to be placed. Chef-DK in particular has its own preferred settings...
If `chruby-exec` were a function, it would always run in the current shell. It could also reuse other chruby functions. ## Pseudo Code ``` function chruby_exec() { (chruby $arguments &&...
We're trying to provide support for the `invoker` gem on Linux with `chruby`, as requested [here](https://github.com/code-mancers/invoker/issues/80). A bit of background about invoker: 1. It's a mashup of the features of...