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.
84 questions
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 ...
0
votes
1
answer
685
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....
1
vote
0
answers
111
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.
...
0
votes
1
answer
404
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?
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 (...
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:...
1
vote
0
answers
49
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 ...
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"...
0
votes
1
answer
167
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
384
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
360
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
126
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
186
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
0
answers
737
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
2k
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 ...
1
vote
1
answer
808
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/...
0
votes
1
answer
338
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 ...
19
votes
2
answers
15k
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 ...
2
votes
1
answer
544
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:
/...
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 ...
0
votes
1
answer
857
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 ...
1
vote
1
answer
917
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 ...
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 ...
-1
votes
1
answer
209
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 ...
1
vote
1
answer
592
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 ...
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 ...
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 ...
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 ...
0
votes
2
answers
783
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 ...
1
vote
0
answers
934
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 ...
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 ...
0
votes
1
answer
80
views
Error in Terminal when I open it
Last login: Wed Jun 12 15:15:00 on ttys000
-bash: Downloading: command not found
-bash: Upgrading: command not found
-bash: RVM: command not found
-bash: RVM: command not found
-bash: Upgrade: command ...
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 ...
2
votes
1
answer
784
views
Bash and Ubuntu Commands
I have a problem with bash currently. I have Ubuntu 10.04 installed on a server I ssh into to do Rails development and something happened and now I am unable to use RVM as it is installed. The error I ...
1
vote
1
answer
79
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
0
answers
84
views
Unable to install rvm-rbx in ubuntu 11.10
When i run the "rvm install rbx-head" in my ubuntu 11.10.There seems to be some error in the installation
errors as follows:
W: Failed to fetch http://ppa.launchpad.net/ferramroberto/filezilla/ubuntu/...
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:...
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
378
views
Possible Homebrew and Rubie issues after the installation of RVM on Mountain Lion
I've installed RVM via the line offered on the rvm.io homepage:
curl -L https://get.rvm.io | bash -s stable --rails --autolibs=enabled
In order of the installation process RVM automatically ...
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
3
answers
2k
views
Can not install Jruby using RVM
When I run one of the following commands:
rvm install jruby-1.7.3
or
rvm install jruby
I get the following message:
Searching for binary rubies, this might take some time.
Installing ...
60
votes
6
answers
217k
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 ...
5
votes
1
answer
5k
views
How to install rvm on Mac OS x 10.8.x. rvm: command not found after rvm installation
I downloaded command line tools for Mac OSx. Checked for git version. Then tried to install rvm:
MacBook-Pro:~ Tom$ curl -L https://get.rvm.io | bash -s stable
% Total % Received % Xferd ...
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 ...
2
votes
2
answers
2k
views
How do I run a rake task in cron under a different user?
I'm trying to run a backup script on ubuntu. My problem is that I'm trying to do this using the postgres user account that I setup on ubuntu. I believe having this account run the cron jobs is best ...
0
votes
1
answer
853
views
gem install won't do anything - Mountain Lion
I just got a recent installation of Mountain Lion. I installed homebrew and the gcc on dupes to compile proper rubies. Now, with new versions of ruby (1.9.2) I can create and install gemsets and gems.
...