Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
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 ...
Hanneke L's user avatar
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....
kamal's user avatar
  • 1
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. ...
ewok's user avatar
  • 4,471
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 (...
rj487's user avatar
  • 201
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 ...
cedlemo's user avatar
  • 113
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/....
Edson's user avatar
  • 11
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 ...
Sauce McBoss's user avatar
  • 2,383
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-...
FishStix's user avatar
  • 113
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 ...
Stedy's user avatar
  • 135
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 ...
Obromios's user avatar
  • 111
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 ...
ricko zoe's user avatar
  • 101
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 ...
Khrys's user avatar
  • 1
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 ...
cwd's user avatar
  • 18.6k
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 ...
teknetia's user avatar
  • 193
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: /...
sam452's user avatar
  • 161
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 ...
agusgambina's user avatar
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 ...
Zeynel's user avatar
  • 1,355
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 ...
CaymanEss's user avatar
  • 131
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 ...
user36659's user avatar
  • 347
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 ...
digital's user avatar
  • 831
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 ...
Anthony Kong's user avatar
  • 5,188
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 &&...
wim's user avatar
  • 3,277
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 ...
Locke's user avatar
  • 21
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 ...
Jason Shultz's user avatar
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 ...
user avatar
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. ...
brafales's user avatar
  • 393
1 vote
2 answers
1k views

Issues Installing jRuby with RVM

I'm running into an issue installing jRuby 1.7.0 with RVM on my Ubuntu 12.04.1 system. It seems RVM is messing up my $PATH because it's unable to find commands that are already installed on my system. ...
senfo's user avatar
  • 154
12 votes
1 answer
14k views

How to rebuild all my Ruby gems?

I ran into an apparently known issue with the native C compiler on OS X 10.8 not building Ruby gems correctly, so I installed GCC as suggested. How do I have rvm rebuild all of the already-installed ...
Ken's user avatar
  • 123
2 votes
0 answers
201 views

Why does RVM Ruby require libksba?

The rvm requirements says I should install "libksba" before installing Ruby 1.9.3. Why? How can I tell if I already have "libksba" installed? I'm running Mountain Lion 10.8.2 and Xcode 4.5 (4G182).
ma11hew28's user avatar
  • 728
1 vote
2 answers
1k views

Combined sudo su deploy command doesn't work, does when separate

I have this command: ubuntu@ip-10:~$ sudo su deploy -c 'rvm install 1.9.3' bash: rvm: command not found I also tried: ubuntu@ip-10:~$ sudo su deploy -c 'source /home/deploy/.bashrc && rvm ...
Matt Elhotiby's user avatar
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'...
gdi2290's user avatar
  • 163
1 vote
2 answers
742 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> <...
Stefan Kendall's user avatar
0 votes
1 answer
937 views

"Permission denied" when trying to use RVM with Cron

I am trying to employ the method descibed here. My crontab: # m h dom mon dow command @reboot /home/qe2user/.rvm/environments/ruby-1.9.3-p125 /home/qe2user/Ruby/test/prog.rb > /home/qe2user/...
davej's user avatar
  • 205
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 ...
user128877's user avatar
1 vote
1 answer
3k views

How to get Ruby, when called from a shell script, to see RVM default Ruby

my ruby prog: #echoHW.rb while 1 < 2 sleep(10) puts "hey!" end the bash(?) script that calls it: #echoHW.sh ruby -v ruby echoHW.rb "$@" & I installed rvm, trying both "single user" and ...
davej's user avatar
  • 205
0 votes
1 answer
2k views

Using rvm within a bash script on CentOS 6.2

I'm trying to write a script that does goes through all the steps for installing and setting up a graylog2 server and web interface on CentOS 6.2. Here is the section that I'm having trouble with: ...
Rob H.'s user avatar
  • 21
1 vote
1 answer
2k views

libxslt is missing installing Nokogiri with RVM

It's been one month I'm trying to install the Nokogiri gem on Fedora 16 to run a friend's Rails project. I installed Ruby with RVM. Using gem install nokogiri returns libxslt is missing. please ...
Cydonia7's user avatar
  • 245
0 votes
1 answer
703 views

Problems installing Ruby 1.9.2 and rvm on Debian Lenny

I have currently have Ruby 1.9.1 (bad) and want to install 1.9.3 under rvm. However, rvm requirements gives a long list, most of which installed fine: install build-essential openssl libreadline6 [......
Dave Everitt's user avatar
0 votes
1 answer
899 views

Problems installing ruby 1.9.3 on Snow Leopard

I am trying to install ruby 1.9.3 (I am running xCode 4.2) with the following command: rvm install 1.9.3 --with-gcc=clang Fetching yaml-0.1.4.tar.gz to /Users/myusername/.rvm/archives Extracting ...
nicole's user avatar
  • 799
8 votes
3 answers
66k 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 ...
Sam's user avatar
  • 215
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 [ ...
gsgx's user avatar
  • 1,083
2 votes
1 answer
480 views

Can't find sqlite3 in this ruby/rails version using rvm

I installed rvm and am using 1.9.2 with rails 3.05. I was able to create a new application but once I moved into the directory and tried to start the server ("rails s"), I got this error message ...
Michael's user avatar
  • 675
3 votes
1 answer
2k views

How to create a GEM_HOME for rvm?

I'm learning how to set up different versions of ruby with different versions of rails using rvm. Here's a link for the instructions http://beginrescueend.com/gemsets/basics/. It says Let's say, ...
Michael's user avatar
  • 675
1 vote
1 answer
566 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/...
Michael's user avatar
  • 675
0 votes
1 answer
687 views

Redcar Install through RVM

I am trying to install Redcar on Ubuntu using RVM. I have read countless articles about it and i still get this error message. I followed this article in particular. http://azazeal.xelixis.net/post/...
ericraio's user avatar
  • 101
2 votes
1 answer
2k views

rvm doesnt work when specifiying the path...?

when typing in the path to the rvm it doesnt work $which rvm /usr/local/bin/rvm $ruby -v ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux] $/usr/local/bin/rvm use 1.8.7 Using /usr/local/rvm/gems/...
jtzero's user avatar
  • 175
0 votes
3 answers
4k views

How to install Ruby 1.9.2 and Rails 3 on Ubuntu 10.10?

I have gone through a lot of blogs and tutorials (including Beginning Rails 3) and now I have a messed up Ubuntu (It runs on VMWare) that I do not like it. Main problem is that based on Beginning ...
Kaveh Shahbazian's user avatar
1 vote
1 answer
394 views

Installing ruby 1.9.1 on OS X with RVM, getting error I can't make sense of

I'm trying to update my ruby install on Leopard to at least 1.9.1. I found a tutorial that tells me how to do it with RVM and I get as far as downloading, configuring and compiling the version I want, ...
James P. Wright's user avatar