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
2 answers

uninitialized constant RUBY_ENGINE

I've just installed Ruby 1.9.3-p374 into rbenv and am bundling for an application I am working on. However, when the bundle gets to binding_of_caller I see the following error: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby…
Neil Middleton
  • 22,105
  • 18
  • 80
  • 134
0
votes
1 answer

Trying to install ruby 1.9.3 with rbenv but keep getting ruby 1.8

Here is a list of commands that I have run to try and install ruby 1.9.3-p0 with rbenv but every time I run ruby --version I get 1.8.23. I'm not sure why this is? Anderss-MacBook-Pro:anchor anderskitson$ ruby --version ruby 1.8.7 (2012-02-08…
Cool Guy Yo
  • 5,910
  • 14
  • 59
  • 89
0
votes
2 answers

Error installing localtunnel

I run sudo gem install localtunnel and I get the following output. Now I am used homebrew to instal rbenv to install ruby and when i run brew doctor it says xcode is out of date but when i open up xcode and go to about it is the newest version, here…
Cool Guy Yo
  • 5,910
  • 14
  • 59
  • 89
0
votes
1 answer

Unable to use bourbon functions with sass (sass -r bourbon.rb fails)

I am having trouble compiling sass files with functions such as linear-gradient or box-shadow. I am getting exactly the same issue as here https://github.com/thoughtbot/bourbon/issues/68 where the resulting css is just a jumble of false's. I am not…
Elise
  • 5,086
  • 4
  • 36
  • 51
0
votes
1 answer

RBENV resolve duplicate directories for ruby-build

I recently updated my ruby version for the first time since installing rbenv. On my development machine I discovered that I needed to reinstall bundler and all my gems again for each application using bundle install. Now, when I login to my…
markhorrocks
  • 1,199
  • 19
  • 82
  • 151
0
votes
1 answer

rbenv with hook

I'm a totally new to ruby and rbenv, but I'm trying to get this 'bwoken' app working with rbenv. This is bwoken, it's for iOS UIAutomation testing: https://github.com/bendyworks/bwoken My question is how do I add hooks for rbenv? It says: Ensure…
jpswain
  • 14,642
  • 8
  • 58
  • 63
0
votes
1 answer

is rbenv possible on a shared dreamhost?

Since dreamhost has very old default settings i would like to use 1.9.3 and newer Ruby on Rails. [bayhawks]$ ruby -v ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] [bayhawks]$ rails -v Rails 3.0.3 I know there is a wiki page for RVM. But i…
muescha
  • 1,544
  • 2
  • 12
  • 22
0
votes
1 answer

How to configure Compass build with rbenv in Sublime Text 2?

Trying to build a SASS file under OSX with rbenv and the default Compass build file results in: /bin/sh: compass: command not found [Finished in 0.2s with exit code 127] How to fix?
manafire
  • 5,984
  • 4
  • 43
  • 53
0
votes
1 answer

Installing rbenv on VPS, Permission Denied

I got a permission denied error when I tried the following while installing rbenv. I'm trying to set up my VPS environment to deploy my rails app. deployer@max:~$ curl https://raw.github.com/fesplugas/rbenv-installer/master/bin/rbenv-installer |…
Maximus S
  • 10,759
  • 19
  • 75
  • 154
0
votes
0 answers

Rbenv warning: line 1: ge#!/usr/bin/env: No such file or directory

I use rbenv for a little while now and I start getting this warning everytime I run a ruby command or when I launch a rake task : /Users/.../.rbenv/shims/ruby: line 1: ge#!/usr/bin/env: No such file or directory or /Users/.../.rbenv/shims/rake: line…
Nima Izadi
  • 996
  • 6
  • 18
0
votes
2 answers

rbenv hanging while installing Ruby 1.9.3-p286 on Ubuntu 12.04

I'm having problems installing Ruby 1.9.3-p286 on a (blank) Ubuntu 12.04 box with Capistrano. What happens is: * executing "rbenv install 1.9.3-p286" servers: ["178.48.132.196"] [178.48.132.196] executing command ** [out :: 178.48.132.196]…
Nicholas
  • 2,147
  • 3
  • 23
  • 31
0
votes
1 answer

irb does not work after rbenv install

So I just ditched rvm in order to try rbenv. I installed with macports and followed the instructions regarding installation. However when I try to run irb I get: /Users/user/.rbenv/versions/1.9.3-rc1/lib/ruby/1.9.1/irb/init.rb:236:in…
retnuh
  • 590
  • 3
  • 6
  • 16
0
votes
1 answer

"foreman start" results in "Could not find bundler (>= 0) amongst..." error

I copied an example Procfile from heroku's docs, and am trying to use foreman to run a Sinatra app locally. Whenever I try foreman start, I get this: ~/Repos/website ➜ foreman start 14:04:43 web.1 | started with pid 2916 14:04:44 web.1 |…
Nick McCurdy
  • 17,658
  • 5
  • 50
  • 82
0
votes
4 answers

Managing Resque workers with Monit on RBenv setup

I'm trying to set up Monit to manage Resque workers, but it fails to start saying /home/deployer/.rbenv/shims/bundle: line 4: exec: rbenv: not found I've checked that it is running commands as deployer user and if I copy and paste the command…
Fenelon
  • 700
  • 2
  • 6
  • 16
0
votes
1 answer

calling out to rbenv gemset

On a server I want to install a series of gems that got uploaded into a newly created gemset. This installation should be done from a resque worker. The purpose of creating the gemset is to execute some of the gems that got uploaded in an…
jonasmaturana
  • 287
  • 3
  • 10