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

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
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