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

Geting error in Terminal after trying Rails server

I'm trying to run server in Ubuntu Terminal by "$rails server", and i get this error in terminal: " /home/sergei/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in require': cannot load such file -- rails/cli…
muzaparoff
  • 75
  • 1
  • 7
0
votes
0 answers

rbenv on OS X Mavericks not work

I try to change my ruby version and I get this on my terminal : Cristians-MacBook-Air% rbenv versions system 1.9.3-p448 2.0.0-p247 * 2.1.0 (set by /Users/Cristian/.ruby-version) Cristians-MacBook-Air% ruby -v ruby 2.1.0p0 (2013-12-25 revision…
CristianOrellanaBak
  • 447
  • 1
  • 5
  • 13
0
votes
1 answer

Bundler claims to have installed my bundle, but can't find Rails or MySQL

I'm logged in to my production server to try to manually dig into a problem I'm having with my Capistrano deployments. Here's the line that Capistrano is running. deploy@borges:/domains/myapp.com/releases/20140119013611$ env…
isthmuses
  • 1,316
  • 1
  • 17
  • 27
0
votes
1 answer

gem install memcached fails on osx

I'm unable to get gem to install memcached on osx (Mavricks). I have installed memcached and libmemcache with brew. gem install memcached -v '1.0.6' I've put the output in a gist as there's a lot of it. I'm using rbenv with ruby 1.9.3p484. I've…
Ben Smith
  • 1,554
  • 1
  • 15
  • 26
0
votes
2 answers

Updating ruby version with Rbenv but gems apparently not updated

I have just updated Ruby from version 1.9.3-p448 to 1.9.3-p484 using rbenv on a Ubuntu Production server. The updating seems to be successful. Ruby version shows the latest version I just updated. However when I look at the gems for this version…
Steve Loo
  • 276
  • 1
  • 5
  • 12
0
votes
0 answers

gem command referencing rvm

I have some rails projects that use either rvm or rbenv. Recently I had to update rbenv to the latest ruby version, which can be achieved in the following way: cd ~/.rbenv/plugins/ruby-build git pull rbenv install 2.0.0-p353 However now I have to…
Pablo
  • 3,433
  • 7
  • 44
  • 62
0
votes
2 answers

Bundle with capistrano installed by chef

I'm configuring a vagrant box using chef and then deploying my app using capistrano. my chef recipe to install bundler is the following: include_recipe "rbenv" include_recipe "rbenv::ruby_build" rbenv_ruby node[:rbenv][:ruby] do global…
Don Giulio
  • 2,946
  • 3
  • 43
  • 82
0
votes
2 answers

Cannot rails new app on newly installed Ruby on Rails by rbenv/homebrew on OS X Maverick

After upgrading MacBookPro Retina (2012 model) from Mountain Lion to Maverick I decided to install the latest RoR for dev. I follow the post on 55minutes here, except cannot installed the xcode command-line as it described, which I manually…
Ben K.
  • 23
  • 1
  • 7
0
votes
3 answers

Old version of Ruby overriding updated version

Ruby noob here. I installed Ruby 1.9.3 but it still defaults to my pre-installed system version (1.8). For example: $ gem install rails ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the…
Ben Davidow
  • 1,175
  • 5
  • 23
  • 51
0
votes
1 answer

'rbenv install 2.0.0-p247' fails

i already discussed this issue with the maintainer of ruby-build and followed his advice by googling for similar errors. i found similar ones but they do not seem to match my specific problem: i'm trying to install ruby with rbenv install 2.0.0-p247…
juan topo
  • 3
  • 2
0
votes
1 answer

Adding rbenv to my environment

If I add rbenv to my environment, should I remove RVM from it? This is my .bash_profile: # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup…
rheamic
  • 3
  • 2
0
votes
0 answers

local versus global rbenv versions | bundle does not use rbenv

I'm trying to install Gitlab on OSX Server, following directions for https://github.com/CiTroNaK/Installation-guide-for-GitLab-on-OS-X I'm new to ruby so flame me if i made beginner's mistake... but i ended up with complete Ruby installations in…
HighTML
  • 613
  • 1
  • 6
  • 12
0
votes
1 answer

Error while installing rails (no write permissions)

I was in the middle of installing Rails (gem install rails) on my Mac when I got the following error: ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the Users/[myusername]/.rvm/gems/ruby-1.9.3-p429/bin…
0
votes
1 answer

Using rbenv & bundler in rake tasks, outside bash

I'm trying to use rbenv (with plugins) & bundler to bulletproof some of our rake tasks. However, the rbenv shimmed versions of commands (of e.g. bundle) depend on first running this (often found in .bashrc or its equal): eval "$(rbenv init -)" This…
Clay Bridges
  • 11,602
  • 10
  • 68
  • 118
0
votes
1 answer

Ruby segmentation fault after updating Rails

I'm using: rbenv with ruby versions 1.9.3-p448 and 2.0.0-p247 rails 3.2.13 I made some update (rails updated to 3.2.14) and when i started rails server or console i get a brutal segmentation fault: iwan $ rails…
Iwan B.
  • 3,982
  • 2
  • 27
  • 18