Use rbenv to pick a Ruby version for your application and guarantee that your development environment matches production. Put rbenv to work with Bundler for painless Ruby upgrades and bulletproof deployments. Powerful in development. Specify your app's Ruby version once, in a single file. Keep all your teammates on the same page. No headaches running apps on different versions of Ruby. Just Works™ from the command line and with app servers like Pow. Override the Ruby version anytime: just set an environment variable. Rock-solid in production. Your application's executables are its interface with ops. With rbenv and Bundler binstubs you'll never again need to cd in a cron job or Chef recipe to ensure you've selected the right runtime. The Ruby version dependency lives in one place—your app—so upgrades and rollbacks are atomic, even when you switch versions. One thing well. rbenv is concerned solely with switching Ruby versions. It's simple and predictable. A rich plugin ecosystem.

Features

  • Compile your own Ruby versions, or use the ruby-build plugin to automate the process
  • At a high level, rbenv intercepts Ruby commands using shim executables injected into your PATH, determines which Ruby version has been specified by your application
  • When you run a command like ruby or rake, your operating system searches through a list of directories to find an executable file with that name
  • rbenv works by inserting a directory of shims at the front of your PATH
  • Through a process called rehashing, rbenv maintains shims in that directory to match every Ruby command across every installed version of Ruby
  • Once rbenv has determined which version of Ruby your application has specified, it passes the command along to the corresponding Ruby installation

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow rbenv

rbenv Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of rbenv!

Additional Project Details

Operating Systems

Linux, Mac

Programming Language

Unix Shell

Related Categories

Unix Shell Integrated Development Environments (IDE), Unix Shell Software Development Software

Registered

2021-04-26