Questions tagged [rbenv]

a simple version manager for Ruby, with a plugin system to modify its behaviour.

rbenv (downcased) is a tool to allow you to switch between multiple versions of Ruby. It's simple, unobtrusive, and follows the UNIX tradition of single-purpose tools that do one thing well.

Download

Useful plugins

Documentation

See Also

1170 questions
410
votes
32 answers

rbenv not changing ruby version

I installed rbenv according to the github directions. I am running OSX but I have tried this on a Ubuntu 12.04 VM and got the same results. The following is what i get in my terminal when I try to change ruby versions: rbenv versions * 1.9.3-p0 (set…
ajorgensen
  • 4,591
  • 3
  • 17
  • 16
249
votes
10 answers

Ruby Bundle Symbol not found: _SSLv2_client_method (LoadError)

I was doing attempting to do some updates to openssl using homebrew and I somehow managed to break everything. I can't do anything now, this is what I get when I try to do bundle install: $ bundle…
Lenek
  • 2,517
  • 2
  • 12
  • 9
163
votes
10 answers

The command rbenv install is missing

In Ubuntu 10.04 I just installed rbenv. The install command is not present. rbenv 0.4.0-49-g8b04303 Usage: rbenv [] Some useful rbenv commands are: commands List all available rbenv commands local Set or show the…
McDougall
  • 1,663
  • 2
  • 12
  • 8
146
votes
5 answers

How do RVM and rbenv actually work?

I am interested in how RVM and rbenv actually work. Obviously they swap between different versions of Ruby and gemsets, but how is this achieved? I had assumed they were simply updating symlinks, but having delved into the code (and I must admit my…
superluminary
  • 47,086
  • 25
  • 151
  • 148
104
votes
4 answers

uninstall ruby version from rbenv

How to uninstall or remove ruby version from rbenv. I have installed two versions of ruby. While switching to ruby 1.9.3, I am getting segmentation fault. Can anyone please help, how to remove a particular version from rbenv?
Thillai Narayanan
  • 4,766
  • 5
  • 32
  • 39
87
votes
8 answers

Cannot execute "rails console" due to an error with readline

I cannot execute rails console due to this error: localhost:TwitterForZombies wiz$ rails c /Users/wiz/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/irb/completion.rb:9:in `require':…
wiz
  • 2,887
  • 5
  • 18
  • 18
82
votes
3 answers

How do you uninstall rbenv on macOS?

How do you uninstall rbenv on macOS? My version of rbenv is messed up, and brew uninstall rbenv isn't working because brew relies on ruby.
williamcodes
  • 6,317
  • 8
  • 32
  • 55
64
votes
10 answers

rbenv install --list does not list version 2.1.2

I installed rbenv via Homebrew on an OS X 10.9.3 MacBook Pro: brew update brew upgrade rbenv ruby-build According to rbenv install --list on my laptop Ruby 2.1.0-dev is the latest.
levy
  • 833
  • 1
  • 6
  • 9
62
votes
7 answers

RVM equivalent for PHP?

I can't seem to find a way to switch versions of PHP quickly. Is there something equivalent to ruby version manager for php? I need to switch between 5.3 and 5.2 on OS X.
johmas
  • 669
  • 1
  • 5
  • 5
61
votes
3 answers

Rails 5.2.0 with Ruby 2.5.1 console - `warning:` `already` initialized constant FileUtils::VERSION

I'm currently experiencing an issue with my new rails application, more specifically: Rails 5.2.0 Ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin17] rvm 1.29.4 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin…
vchar
  • 956
  • 1
  • 11
  • 15
59
votes
13 answers

Bundle not working with rbenv

I'm trying to use bundler with rbenv. I has been working until today. The only thing I may have done to break it was gem pristine --all or gem cleanup ? When trying to install bundler i get the following error. Antarrs-MacBook-Pro:some-app…
Antarr Byrd
  • 24,863
  • 33
  • 100
  • 188
57
votes
1 answer

What are the differences between rbenv, rvm, and chruby?

I'm new-ish to Ruby and Rails. I am looking for a purely objective list of features and advantages/disadvantages of each. In an effort to keep preference out of this, please refrain from answering unless you have used all 3 systems.
Jordan
  • 1,879
  • 3
  • 19
  • 25
50
votes
7 answers

rbenv not showing the available ruby versions

I have installed rbenv in my vagrant machine but when I try to list all the available ruby versions rbenv versions then it gives me this output: system (set by /home/vagrant/.rbenv/version) Does anyone know what is this?
vivek
  • 2,807
  • 5
  • 31
  • 44
49
votes
7 answers

Install Latest Stable Version of Ruby Using rbenv

I want to install the latest stable version of Ruby available with rbenv. This feature won't be happening in rbenv itself. When I run the command rbenv install -l in my shell, I get a long list of available versions. The list has all types of…
user636044
48
votes
10 answers

Bundler not working with rbenv, could not find [gem]

I've just made the switch from rvm to rbenv and I'm trying to use bundler for gem management. After running bundle install and trying to run a simple sinatra app (ruby app.rb), I get this: Could not find haml-3.1.4 in any of the sources Run `bundle…
Uri
  • 2,306
  • 2
  • 24
  • 25
1
2 3
77 78