#rbenv — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #rbenv, aggregated by home.social.
-
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 (https://github.com/spinel-coop/rv) in the near future. I recommend you install it and try it out. -
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 (https://github.com/spinel-coop/rv) in the near future. I recommend you install it and try it out. -
!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. -
!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. -
#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 -
#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 -
@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!
-
@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!
-
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.
-
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.
-
Does anybody know how to you say #RubyAppAndAnotherDirectTreeFromWhereThatAppIsInstalledAndThatAppHasA #rbenv local, setting that is different from your systems, global Ruby version setting?
-
Does anybody know how to you say #RubyAppAndAnotherDirectTreeFromWhereThatAppIsInstalledAndThatAppHasA #rbenv local, setting that is different from your systems, global Ruby version setting?
-
: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.
-
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
-
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
-
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 https://www.ruby-lang.org/en/news/2022/11/11/ruby-3-2-0-preview3-released/) faster, than waiting for an update of the #Ruby definitions in https://github.com/rbenv/ruby-build and then a release.
-
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 https://www.ruby-lang.org/en/news/2022/11/11/ruby-3-2-0-preview3-released/) faster, than waiting for an update of the #Ruby definitions in https://github.com/rbenv/ruby-build and then a release.
-
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 https://www.ruby-lang.org/en/news/2022/11/11/ruby-3-2-0-preview3-released/) faster than waiting for an update of the #Ruby definitions in https://github.com/rbenv/ruby-build and then a release.
-
Another blog post: 'Getting Started with Ruby and rbenv on a Raspberry Pi' ➙ https://seasidetesting.com/2022/11/10/getting-started-with-ruby-and-rbenv-on-a-raspberry-pi/
#Ruby #Raspberry #rbenv -
@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...
-
#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
-
@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. -
@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?