Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
2 answers
2k views

Trying to install Ruby 3.2.2 but keep getting error during installation

Please bear with me as this is my first time coding with Ruby, but I've been trying to install it for a while now but each time I keep getting the following error. Does anyone have any advice on how ...
Sabrina Hatch's user avatar
1 vote
0 answers
291 views

Error when installing "gem install bundler --no-doc" using a shell script

I am creating a script on Debian 11 with a regular user. I'm trying to run this script: #!/bin/bash rvm install ruby-2.7.2 gem install bundler --no-doc However, when I try to run the command: gem ...
Celso Annes's user avatar
0 votes
0 answers
134 views

Reinstalled RVM after an implode, but now command 'rvm' isn't found

When trying to install Ruby 2.7.7 for one of my projects, I ran into an error while running make install. Installation halted message. Since then I have tried a lot of different things I found on ...
Sherece Bledsoe's user avatar
24 votes
7 answers
30k views

How to fix the "running '__rvm_make -j4'," error, while installing ruby 3.2.1 using RVM?

Am trying to install ruby 3.2.1 using RVM. I'm getting the below error. 05:44:55 # rvm install ruby-3.2.1 Warning! PATH is not properly set up, /usr/local/rvm/gems/ruby-2.6.5/bin is not at first place....
Prabhu U's user avatar
  • 351
0 votes
0 answers
115 views

ruby version is not installing <= 2.2.5 or 2.2.0

I'm having trouble installing ruby 2.2.0 on my Linux system using rvm as my ruby version manager: Searching for binary rubies, this might take some time. No binary rubies available for: kali/kali-...
Mr.Furqan's user avatar
11 votes
2 answers
17k views

Error running 'requirements_debian_libs_install libssl-dev',

I am facing problem while installing rvm 2.6.3 Installing required packages: libssl-dev.... Error when running 'requirements_debian_libs_install libssl-dev', please read /home/tanmay/.rvm/log/...
tanmay bhawsar's user avatar
0 votes
1 answer
767 views

Using Multiple Operating Systems with Ruby and Shell in a Matrix with Travis CI

I'm attempting to create a CI test that executes a test using multiple Ruby versions using rvm on Linux, but I want to execute another test on Windows using the bash shell. I've tried a few ...
Jeff's user avatar
  • 520
0 votes
1 answer
83 views

RVM Ruby Default not working

Ok so first off I've seen almost all if not all the posts on this here and nothing has worked. Furthermore I don't know how but I have got this to work on a different environment which is basically a ...
Daniel Nunez's user avatar
0 votes
0 answers
163 views

Command not found [[ on elementaryOS

$ rvm list sudo: [[: command not found sudo: [[: command not found sudo: [[: command not found sudo: [[: command not found sudo: __function_on_stack: command not found rvm rubies ruby-2.3.3 [ ...
oddlyzen's user avatar
0 votes
1 answer
259 views

rvm problems after changing user name with usermod

I changed my user name, home directory, and group name with the following commands: usermod -l newname oldname usermod -d /home/newname -m newname groupmod -n newname oldname There was a bit of ...
pjd's user avatar
  • 1,163
-3 votes
1 answer
283 views

RVM, ruby 2.4.1 bug [closed]

I'm trying to start a Ruby on Rails project. I'm reading step-by-step guide created by advanced programmer. I failed at the start. I downloaded RVM with command: gpg --keyserver hkp://keys.gnupg....
Ins0maniac's user avatar
1 vote
0 answers
152 views

Ruby 2.3.1 is not compiling under Arch Linux

I've got a project using the following specification at Gemfile: ruby '2.3.1', :engine => 'jruby', :engine_version => 'jruby-9.1.7.0' and this was working fine under my old Debian 8.1 ...
Edvaldo Silva de Almeida Jr's user avatar
22 votes
7 answers
24k views

Can't install Ruby rvm on Ubuntu 16.04 due to gpg bug

I'm trying to install Ruby on Ubuntu 16.04. However when I enter to following command to terminal: $ \curl -sSL https://get.rvm.io | bash -s stable --ruby I get the following: Downloading https://...
TamerB's user avatar
  • 1,441
2 votes
1 answer
430 views

Uninstalled Ruby 2.4.1 and keep getting the error: "Your Ruby version is 2.4.1, but your Gemfile specified 2.3.3"

I tried switching to version 2.3.3 with the command rvm use 2.3.3 and ruby -v shows: ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-linux] but when I run rake db:create:all db:migrate db:seed I ...
boltzmanncte's user avatar
0 votes
1 answer
591 views

Any rvm gem command results in openssl errors

Any time I try to run a gem command, my console spits out several SSL errors and fails to execute properly (for instance gem install xxx). ssl errors: brandon@ox:~/code/quotr$ gem install bundler ...
gwnp's user avatar
  • 1,206
4 votes
1 answer
2k views

Why rvm needs login shell?

As far as I know, rvm is a set of bash scripts. Why it need login shells? Which property which only exists in login shells is necessary for rvm? Related post: rvm installation not working: “RVM is ...
Endle_Zhenbo's user avatar
0 votes
1 answer
518 views

How to work with RVM on a system with installed Ruby on Rails?

I have installed Ruby (2.3.1) and Rails (5.0.0) with gem v2.6.4 on Arch Linux. Recently I've had need of working with Ruby 2.3.0 and Rails 4.2.6, so I tried to install RVM with these steps: $ gpg --...
Ουιλιαμ Αρκευα's user avatar
0 votes
0 answers
431 views

error installing Ruby 1.9.1-p431

I run rvm install ruby-1.9.1-p431 I my output is: `ruby-1.9.1-p431 - #removing src/ruby-1.9.1-p431.. Searching for binary rubies, this might take some time. No binary rubies available for: debian/...
Zach's user avatar
  • 13
0 votes
1 answer
789 views

Vagrant provisioning can't find rvm when it's pre-installed

I'm using the Vagrant box "thdengops/ubuntu-14.04-dev" which comes with: git, openjdk7, docker, gvm (go), nvm (node), rvm (ruby), jenv (java), virtualenv (python) all pre-installed on the box. I've ...
Elliot Blackburn's user avatar
2 votes
0 answers
751 views

/usr/bin/env: ruby: No such file or directory at SSH login

I'm trying to run a ruby script from inside of a bash script at SSH login. I did put the ForceCommand /etc/ssh/MyScript.sh && $SSH_ORIGINAL_COMMAND inside sshd_config and inside MyScript.sh #!...
Ninja Boy's user avatar
  • 1,172
0 votes
0 answers
781 views

How to install Ruby Version Manager on Red Hat Enterprise Linux?

I'm trying to install Ruby Version Manager (RVM) on my Red Hat Enterprise Linux machine which is running in the AWS cloud by following these instructions. But they are not working. Here is what ...
Saqib Ali's user avatar
  • 12.5k
1 vote
1 answer
600 views

install jekyll in linux mint

I tried to install jekyll on my Linux heavenpc 3.16.0-38-generic #52~14.04.1-Ubuntu SMP Fri May 8 09:43:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux I have appropriate suplementary packages installed: ...
Alex Zaitsev's user avatar
  • 1,781
0 votes
2 answers
4k views

RVM PATH is not properly set up

I've recently run into the following error from rvm when trying to upgrade my ruby version. Warning! PATH is not properly set up, '/home/sam/.rvm/gems/ruby-2.2.1/bin' is not at first place, My echo $...
neanderslob's user avatar
  • 2,693
0 votes
0 answers
660 views

Error ~/.rvm/rubies/ruby-2.3.0/bin/ruby: No such file or directory

I have messed up the Ruby installation on my Ubuntu. I had it installed previously with RVM but I had to uninstall it (rvm implode). Now, I have downloaded the latest source (v 2.3.0) and built it ...
ali's user avatar
  • 11k
1 vote
3 answers
4k views

Installing Ruby 2.2.3 on Ubuntu

This problem probably has an obvious answer to anyone who has used Ruby on linux for a long time, but I can't really get a good answer via Google. I'm trying to check out the Rails 5 beta, which ...
NmdMystery's user avatar
  • 2,848
1 vote
1 answer
942 views

Linux - running root installed program as non-root

I installed RVM, then Ruby 2.3.0 and Rails 4.2.5 as super-user. I can access the program as root but not as a normal user. # rails -v Rails 4.2.5 $ rails -v /usr/bin/env: ruby1.9.1: No such file or ...
lyndonJ's user avatar
  • 13
2 votes
0 answers
1k views

OpenSSL compile error when installing Ruby 1.8.7 using RVM

Using RVM to install Ruby 1.8.7, this error occurs: Error running '__rvm_make -j4', showing last 15 lines of /home/XXXX/.rvm/log/1446528129_ruby-1.8.7-p374/make.log from ...
Chuang Fu's user avatar
  • 317
1 vote
1 answer
112 views

How to force rvm to use older versions of llvm to install rubinius on arch?

I have been having trouble installing rubinius on arch through rvm. Rubinius requires llvm version of 3.0-3.5 however Arch provides 3.6 by default under the package name llvm and I can install llvm35 ...
AphroditeVenus's user avatar
0 votes
1 answer
323 views

error installing ruby 1.9.3 on linux server

Hey I'm just to update ruby on a linux server I ssh into. I know there a lot of threads on this but most are for installing on mac osx (which i dont have an issue with). This is the error log thats ...
tellmewhy's user avatar
3 votes
2 answers
572 views

Bash command not found rvm at startup, Mint

Whenever I open the terminal in linux mint 17 I get: No command 'Usage' found, did you mean: Command 'osage' from package 'graphviz' (main) Usage: command not found rvm-installer: command not found ...
Kenavera's user avatar
1 vote
1 answer
2k views

Remove ruby gems from /usr/bin after rvm install

I recently installed rvm and uninstalled my Debian's ruby1.8, though I think ruby2.1 is still installed. I am left with a lot of executables in /usr/bin and /usr/local/bin from (I think) debian's ruby....
Nicolas Mattia's user avatar
0 votes
1 answer
314 views

RVM Cant find system versions

I installed rvm on a raspberry pi. I am trying to use ruby version 1.9.3. rvm list known # MRI Rubies [ruby-]1.8.6[-p420] [ruby-]1.8.7[-head] # security released on head [ruby-]1.9.1[-p431] [...
user3161206's user avatar
2 votes
2 answers
238 views

Many temporary UnknownHost errors when running `bundle install` on linux mint with RVM

I am running RVM on Linux Mint 17 and am hitting a recurring, random, temporary error when I bundle install: Gem::RemoteFetcher::UnknownHostError: no such name (https://rubygems.org/gems/some_gem) ...
Rick's user avatar
  • 8,816
0 votes
1 answer
400 views

Can't install jekyll gem at linux (classifier-reborn ruby version error)

I'm working on ElementaryOS (linux) and this is what I have: ruby -v ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux] rvm list rvm rubies ruby-1.9.3-p551 [ x86_64 ] => ruby-2.2.0 [ ...
lukaszkups's user avatar
  • 5,980
0 votes
1 answer
566 views

Script using rvm ruby-2.1.2 but console using rvm jruby-1.7.12. Script failed

All, I don't think it has been asked after scout through the question here. Here are my problem: I'm using Ubuntu 14.04. I've developed a script to be run by ruby-2.1.2. I've included the shebang ...
Chris Liaw's user avatar
4 votes
2 answers
3k views

Requirements Error while installing Ruby using RVM

I'm getting the following error while trying to install Ruby 2.0.0 with RVM (Linux Mint 17) A previous answer here recommends that I "Remove broken or 404 repos from my sources list /etc/apt/sources....
Ope's user avatar
  • 81
1 vote
1 answer
540 views

Trouble with installation of gstreamer gem in Linux Mint

I'm using linux mint. When I try to install with gem install gstreamer I see this error: ERROR: Error installing gstreamer: ERROR: Failed to build gem native extension. /home/msdc/.rvm/...
Milos Dolobac's user avatar
0 votes
1 answer
39 views

"ruby -v -c 2.0.0p353@myapp" gives "cannot load such file error"

I have installed rvm using this tutorial. Now when I do: rvm -versiongives rvm 1.25.28 (stable) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/...
paul's user avatar
  • 4,487
0 votes
0 answers
300 views

Why do I have to install the rails gem everytime I reboot?

Everytime I reboot my Linux install I have to run the following 3 commands to be able to use rails s The 3 commands are: sudo chmod -R 777 /var/lib/gems/1.9.1 source /home/comfroels/.rvm/scripts/...
comfroels's user avatar
  • 109
3 votes
3 answers
16k views

Install Ruby on Rails on Linux Mint 17

I have been struggling this task. I have been developing in php but want to switch to ruby. My question is how do I install ruby on rails on Linux Mint 17.
Gavindra Kalikapersaud's user avatar
0 votes
3 answers
595 views

Automatic RVM installation

I am trying to have RVM and ruby installed in an Ubuntu 12 virtual machine without human interaction apart from the password prompts. I created a shell script to do this that works pretty fine until ...
Apollo's user avatar
  • 1,976
3 votes
2 answers
278 views

colorful format for titles in documentation RI

I am reading the book de Ruby of Pickaxe (ruby version 2.0) and I can not execute this statement $ export RI="--format ansi --width 70" I am using the native console of Ubuntu 12.04 and I have ruby ...
juan perez's user avatar
2 votes
0 answers
65 views

Installing rvm without /dev/fd access

I have a sandboxed user account on a Linux machine that doesn’t have Ruby (shell privileges on a name.com hosted VM). I’d like to install Ruby, and I’m trying to use RVM to do so. It also lacks Git ...
Fritz Anderson's user avatar
1 vote
2 answers
300 views

RVM 1.25.22 (stable) error on "rvm use"

Got error like this: MacRuby can only be installed on a Darwin OS. macruby-0.12 is not installed. To install do: 'rvm install macruby-0.12' when trying to rvm use after \curl -sSL https://get....
Viktor Vsk's user avatar
1 vote
3 answers
239 views

How to use a certain ruby version?

I try to run a script on a LFS Batchsystem. The cluster offers an older version of ruby, so I had to install my gems and rvm locally on my account. Is there a way to run my local installed ruby ...
gadreel's user avatar
  • 209
1 vote
1 answer
456 views

Ruby and RVM version not showing correctly

When I run ruby -v from my ubuntu 12.04 terminal then I get ruby 2.1.1p76 (2014-02-24 revision 45161) [i686-linux]. But when I specify rvm to use ruby 2.1.1 by this command rvm use 2.1.1 I get this ...
Tamim Ibrahim's user avatar
30 votes
8 answers
31k views

RVM Warning! PATH is not properly set up

I just installed rvm on my mac, but I receive this warning on global commands Warning! PATH is not properly set up, '/usr/local/rvm/gems/ruby-1.9.3-p194/bin' is not at first place, usually this is ...
Johnz133's user avatar
  • 450
1 vote
2 answers
86 views

RVM Ruby installation not successful

I'm trying to install ruby using rvm on linux debian. This is my problem: Ruby didn't work at all in the terminal (that is, it said: ruby:command not found. Then I followed this thread RVM ruby ...
tomet's user avatar
  • 2,546
6 votes
1 answer
2k views

Update of Ruby 2.0.0-p247 to Ruby-2.0.0-p353. Error to install Rails 4.0.0. on GNU/Linux

I am building my Ruby enviroment using rvm 1.23.16 (stable) and could see that Ruby passed of ruby 2.0.0-p247 to ruby-2.0.0-p353, and now if try to install Rails 4.0 rails gem install rails -v 4.0.0 ...
Leandro Arruda's user avatar
1 vote
4 answers
321 views

the correct Ruby version when opening a terminal

Each time I open a terminal my Ruby version is wrong. I am obliged to execute by hand the following command: source /usr/local/rvm/scripts/rvm I read that RVM doesn't modify .bashrc or ....
Bertaud's user avatar
  • 2,918