Questions tagged [rvm]

Developed by Wayne E. Seguin, RVM is based on the idea that you can easily install, manage, and work with multiple Ruby environments from interpreters to sets of gems.

Filter by
Sorted by
Tagged with
3 votes
1 answer
12k views

How to run bash script on a Linux host, from Windows using plink

I'm trying to run a simple bat file on Windows that will run a bash script on a remote Linux machine. The bash script is located on the Linux machine. For example: I'm trying to run this command in a ...
56 votes
6 answers
203k views

How can I fix a Broken Pipe error?

I recently reinstalled RVM (following the instructions at http://rvm.io) after a fresh install of Ubuntu 12.10 when I got an SSD Drive. Now, when I type: type rvm | head -1 I receive the following ...
8 votes
3 answers
64k views

Why am I getting "rvm: command not found" on Ubuntu?

I am trying to set up Siri Proxy, and I come up to the steps: rvmsudo rvm install 1.9.3 rvm use 1.9.3 --default rvmsudo gem install eventmachine CFPropertyList httparty json uuidtools But I can't do ...
7 votes
3 answers
9k views

Installing Ruby with RVM in Ubuntu 14.04

I installed RVM using the following command \curl -L https://get.rvm.io | bash -s stable Then I restarted the terminal and executed this commands source ~/.rvm/scripts/rvm rvm requirements rvm ...
1 vote
1 answer
564 views

"Git: command not found" error while installing RVM on OS X

Working from my command line on Mac OS X Snow Leopard in directory /Users/michael, I did the installation line recommended by the RVM site: bash < <(curl -s https://rvm.beginrescueend.com/...
1 vote
5 answers
259 views

Bash: Switching from user to root causes issues with prompt

I am on a Mac, running Snow Leopard (if it matters). I am customizing my bash prompt to display things that get pulled from user specific places. For example, I am using Ruby Version Manager to manage ...
1 vote
1 answer
591 views

How to keep both 32bit and 64bit RVM rubies

I am using 32bit and 64bit Ubuntus on different machines, and I have a single portable USB HDD which I keep my /home on. I have problems with locally installed RVM, as different architectures require ...
2 votes
2 answers
1k views

rvm problems syntax error near unexpected token `fi'

Whenever I cd or use rvm commands this shows up: -bash: /usr/local/rvm/scripts/initialize: line 80: syntax error near unexpected token `fi' -bash: /usr/local/rvm/scripts/initialize: line 80: ` fi'...
5 votes
2 answers
6k views

How to get gpg2 installed on cygwin?

Trying to install gpg2 on win10. Followed bottom answer on this thread; how to install gpg on cygwin? currently it's missing but got a problem when trying to soft linking them; I have "the right"...
8 votes
1 answer
2k views

OSX: gpg command error, dyld: Library not loaded:

After I migrating my MacBook, I found out I miss the command gpg. And it threw this error when I wanted to install rvm ⋊> ~ gpg 15:...
0 votes
1 answer
829 views

Issue with RVM conflicting with Brew?

I'm running OSX 10.9.3. I have installed Brew, Macports, RVM, rbenv, and other tools in the process of learning and following tutorials. I was not aware that some of these tools do the same thing ...
0 votes
1 answer
661 views

Unable to install any ruby versions using RVM in macOS Mojave 10.14.2

After upgrading to Mojave 10.14.2 I tried to install any ruby versions using RVM. I get the following error message related to OpenSSL. I have latest command line tools (Command_Line_Tools_macOS_10....
2 votes
2 answers
5k views

RVM can't find installed new Ruby version (previously installed using Homebrew)

I'm a beginner, please excuse me if I'm saying or doing things you perceive as utterly stupid. I'm not doing it on purpose. How this started: I wanted to install gems, but got the following error ...
2 votes
1 answer
4k views

rvm Error running './configure

Description After I migrating my Macbook to the new one, I encounter an error during reinstalling rvm Steps to reproduce ⋊> rvm install 2.3.3 Environment OSX 10.13.3 rvm version: rvm 1.29.3 (...
1 vote
0 answers
109 views

ruby inside vim causes a segfault

Every time I try to run a ruby command from inside vim, I get a segfault. If I try to run :ruby puts 1, for example, vim crashes immediately: $ vim Vim: Caught deadly signal SEGV Vim: Finished. ...
6 votes
3 answers
18k views

RVM is not a function, selecting rubies with 'rvm use ...' will not work

I am trying to install Discourse as explained here but the command # Use installed ruby as default rvm use 2.0.0 --default results in this: discourse@ubuntu:~$ rvm use 2.0.0 --default RVM is not ...
0 votes
1 answer
391 views

rvm install fails with "awk: can't open file -l"

I'm trying to use rvm like so: $ rvm install ruby-2.3.1 It seems to run, for a bit, but then fails with: awk: can't open file -l What's up here?
1 vote
0 answers
48 views

extend gnome-shell PATH for access to ruby binary with RVM

I have a terminal written in ruby that I install with a gem. I want to be able to launch this terminal when I hit Alt+F2 in gnome-shell. When I used the ruby version of my system, I just have to ...
0 votes
1 answer
166 views

RVM Installation Issues Linux

I have Elementary OS installed on my PC and have installed RVM through the terminal. However, when I type this type rvm | head -1, instead of "rvm is a function", I get rvm is hashed (/home/edson/....
0 votes
1 answer
370 views

How can I enable login shell to install RVM in st terminal?

I use rvm for my Ruby dev work, and I'd like to switch to st as my terminal. I'm currently using uxterm, which is ok, but doesn't have the flexibility I'm looking for. However, I can't seem to get RVM ...
0 votes
1 answer
329 views

Declare not recognized under bash v4

I'm trying to make use of the new array/hash feature in bash version 4, but when I try to "declare" the variable, I'm getting an error. $ bash --version GNU bash, version 4.4.0(1)-release (x86_64-...
0 votes
1 answer
2k views

How I get rvm to work properly with gnome-terminal?

How do you get rvm to play properly with gnome-terminal? wim@wim-desktop:~$ rvm list rvm rubies =* ruby-1.9.3-p392 [ x86_64 ] ruby-2.0.0-p0 [ x86_64 ] # => - current # =* - current &&...
0 votes
1 answer
123 views

Prohibit user from issuing a specific sudo command

I'm using the Ruby Version Manager (RVM) which strongly recommends to never run the rvm command on linux prefaced by 'sudo'. How can I allow myself to run the command without sudo as I am supposed to, ...
24 votes
2 answers
17k views

Why am I having / how can I fix this error: "shell_session_update: command not found"

Background I am getting into Ruby 2.x, and Rails 4.x, on a MacBook using OS X El Capitan (10.11.3), using the fish shell, employing the integration listed on this page: RVM - Fish Shell (Integration) ...
0 votes
1 answer
1k views

rvm requirements fails due to unmet dependencies

I'm trying to get rvm up and running on ubuntu 14.04 and having a tough time figuring out why I can't meet the dependencies. I have done multiple apt-get update && spt-get upgrades but still ...
1 vote
1 answer
182 views

Error creating a Ruby launchd task with RVM in OS X

I want to periodically run a ruby gem based command. I am using RVM and following the tutorial set out here. My ruby task is called daily_checks.rb and is as follows: #!/usr/bin/env ruby puts 'in ...
1 vote
0 answers
1k views

Nginx OpenSSL library install error

I am on Mac OS X 10.11 (El Capitan), ran rvmsudo passenger-install-nginx-module and when building I ran into this error: -lstdc++ -lpthread -lm /tmp/passenger.1rb7py0/pcre-8.34/.libs/libpcre.a -lssl -...
0 votes
1 answer
102 views

Which risks after a chown on /usr/local/

First of all sorry for my english I'm french. I was trying to install rvm on OS X El Capitan, and an error stopped the installation, said me to check that brew update run correctly and surprise, it ...
2 votes
1 answer
2k views

Remove all Ruby from Ubuntu

I’m trying to start a new project with RadiantCMS, but I’m having lots of problems, because in the server are 2 different Ruby installations. The first one, was installed following this tutorial and ...
2 votes
0 answers
708 views

RVM is not a function message when using fish shell

I'm trying to use rvm from within the fish shell rvm gemset use rails3 I'm getting the following error message from fish RVM is not a function, selecting rubies with 'rvm use ...' will not work. ...
0 votes
1 answer
1k views

RVM wants me to edit PATH in .bash_profile - I fear it is a mess

I am trying to get an Omega sub-theme running on my local machine (OSX 10.10) with Acquia Desktop Dev. Trying to run isolated ruby in sub-theme directory. When I use rvm list I get: Warning! PATH is ...
0 votes
1 answer
220 views

Getting fcron and RVM work together

I'm trying to make RVM and fcron work together. Apparently fcron does not read directly or indirectly any sort of env variables. Which makes RVM futile and scripts fail. I have this script which ...
2 votes
4 answers
1k views

Rails - Installation Error

I had used below mentioned commands to install rails in ubuntu 12.10 sudo apt-get update sudo apt-get install curl \curl -L https://get.rvm.io | bash -s stable source ~/.rvm/scripts/rvm rvm ...
1 vote
1 answer
785 views

RVM - Multilib version error installing libffi-devel on Centos 6.6

I have a Digital Ocean droplet running CentOS release 6.6 and I need to install Ruby and Capistrano on it. I've been following this idiot's guide; https://www.digitalocean.com/community/tutorials/...
4 votes
1 answer
7k views

Unknown ruby interpreter version

I have a MacBook Pro, running Mavericks, but I'm not too acquainted with its inner workings. I'm just a humble CS student. After installing Ruby 1.9.3 and Rails 4.0.0, I get this annoying message ...
19 votes
2 answers
14k views

Ruby installation issues with RVM

I've been following the directions at http://installrails.com to get my Macbook Air setup for some ruby work but I am running in any issue with RVM. When I try to install Ruby I get the following ...
0 votes
1 answer
283 views

How can I disable rvm's interactive help (pager?) i.e. more / less a la `man`?

I recently upgraded from rbenv to the newest version of rvm. If I type a command such as: rvm help Then it gives me the same sort of paging interface I would get with man rvm - but I just want it to ...
2 votes
1 answer
519 views

Where did my command (Heroku) go?

I expect to be schooled on this but have exhausted my Google searches and scant knowledge of how OS X finds a command. I've been using heroku for years and for some reason today I get the result: /...
1 vote
1 answer
910 views

Move rvm/gems or make available to root

On a CentOS 6 server I accidentally installed rvm and a bunch of gems as non-root user. Everything is running well, however I'll need to run rvm scripts as super user later. I'd like to fix my ...
6 votes
2 answers
9k views

Why can't I set the default Ruby version in Ubuntu?

I'm trying to set my Ruby version to be 1.9.2, but I can't change it from the system Ruby installation. What am I doing wrong? My terminal output is: $ rvm list rvm rubies => ruby-1.9.2-p180 [ ...
3 votes
3 answers
2k views

How to install rvm as user jenkins?

I am following these steps to setup a Jenkins server on an Ubuntu EC2 instance. Everything is fine until I get to this step: As you can see (at the end of the output) I am being asked for the ...
-1 votes
1 answer
208 views

Do i need to install gems required by a Sublime Text plugin into rvm's global gemset or will default do?

If a Sublime Text 3 plugin asks me to install a gem for the plugin to work, do i need to tell rvm to install this gem into my global gemset for it to work properly or can I simply type 'gem install ...
0 votes
1 answer
82 views

OSX 10.8.4 RVM install troubles with Network Users

I'm trying to install ruby 1.9 as the system default for all users of our mac machines. I've installed RVM using a "local" user account and everything seems to be working fine. I'm able to run the ...
1 vote
2 answers
729 views

launchctl - use rvm instead of system Ruby in executed scripts?

I have a launchctl job I define as such: <key>ProgramArguments</key> <array> <string>/bin/sh</string> <string>-c</string> <...
0 votes
2 answers
773 views

How can I undo rm -rf $HOME/.rvm*

What does rm -rf $HOME/.rvm* mean? I ran it on my VPS server in Ubuntu Terminal by accident and now I'm having all sorts of problems with my ruby application. How can I undo it? Or what do I need to ...
0 votes
1 answer
93 views

Ruby and RVM: Unexpected version number

I am using osx 10.8.4 and has brew installed. I followed the ruby/rvm installation instruction here: http://octopress.org/docs/setup/rvm/ rvm install 1.9.3 rvm use 1.9.3 rvm rubygems latest It ran ...
3 votes
2 answers
2k views

Installing Vagrant alongside RVM isntalled Ruby

How do I install vagrant alongside a specific version of ruby installed using RVM? I have both 1.8.7 and 1.9.3p429 installed. After using RVM to set my default to 1.9.3 I no longer have vagrant ...
1 vote
0 answers
931 views

-bash: __rvm_add_to_path: command not found

As soon as I log in to my server with ssh I get the message: Last login: Wed Jul 17 16:13:07 2013 from foo.bar.net -bash: __rvm_add_to_path: command not found How can I fix that problem? My website ...
1 vote
1 answer
78 views

how to undo rvm set stable?

I installed a rvm 2.0.0 and everything was ok Then I made by mistake rvm get head Then to correct that I added rvm get stable But now when I try to rvm install 2.0.0-study (same error on rvm install 2....
0 votes
1 answer
55 views

Ubuntu system ruby upgrade borked rvm, how do I fix this?

I upgraded my system Ruby to Ruby 1.9.1 and inadvertently killed my rvm. My old system was 1.8. Now when I try to run programs that pull from the gems I have in ~/.rvm/gems/ruby-1.9.3-p194/gems, I see:...