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

How to install Toolkit for Ruby for MacOS

I need the Gem TK on my Mac with Mojave. I followed a tutorial that worked for a friend, but she can't explain how she did it anymore. I installed: The CommandLine tool homebrew rbenv and ruby-build Ruby 2.6.2, which is used globally. (ruby -v =>…
borstel
  • 11
  • 1
  • 1
-1
votes
1 answer

RubyMine doesn't load the rbenv-vars plugin

I use rbenv and the rbenv-vars plugins. They work fine when I launch my rails server in a terminal. So nothing is wrong with my configuration or my installation. If I launch my server from RubyMine, my environment variables aren't loaded. All the…
Fusco
  • 64
  • 8
-1
votes
1 answer

Ruby fails to start when switching bootable HD from one machine to other

Having a problem with one Macbook Pro (circa 2011), I swap the hard disk into another Macbook Pro (circa 2008). Firing up the terminal to launch a rails application server rails s, the server fails to launch with error You may have encountered a bug…
Jerome
  • 5,583
  • 3
  • 33
  • 76
-1
votes
1 answer

"sudo gem install bundler" throws error (Errno::EPERM)

Recently my system was upgrader to macOS Sierra ( 10.12 ). When I try to install bundler gem, I am getting the below error. Is it something to do with gem software / bundler / OS ? $ sudo gem install bundler ERROR: While executing gem ...…
-1
votes
1 answer

How update the ruby version on a old rails project

I have a rails 3 app that was made with 2.0.0-p0 ruby. Now i would like to update just the ruby to 2.2.2 I changed already the local and global ruby on rbenv to 2.2.2. There is a way or i have to keep using the 2.0.0-p0 on this app?
dcalixto
  • 411
  • 1
  • 9
  • 26
-2
votes
0 answers

Issue with 'bundle update, Because rails >= 4.0.0.beta1, < 5.0.5.rc1 depends on bundler >= 1.3.0, < 2.0

I am doing bundle install on a rails project. But its showing me following error: Could not find compatible versions Because rails >= 4.0.0.beta1, < 5.0.5.rc1 depends on bundler >= 1.3.0, < 2.0 and the current Bundler version (2.4.18) does not…
-2
votes
1 answer

How to install ruby-build for rbenv on Ubuntu?

I installed rbenv. What is the easiest way to install ruby-build? I've tried brew, but it displayed few errors.
Oboroten
  • 381
  • 7
  • 10
-2
votes
1 answer

I am trying to install ruby-2.2.3 through rbenv build on mac os catalina but getting the following error

installing bundle gems: /Users/oyo/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0 (build_info, cache, doc, extensions, gems,…
-2
votes
1 answer

Gem not found in any of the sources when deploying with Capistrano

I developed a web app with Ruby On Rails. In my local machine I used RVM to manage Ruby versions. I'm using ruby 2.7.1 and rails 6. Now I'm trying to deploy this app to a Digital Ocean droplet using this guide:…
-2
votes
2 answers

Ruby installation issues

I am trying to install the ruby version 2.3.5 in my mac OS environment which is Mojave. I am getting the following issues. Appreciate If anyone can help me to sort out the issue ? ERROR: Ruby install aborted due to missing extensions Configure…
-2
votes
1 answer

How to install ruby on rails on ubuntu with rvm or rbenv

I am trying to setup RoR on my system (ubuntu 16.04). I followed the rubyonrails.org, which says to install ruby and sqlite3 before installing rails. I installed ruby from rubyinstaller and sqlite3 from stackoverflow. After that, I ran: gem install…
shashi verma
  • 873
  • 2
  • 15
  • 25
-2
votes
1 answer

Rails cannot be started Load Error

I try to reinstall my rails and remove my .rbenv and install again. None of the methods work. I'm using rails 4.2.1. Here's the error that I got when "rails server…
Chun Qhai
  • 1
  • 2
-3
votes
3 answers

When I $ load 'game.rb' in my 'irb' console it returns a stack of lines the first of which contains "Could not load SDL. (LoadError)"

This is the output from $ gem env: Michels-MacBook-Pro:~ michelfrechette$ gem env RubyGems Environment: - RUBYGEMS VERSION: 2.5.1 - RUBY VERSION: 2.2.3 (2015-08-18 patchlevel 173) [x86_64-darwin15] - INSTALLATION DIRECTORY:…
Michel Frechette
  • 197
  • 1
  • 2
  • 8
-4
votes
3 answers

How to set up Twitter Bootstrap with Ruby Rails

Hi I have Ruby Rails set up on Mac OSX with Homebrew and Rbenv. I now want to play around with Bootstrap incorporated into that setup but I'm not sure how to set Bootstrap up accordingly. Has anyone got any advice / setup guides?
SJDuk
  • 43
  • 1
  • 1
  • 5
-4
votes
1 answer

ruby 2 rails 4 installation using rbenv 2013 in ubuntu

I go through a lot of tutorials for installation of ruby 2 , rails 4 using rbenv , and all are posted a year ago which lack updates . can anybody help me how to clean installation of ruby , rails using rbenv in ubuntu 12.10 . Any application for…
siddhu
  • 156
  • 1
  • 1
  • 7
1 2 3
77
78