home.social

#rbenv — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #rbenv, aggregated by home.social.

fetched live
  1. When I started learning 2013 and working on Ruby 2018, I used RVM on my workstation. On commercial projects, rbenv was very popular when setting up deployment (with Capistrano); to some extent, it was the unspoken standard on the server.
    I'm completely satisfied with RVM, but I'd like to have a more modern tool for working with Ruby versions. I think it will be an RV (github.com/spinel-coop/rv) in the near future. I recommend you install it and try it out.

    #Ruby #RV #RVM #Rbenv #VersionManager

  2. When I started learning 2013 and working on Ruby 2018, I used RVM on my workstation. On commercial projects, rbenv was very popular when setting up deployment (with Capistrano); to some extent, it was the unspoken standard on the server.
    I'm completely satisfied with RVM, but I'd like to have a more modern tool for working with Ruby versions. I think it will be an RV (github.com/spinel-coop/rv) in the near future. I recommend you install it and try it out.

    #Ruby #RV #RVM #Rbenv #VersionManager

  3. After a loong eight months, I've managed to get motivated to dig into my archives and publish another one of my basic #HOWTO articles.

    This time, it's with rbenv & Ruby.

    suburbanalities.blogspot.com/2
    #Ruby #Debian #rbenv #ruby-build

  4. After a loong eight months, I've managed to get motivated to dig into my archives and publish another one of my basic #HOWTO articles.

    This time, it's with rbenv & Ruby.

    suburbanalities.blogspot.com/2
    #Ruby #Debian #rbenv #ruby-build

  5. Time ago I resolved a #neovim lsp bug about mason plugin and #rbenv the #ruby environment handler. This is the issue explaining What was the problem and the workaround.

  6. Time ago I resolved a #neovim lsp bug about mason plugin and #rbenv the #ruby environment handler. This is the issue explaining What was the problem and the workaround.

  7. !Funny. Today I figured out that #rubyLsp and #Mason from #neovim are not friends when I'm using #rbenv Basically Mason try to install ruby-lsp and rubocop from the ruby version of my system but this crash with any version that I installed with rbenv.
    The workaround is uninstall ruby-lsp from mason and install all using gem.

  8. !Funny. Today I figured out that #rubyLsp and #Mason from #neovim are not friends when I'm using #rbenv Basically Mason try to install ruby-lsp and rubocop from the ruby version of my system but this crash with any version that I installed with rbenv.
    The workaround is uninstall ruby-lsp from mason and install all using gem.

  9. #rvm is an expert to hidde itself. Days ago I uninstall rvm in favour of #rbenv For some reason. Today I checked the $PATH env variable on my #ArchLinux and I noticed that .rvm/bin was there So I started to looking it for all home. whith the command `grep -RIn ".rvm/bin" ~` I founded it 3 places haha
    #ruby #rubyonrails

  10. #rvm is an expert to hidde itself. Days ago I uninstall rvm in favour of #rbenv For some reason. Today I checked the $PATH env variable on my #ArchLinux and I noticed that .rvm/bin was there So I started to looking it for all home. whith the command `grep -RIn ".rvm/bin" ~` I founded it 3 places haha
    #ruby #rubyonrails

  11. @jamiemccarthy @mistersql I don't have raw numbers because #chruby and #rbenv are not gems; they're shell hooks. However, @postmodern actively maintains chruby, and it doesn't need to be updated and rehashed for every upstream update or beta. It also has great support for the Fish shell.

    All of them have good use cases & some edge cases. For example, #RVM is "batteries included." I didn't care about how it hooks `cd` until I started using other apps that did, too.

    There's no wrong choice!

  12. @jamiemccarthy @mistersql I don't have raw numbers because #chruby and #rbenv are not gems; they're shell hooks. However, @postmodern actively maintains chruby, and it doesn't need to be updated and rehashed for every upstream update or beta. It also has great support for the Fish shell.

    All of them have good use cases & some edge cases. For example, #RVM is "batteries included." I didn't care about how it hooks `cd` until I started using other apps that did, too.

    There's no wrong choice!

  13. Don't forget to rebuild #ruby - when using #rbenv - and force a bundle install after upgrading #Debian.

  14. in search of a Ruby version manager
    I’ve tried just about every one except #chuby. I used #RVM, then #rbenv, then switched to #asdf and used that for 2+ years, but I could never remember the commands I needed.

    Recently switched to #frum, but that doesn’t seem to be well maintained and I’ve yet to be able to get a proper shebang working for CLI scripts that specifies the desired ruby version.

    I'd appreciate recommendations or links to good articles as well as boosts to the Ruby community.

  15. in search of a Ruby version manager
    I’ve tried just about every one except #chuby. I used #RVM, then #rbenv, then switched to #asdf and used that for 2+ years, but I could never remember the commands I needed.

    Recently switched to #frum, but that doesn’t seem to be well maintained and I’ve yet to be able to get a proper shebang working for CLI scripts that specifies the desired ruby version.

    I'd appreciate recommendations or links to good articles as well as boosts to the Ruby community.

  16. Does anybody know how to you say local, setting that is different from your systems, global Ruby version setting?

  17. :question: rbenv version not installed :zpancake:

    Install the Ruby build for the specified version using:

    `rbenv install x.x.x`

    If that fails, try:

    brew update && brew upgrade ruby-build

    then run

    `rbenv install x.x.x`

    again.

    #tips #ruby #rbenv #installation #configuration #bookmarked

  18. We're starting out with setting up #xcode and getting #rbenv and a good #ruby environment working. #brew helps, #nixdarwin will make sure it happens.

    so. many. tools. I wish #warp was ready for ecosystems like this so I'd just have to go `warp build` and be done with it.

    In this case, rbenv is also installing a version of #openssl. All good so far until there's a permissions error creating something on /usr/local/var.

    yikes

    sudo !! it is

  19. We're starting out with setting up #xcode and getting #rbenv and a good #ruby environment working. #brew helps, #nixdarwin will make sure it happens.

    so. many. tools. I wish #warp was ready for ecosystems like this so I'd just have to go `warp build` and be done with it.

    In this case, rbenv is also installing a version of #openssl. All good so far until there's a permissions error creating something on /usr/local/var.

    yikes

    sudo !! it is

  20. I wonder, if there's a way to get ruby-build to provide the most current #RubyVersion (3.2.0-preview3 at the moment, see ruby-lang.org/en/news/2022/11/) faster, than waiting for an update of the #Ruby definitions in github.com/rbenv/ruby-build and then a release.

    #rbenv #Ruby

  21. I wonder, if there's a way to get ruby-build to provide the most current #RubyVersion (3.2.0-preview3 at the moment, see ruby-lang.org/en/news/2022/11/) faster, than waiting for an update of the #Ruby definitions in github.com/rbenv/ruby-build and then a release.

    #rbenv #Ruby

  22. I wonder, if there is a way to get rbenv (or rather ruby-build) to provide the most current #RubyVersion (3.2.0-preview3 at the moment, see ruby-lang.org/en/news/2022/11/) faster than waiting for an update of the #Ruby definitions in github.com/rbenv/ruby-build and then a release.

    #rbenv #Ruby

  23. @ljwrites I nuked my #rbenv install at some point because it wasn't offering more recent #Ruby versions, so I replaced the apt-install in #WSL with a git checkout.
    Could probably just have copied over some dirs, but I figured I'd just start fresh rather than potentially tear out my (luscious long) hairs several weeks later not knowing the likely root cause...

    Hadn't touched Jekyll since then though...

  24. #WSL's System-installed version of #rbenv's #RubyBuild seems to be stuck on #Ruby 2.4.1 / 2.5.0-dev, so I'm reinstalling from git...

    sigh

  25. @nipos Also als Server-Admin läuft es mir dabei eher kalt den Rücken runter und ich habe #Mastodon erst mal nur in einer separaten VM installiert. Eigentlich müssen Sicherheits-Updates täglich automatisch eingespielt werden, denn wenn ein Bug bekannt ist, läuft die Zeit.
    Dieses #rbenv wirkt auf mich wie eine Verzweifelungstat um sich aus einer Abhängigkeitshölle zu befreien weil man die Komponenten eben nicht so einfach updaten kann. Damit kann man ja mehrere Versionen parallel installieren.

  26. @nipos Weißt Du wie die Versionen in #Ruby verwaltet werden? Mein Verständnis ist, dass #rbenv+#Bundler ein zusammenpassendes Set aus Ruby+#Gems installieren. Was passiert wenn in Ruby oder einem #Gem ein Sicherheitsloch gefunden wird? Braucht es dann erst ein neues #Mastodon mit neuem Dependency-File oder kann man auch immer die neueste Version jeder Komponente installieren? Bzw. anders gefragt: Sind Ruby+Gems verlässlich abwärtskompatibel?