All Questions
48 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.
...
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
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 ...
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
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 ...
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 ...
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 ...
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 ...
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 ...
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
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 ...
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 &&...
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 ...
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 ...
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.
...
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. ...
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 ...
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).
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 ...
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'...
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>
<...
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/...
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 ...
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 ...
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:
...
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 ...
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 [......
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 ...
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 ...
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 [ ...
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
...
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, ...
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/...
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/...
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/...
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 ...
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, ...