rbenv Questions

6

When I try to start my Rails server, I get the following error: $ bundle exec rails s Your Ruby version is 2.3.7, but your Gemfile specified ~> 2.3.8 I don't understand why that happens thoug...
Uncover asked 30/3, 2019 at 0:28

4

Solved

When switching from bash to zsh, I looked up how to resolve an issue with my rbenv folder not being used correctly by zsh and found this: $ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' &gt...
Hustler asked 17/11, 2019 at 0:11

5

Solved

I am trying to update Ruby on my computer to version 2.7.0 as that is the latest stable version. Running macOS Catalina Version 10.15.3 Have tried the top two solutions from this StackOverflow po...
Tabby asked 12/2, 2020 at 6:16

7

I want to install new version of ruby by rbenv install 2.2.1, but I get the error ruby-build: definition not found: 2.2.1 The following versions contain 2.2.1 in the name: rbx-2.2.1 rbx-2.2.10...
Zuniga asked 30/3, 2015 at 22:40

4

Solved

Some details about my environment: Ruby version: ruby 3.2.0 RubyGems version: 3.5.6 rbenv version: 1.2.0 MacOS: Sonoma 14.1.2 / M2 I'm trying to run bundle install to install the gems for my proj...
Unkenned asked 8/3, 2024 at 19:38

1

Solved

I'm having an issue with VSCode on Ubuntu. I have the ruby extension and the ruby-rubocop extensions installed but when I run the rubocop extension on save, I get 2 errors rbenv: version '2.5.1' i...
Pristine asked 29/9, 2022 at 14:13

2

Solved

I am using rbenv and I am trying to install sass without success. So, I installed rbenv via Homebrew, then Ruby 2.2 (rbenv install 2.2) and finally gem install sass, but I was unable to make sass ...
Ankney asked 6/3, 2015 at 1:4

8

Solved

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 ...
Glindaglinka asked 1/5, 2013 at 18:38

2

Solved

tmux is auto setting RBENV_VERSION when I start tmux... Anyone know how to stop it? Because it auto sets it, I need to do $ export RBENV_VERSION to unset it and make .ruby-version work. Thx.
Endrin asked 21/2, 2013 at 13:2

5

Solved

On my local machine I'm using rbenv When I run bundle install I get: The git source `git://github.com/sinatra/sinatra.git` uses the `git` protocol, which transmits data without encryption. Disable ...
Schexnayder asked 6/3, 2022 at 14:19

7

Solved

I need to use openssl in ruby. How should I install the same? I've installed ruby through rbenv, and am using ubuntu 12.04. kprakasam@ubuntu:~$ ruby -v ruby 1.9.2p180 (2011-02-18 revision 30909) [...
Combustor asked 20/6, 2012 at 18:43

7

Solved

Installing Ruby 3.0.x works fine on M1 MacBooks using rbenv or asdf. But older versions like 2.7.x and 2.6.x are having various issues. How do I fix them, without installing both x86 and ARM versio...
Gesticulatory asked 1/9, 2021 at 11:14

2

I'm currently trying to install Ruby 3.2.0 with Rbenv and I'm getting this error every time. BUILD FAILED (Ubuntu 22.04 using ruby-build 20230202) Inspect or clean up the working tree at /tmp/ruby-...
Stokehole asked 2/2, 2023 at 19:30

13

Solved

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 fol...
Gerta asked 20/1, 2015 at 22:49

3

When I run RUBY_CONFIGURE_OPTS=--with-openssl-dir=/usr/local/Cellar/openssl@3/3.0.1 rbenv install 3.1.0 I get this output: Downloading ruby-3.1.0.tar.gz... -> https://cache.ruby-lang.org/pub/rub...
Tracay asked 13/1, 2022 at 14:49

31

Solved

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 ...
Skein asked 7/6, 2012 at 22:28

2

I'm getting repetitive warnings upon running a ruby script in a crontab, as well as manually in the terminal. /Users/rich/.rbenv/versions/2.7.4/lib/ruby/2.7.0/net/protocol.rb:66: warning: already i...
Charlottetown asked 22/12, 2021 at 3:10

3

I'm using macOs Catalina. I'm trying to install older version of Ruby (1.9.3, 2.1.2) via rbenv. However, I keep getting the errors below, when trying installing older version. *It was fine when ins...
Bettyannbettye asked 13/11, 2020 at 7:6

3

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, ...
Hershey asked 14/7, 2018 at 2:27

8

Solved

I have recently moved from RVM to Rbenv and when attempting to execute rails I am getting an error like the one below Pauls-Air:~ $ rails rbenv: rails: command not found The `rails' command exist...
Alloplasm asked 28/3, 2015 at 11:48

7

Solved

I'm new to rbenv (was using RVM for long time). Today I do clean uninstall of my RVM and install rbenv. I managed to install Ruby 2.5.1 without any issues. But when I try to run bundle install for...
Joijoice asked 4/1, 2019 at 16:25

3

Solved

Is it possible to use multiple versions of rails using rbenv (e.g. 2.3 and 3.1)? This was easy with gemsets in rvm, but I'm wondering what the best way is to do it now that I've switched to rbenv (...
Mann asked 16/1, 2012 at 9:14

1

When trying to use rbenv to install a new ruby version, I keep getting build failures on Mac OS: trevoraron@Trevor-Aron api % rbenv install 2.6.7 Downloading ruby-2.6.7.tar.bz2... -> https://ca...
Brumbaugh asked 6/6, 2022 at 16:28

4

Solved

Hi all I'm trying to set up a dev environment and I've been following a tutorial via; Link to tutorial I'm not doing very well and have no real experience of terminal commands other than the most ...
Pitiful asked 23/7, 2015 at 13:19

3

Ruby is installed by rbenv. $ ruby -v ruby 1.9.3p327 (2012-11-10 revision 37606) [i686-linux] $ which ruby /home/user/.rbenv/shims/ruby $ which sass /home/user/.rbenv/shims/sass $ gem list ...
Theft asked 15/2, 2013 at 2:3

© 2022 - 2025 — McMap. All rights reserved.