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
0
votes
1 answer

Install ohmyzsh or homebrew first?

In a clean, new environment, I'm wondering if it makes any difference (like for $PATH, for instance) whether to install Oh-My-Zsh or Homebrew first. I'll be brewing rbenv (and its resulting shims) with this setup and I'm not always confident I…
ele
  • 6,021
  • 5
  • 25
  • 35
0
votes
0 answers

rbenv - Change app ruby version but still looking in older ruby version for gem

Error message is: MissingSourceFile in QuotesController#accept no such file to load -- echo_sign /Users/martin/.rbenv/versions/1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in…
martincarlin87
  • 10,848
  • 24
  • 98
  • 145
0
votes
1 answer

`rbenv rehash` not generating shims (using rbenv-gemset plugin)

I'm using rbenv and rbenv-gemset to manage the gems for a middleman project. Even though I've run the rbenv rehash command, the shim for middleman does not exist: → middleman git:(master) × rbenv which middleman rbenv: middleman: command not…
asgeo1
  • 9,028
  • 6
  • 63
  • 85
0
votes
2 answers

does rbenv set the PATH variable to point to the correct ruby?

I installed rbenv and it seems and copied 2 versions of ruby to ~/.rbenv/versions, it shows them both correctly. When I run rbenv global 1.8.7-p72 It says ok and also points to it. However when I run-- ruby --version I get ruby not found.…
Aman Gupta
  • 557
  • 1
  • 8
  • 23
0
votes
1 answer

Is there any to install rbenv offline?

I am trying to install rbenv without the internet. Unlike RVM which has a whole page dedicated to offline installation, I could not find anything similar to that for rbenv. Is there any way to install it offline? Also a way to add different versions…
Aman Gupta
  • 557
  • 1
  • 8
  • 23
0
votes
1 answer

Capistrano error: no servers found to match {:once=>true, :eof=>true}

Just updated my gems and no I get the following error when I try to run any cap command. no servers found to match {:once=>true, :eof=>true} My gem versions are: capistrano (2.15.5) capistrano-platform-resources (0.1.3) capistrano-rbenv…
David Tuite
  • 22,258
  • 25
  • 106
  • 176
0
votes
0 answers

Issues installing ActiveTcl with rbenv

ActiveTcl installed properly. Then,I tried: CONFIGURE_OPTS="--with-tcl-dir=/opt/ActiveTcl-8.6 --enable-pthread" rbenv install 1.9.3-p429 Which resulted in "BUILD FAILED". Now, no Ruby version will install. I'm using rbenv and never had trouble…
clyde
  • 21
  • 5
0
votes
0 answers

Install Ruby 2.0.0-p247 with rbenv and erro in /tmp/ruby

I'm trying to install Ruby 2.0.0-p247 with rbenv and I keep getting the same error no matter what I do. Here's the command and response: ➜ ~ rbenv install 2.0.0-p247 Downloading ruby-2.0.0-p247.tar.gz... ->…
0
votes
3 answers

I want to use ruby1.9.3 in my Mac, but it still using ruby1.8.7 after I installed the ruby1.9.3

As you know, Ruby is pre-installed in Mac and it's version is 1.8.7 [zhuhuihuihui@akematoMac-mini ~] $ ruby --version ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0] For some reasons, i need to use Ruby-1.9.3 instead. Basically, i…
Scott Zhu
  • 8,341
  • 6
  • 31
  • 38
0
votes
0 answers

Why can't I install Gosu into my rbenv Ruby?

I installed rbenv yesterday to install Gosu. I followed "How to Install Rbenv on OS X" and everything worked fine. Today, I started a new Gosu project, and it gave me this error: my_game.rb:1:in `require': no such file to load -- gosu…
Roald
  • 231
  • 1
  • 12
0
votes
1 answer

How install ruby with rbenv install 1.9.3-p448 ubuntu 12.04 vagrant box?

can anybody help me how install ruby with rbenv install 1.9.3-p448 ubuntu 12.04 vagrant box can not install it error Using username "vagrant". Authenticating with public key "imported-openssh-key" Welcome to Ubuntu 12.04 LTS…
Ulugbek
  • 43
  • 1
  • 7
0
votes
2 answers

/.rbenv/versions/ doesn't exist for user installed 1.8.7-p374

~/.rbenv/versions/2.0.0-p247/ exists as does a similar folder for 1.9.3-p429, but nothing for 1.8.7-p374. What is going on or what am I doing wrong? I have some gems that don't work right with 1.9 and 2.0, so set up 1.8.7-p374 to help debug, but…
Greg
  • 2,359
  • 5
  • 22
  • 35
0
votes
1 answer

Why are Ruby versions conflicting when launching Rails server?

I am using rbenv on OS X. When I run ruby -v, I get "ruby 2.0.0p195" but when I launch rails s I get: Gemfile syntax error: /myapp/Gemfile:14: syntax error, unexpected ':', expecting $end gem "mysql2", group: :mysql It seems that the Gemfile is…
user1611830
  • 4,749
  • 10
  • 52
  • 89
0
votes
2 answers

Why I failed to build ruby into OpenBSD-5.2 on QEMU?

I want to use ruby-2.0.0-p247 in OpenBSD-5.2 that works on QEMU. dmesg of my OpenBSD-box is here -> http://pastie.org/8111667 And, I want to use rbenv and ruby-install for installing ruby. Okay, I installed rbenv and ruby-install into my…
ytnobody
  • 39
  • 7
0
votes
1 answer

What's the difference between rbx-2.0.0-rc1 and rbx-2.0.0-dev?

On rbenv (ruby-build), what's the difference between rbx-2.0.0-rc1 and rbx-2.0.0-dev? I came across https://twitter.com/veganstraightedge/status/315641493245267969 , but that made me more, rather than less, confused.
Andrew Grimm
  • 78,473
  • 57
  • 200
  • 338