Software⏱️ 3 min read📅 2026-06-15

How to Fix: rvm Error running './configure

rvm installation fails due to ./configure error, solution provided.

Quick Answer: Check the system's openssl certificates and update them if necessary.

Error running './configure' with rvm on macOS is frustrating when trying to install Ruby versions. This error affects users who have recently migrated their MacBook and are attempting to reinstall rvm.

The issue occurs due to a lack of binary rubies available for the desired Ruby version, 2.3.3. It's essential to resolve this problem to successfully install Ruby.

⚠️ Common Causes

  • The primary cause of this error is that the system ruby (ruby 2.5.0) does not support the desired Ruby version (ruby 2.3.3). This is because rvm uses the system's installed Ruby as a base for installation, and the desired version may not be compatible with the system's architecture or other dependencies.
  • An alternative cause could be related to the OpenSSL library, which might require specific configuration during the installation process.

🛠️ Step-by-Step Verified Fixes

Update System Ruby and rvm

  1. Step 1: Open Terminal on your Macbook and type 'ruby -v' to check the current system ruby version.
  2. Step 2: If the system ruby version is not compatible with the desired Ruby version, update it by downloading and installing a newer version using Homebrew or another package manager. For example: 'brew install ruby@2.5' (assuming you want to upgrade to 2.5.x).
  3. Step 3: After updating the system ruby version, run 'rvm reinstall 2.3.3' to reconfigure rvm and install the desired Ruby version.

Adjust Configuration for Desired Ruby Version

  1. Step 1: Check the configuration log file (located in '.rvm/log/') for any errors or warnings related to the installation process.
  2. Step 2: If you find any issues, adjust the configuration settings by editing the '/Users/Coda/.rvm/config.rb' file. You can do this using a text editor like 'nano' or 'vim'.
  3. Step 3: Specifically, look for lines that might be causing conflicts with the desired Ruby version and make adjustments as needed.

💡 Conclusion

To resolve the error running './configure' with rvm on macOS, update your system ruby version to ensure compatibility with the desired Ruby version. If necessary, adjust configuration settings to resolve any issues during installation.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions