Questions tagged [ruby-install]

ruby-install is a command-line tool (oft paired with chruby) for installing various Ruby versions on Unix-like systems.

ruby-install is a command-line tool (oft paired with chruby) for installing various Ruby versions.

20 questions
28
votes
6 answers

How to uninstall ruby installed by ruby-install

I have many rubies installed by ruby-install under ~/.rubies: ls .rubies ruby-1.9.3-p545 ruby-2.0.0-p598 ruby-2.1.3 ruby-2.1.5 ruby-2.0.0-p451 ruby-2.1.2 ruby-2.1.4 ruby-2.2.0 I want to uninstall one of the ruby installed by…
Juanito Fatas
  • 9,419
  • 9
  • 46
  • 70
11
votes
4 answers

ruby-install fails when installing ruby 2.6.x and 3.0.x on mac osx 11.6

When running ruby-install, it fails to build. This also reported in rbenv issues (https://github.com/rbenv/ruby-build/issues/1725). for example when installing ruby 2.6.8 # installing via ruby-install ( https://github.com/postmodern/ruby-install…
mirageglobe
  • 2,446
  • 2
  • 24
  • 30
8
votes
1 answer

Error installing Ruby 3.1.2 on macOS 12.5

I'm trying to install Ruby 3.1.2 on macOS 12.5, using chruby as my version manager. Running ruby-install ruby, I get this error: >>> Extracting ruby-3.1.2.tar.xz to /Users/justin/src/ruby-3.1.2 ... /usr/local/bin/../share/ruby-install/util.sh: line…
Justin
  • 81
  • 2
5
votes
4 answers

Why isn't chruby saving my default Ruby?

I'm setting up a new machine and trying to install Ruby with chruby. I used ruby-install to install both ruby 2.3 and 2.1.2 because that's what everybody else on my team is running. When I run chruby I get: ruby-2.1.2 ruby-2.3.0 Then I…
Gambai
  • 651
  • 1
  • 7
  • 25
4
votes
4 answers

Why is my React Native Pod Install Erroring?

Trying to run pod install in a new React Native project and getting this error. Ruby is installed with brew I have installed chruby and ruby-install, which I have then used to install ruby-2.7.5 cocopods, ffi and bundler. When trying bundler to…
EddyWD
  • 197
  • 2
  • 15
4
votes
3 answers

Trouble with OpenSSL on RHEL 6.3 and all Ruby installers

OpenSSL does not appear to be compiling correctly when installing any version of Ruby on our RHEL 6.3 system. I have been trying to leave user installs of RVM behind and replace them with root installs via ruby-install and chruby. OpenSSL works…
juanitogan
  • 1,698
  • 1
  • 22
  • 37
3
votes
0 answers

Not able Install ruby 2.2.4 in mac os 10.15.6 catalina-openssl, ruby, zlib failing error

I'm trying to install ruby 2.2.4 in mac os catalina 10.15.6 and it failing: Error running 'env GEM_HOME=/Users/asmitakalena/.rvm/gems/ruby-2.2.4@global GEM_PATH= /Users/asmitakalena/.rvm/rubies/ruby-2.2.4/bin/ruby -d…
Asmita
  • 183
  • 2
  • 14
1
vote
2 answers

cannot install ruby using rvm as an unprivileged user with no sudo privileges

According to the rvm documentation at https://rvm.io/rvm/install it should be possible to install rvm, and subsequently a ruby, as a non-privileged user. Under troubleshooting at https://rvm.io/support/troubleshooting it states: Any user in the…
Gary Aitken
  • 233
  • 2
  • 12
1
vote
1 answer

In Rails, how do you have multiple versions of puma-dev running on different versions of Ruby via ruby-install?

I have many different Rails apps using puma-dev. I have started a new Rails app using Ruby 3+ which works great on localhost, however when I visit the site via puma-dev I get an error. This is because I think puma-dev is using the wrong version of…
CafeHey
  • 5,699
  • 19
  • 82
  • 145
1
vote
2 answers

RIDK install: error: database 'mingw32' is not valid (invalid or corrupted database (PGP signature))

I get this error when trying to install MSYS2/MINGW: >ridk install 1 - MSYS2 base installation 2 - MSYS2 system update 3 - MSYS2 and MINGW development toolchain Which components shall be installed? If unsure press ENTER [1,2,3] 3 MSYS2…
Chloe
  • 25,162
  • 40
  • 190
  • 357
1
vote
1 answer

ruby-install to install latest ruby?

Right now the latest ruby my ruby-install will install is 2.3.0, but ruby 2.3.1 was released about 45 days ago. Is there a step I need to do do have ruby-install have the ability install the latest?
pixelearth
  • 13,674
  • 10
  • 62
  • 110
1
vote
1 answer

Can't find ruby or gem commands after doing ruby-install in Ubuntu

I have installed ruby 1.9.3 in my Ubuntu 12.04 machine following the instructions in https://github.com/postmodern/ruby-install and executing the following command: sudo ruby-install ruby 1.9.3 I was assuming this would link from my /usr/bin or…
zapatilla
  • 1,711
  • 3
  • 22
  • 38
1
vote
2 answers

How does ruby-install work?

After installation of multiple rubies by ruby-install, how to use a specific installation of ruby? Should a ruby be accessed by absolute path, or depends on some environment path like rvm?
ohho
  • 50,879
  • 75
  • 256
  • 383
0
votes
1 answer

Issues installing/updating Bundler

I have tried this a number of different ways. First I tried with RVM and it was just error after error and missing dependencies. Then I tried Rbenv and it was very much the same. Now, I have a combo of chruby and ruby-install to handle my versions…
arcaderob
  • 481
  • 1
  • 7
  • 21
0
votes
1 answer

How to install a preview release of Ruby with ruby-install

Is it possible to install preview releases of Ruby through ruby-install? If it is possible, how could I do it?
Juanito Fatas
  • 9,419
  • 9
  • 46
  • 70
1
2