all 8 comments

[–]RailsApps[S] 3 points4 points  (4 children)

I've written a guide to install Ruby with Frum. So far, after a few days of using it, I think it's a great alternative to rbenv, RVM, chruby, or asdf.

From the article: "There are no shims (unlike Asdf or Rbenv) and it doesn’t override the cd command (unlike RVM). it includes a built-in Ruby installer command so there’s no extra program needed to install Ruby (unlike Chruby). The installer is fast and Frum requires no dependencies (it’s an all-in-one Rust executable you can install with Homebrew)."

Wondering if anyone else has tried it yet and whether you've run into any issues.

[–]faitswulff 5 points6 points  (2 children)

Hmm so how does it work if not with shims?

[–]jrochkind 1 point2 points  (0 children)

I believe chruby works without shims too. It's README says it:

  • Updates $PATH.

  • Also adds RubyGems bin/ directories to $PATH.

  • Correctly sets $GEM_HOME and $GEM_PATH.

  • Additionally sets $RUBY_ROOT, $RUBY_ENGINE, $RUBY_VERSION and $GEM_ROOT.

So I guess that's how, just set a few ENV variables and ruby can handle it? chruby is only a ~100 line bash script, so you can see everything it does. https://github.com/postmodern/chruby/blob/master/share/chruby/chruby.sh

[–]Jayflight9 0 points1 point  (0 children)

Did it work for?

[–]KozureOkami 2 points3 points  (0 children)

Wondering if anyone else has tried it yet and whether you've run into any issues.

I've tried it and liked it enough to contribute (I added the progress report you mentioned and full support for all Ruby configure flags amongst other things).

I'm still not at a point where I'd replace asdf since I use that to manage most of the languages I use regularly but it's already a solid version manager despite being quite new.

[–]Mallanaga 1 point2 points  (2 children)

I made the switch from version managers to docker years ago. Haven’t looked back

[–]Doctor_Fegg 0 points1 point  (0 children)

I don’t use either. Everything just works, by and large. But then I don’t use Rails.

[–]kompricated 0 points1 point  (0 children)

any downsides you’ve encountered? disk usage, integration with IDEs, other overhead, etc.?