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
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
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