Questions tagged [rvm]

Question relating to Ruby Version Manager (rvm), a command-line tool that helps to manage multiple versions of Ruby

Filter by
Sorted by
Tagged with
72
votes
3answers
111k views

How to find and install latest Ruby version using RVM?

I finally got RVM working and now I would like RVM to install the latest stable ruby version. In the tutorial I am using they installed ruby 1.9.3 with command : rvm install 1.9.3 Now I want to ...
44
votes
6answers
59k views

/etc/profile not being sourced

For 11.04, I did a fresh install of my system. Part of that install was to install rvm, which sticks a rvm.sh in /etc/profile.d/. This doesn't work as /etc/profile (which loads each +r in /etc/profile....
24
votes
4answers
41k views

Configure gnome-terminal to start bash as a login shell, doesn't read .bashrc

I'm trying to integrate RVM with gnome-terminal. Per default, gnome-terminal does not start bash as a login shell. I enabled run command as a login shell as suggested in this answer about the same ...
24
votes
4answers
59k views

How can I completely remove Ruby + Rails + Gems?

I have messed up my Ruby dev environment on Ubuntu 10.04. What is the best possible way to remove these packages from my system? Ruby All Gems RubyGems To start fresh, I would like to re-install ...
12
votes
2answers
14k views

rails & libpq-dev nasty dependencies

I don't know if this question belongs here, but I'll take a shot. Hi. I'm running ubuntu 11.10 dual-boot with windows vista on my machine. On Ubuntu, I've installed RVM, rails gem, & PostgreSQL (...
12
votes
2answers
2k views

Why is it so difficult to setup Ruby on Rails on Ubuntu?

I've spent a few hours this morning trying to setup Rails on a fresh instance of Ubuntu and I noticed that the process is incredibly more convoluted than on Windows. On Windows I go to rubyinstaller....
11
votes
2answers
24k views

Why do I need to run “/bin/bash --login”

I have just setup a new Ubuntu 13.10 server with ruby 2.1.1 installed through rvm. The problem is that whenever I switch to the user "rails" (the user I installed ruby and rails with) I have to run /...
9
votes
4answers
17k views

Opening multiple terminal tabs and running command

I need to open multiple terminal tabs, give them titles, go to a directory, and make each tab run a command. I am new to Linux and shell scripting, after searching online and checking some solutions, ...
8
votes
4answers
46k views

rvm /usr/bin/env: ruby no such file error

I've installed rvm + ruby systemwide. which ruby /usr/local/rvm/rubies/ruby-2.1.1/bin/ruby and: /usr/bin/env: ruby: No such file or directory Everything else works fine, putting direct path of ...
7
votes
2answers
23k views

How would you install OpenSSL package for Ruby?

I have trouble finding the package for this software. I built and installed from the packages found here, but it's still not working properly with rvm and gem (log is located here). How would you ...
5
votes
1answer
5k views

Can't install json 1.8.1

I'm trying to install json gem using ruby 2.2.3 (I've tried with other oversions), and I always get the same error: Fetching: json-1.8.1.gem (100%) Building native extensions. This could take a ...
5
votes
0answers
1k views

Best way to Install Ruby 1.9, Rails 3, Postgres, Heroku, GitHub, Using RVM? [duplicate]

Possible Duplicate: How do I set up Ruby on Rails? Best way to Install RUBY 1.9, Rails 3, Postgres, Heroku, GitHub, Using RVM Can anyone suggest me the way in which should I follow to install it ...
4
votes
1answer
3k views

What is curl used for in Ruby?

I am a fairly new used and was looking for a way to install Ruby on my laptop and came across this link: https://rvm.io/rvm/install/ When I use the command specified there, it says curl is not ...
4
votes
4answers
4k views

Errors with Vagrant and Ubuntu 12.10 with RVM

Installed Vagrant via sudo apt-get install vagrant, and every time I try to run some vagrant command, such as vagrant init precise32 http://files.vagrantup.com/precise32.box I get the following error: ...
4
votes
1answer
30k views

GNU Make not found - How to install GNU Make on 12.04

We have set up an Ubuntu 12.04 LTS server for RoR. We did successfully install rvm and git. However installation failed with rvm for zlib and ruby 1.9.3. Here is the error log for $rvm install 1.9.3: ...
4
votes
3answers
1k views

How do I create a Unity launcher icon for Redcar in an RVM environment?

Redcar is a graphical application that is installed via a Ruby gem, and I have installed it in a Ruby environment that is managed by RVM. A launcher icon isn't automatically installed, so I need to ...
3
votes
3answers
4k views

Ruby command not recognized after installing it with rvm

I followed this tutorial to install ruby with rvm: https://www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-on-ubuntu-12-04-lts-precise-pangolin-with-rvm The problem is that ...
3
votes
1answer
706 views

Why did lolcat stop working after installing rvm?

After recently doing something that involved installing rvm, this error occurs when I try using lolcat. /home/max/.rvm/rubies/ruby- 2.2.0/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:...
3
votes
2answers
8k views

Change username and home directory name

I have changed the username of a user. Commands: killall -u username usermod -l new_username old_username groupmod -n new_groupname old_groupname usermod -d /home/new_username -m new_username ...
3
votes
1answer
5k views

Cannot get rvm to install correctly

Is anyone noticing problems when trying to install rvm on ubuntu? I have both Ruby 1.8.7 and 1.9.2 installed on my machine but can't figure out how to make it default to 1.9.2 other than the rvm route....
3
votes
1answer
1k views

Disable differences in login handling (non-interactive, interactive etc.)

I'm always having trouble with RVM installs and non-interactive vs. interactive shell sessions. If the session isn't interactive I'm usually getting the command not found error on different programs/...
3
votes
1answer
340 views

Unable to install Github-Pages with gem?

I've been trying to install github-pages using gem. I have Ruby v. 2.1.2: ✦ ruby -v ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux] I installed Ruby using RVM and I've set 2.1.2 as my ...
2
votes
1answer
9k views

Uninstall RVM, Ruby, Ruby gem and rails in Ubuntu 12.04

What is the best way to remove RVM, Ruby, Ruby gem and rails in Ubuntu 12.04 ?
2
votes
1answer
2k views

Is there an alternative to installing Ruby Version Manager (RVM) from repository in Ubuntu Software Center?

I generally avoid the hosted Ruby repos and install RVM manually but I notice there's an RVM repo in Ubuntu Software Center now. Has anyone used it? Would I be better off continuing to install RVM ...
2
votes
1answer
1k views

Why doesn't “rvm install ruby-head” do anything?

I just clean installed my ubuntu 10.10, then i installed some necessary packages and then rvm, but when I write the rvm install ruby-head command, then it's just like y press enter on the shell, ...
2
votes
1answer
4k views

'Run command as login shell' in LXTerminal

So I'm trying to get RVM setup on Lubuntu using instructions here. They say to change my shell settings, but the UI of Lubuntu / LXTerminal doesn't have that option (as far as I could see). If I try ...
2
votes
3answers
5k views

Where should I put this line “source ~/.rvm/scripts/rvm”?

where should I put this line source ~/.rvm/scripts/rvm it make it work when system start or how to install rvm on Ubuntu correctly for all users in my system?
2
votes
1answer
2k views

Installing rails 12.04 error

I have followed all stapes from this page https://www.digitalocean.com/community/articles/how-to-install-ruby-on-rails-on-ubuntu-12-04-lts-precise-pangolin-with-rvm It all goes well until command to ...
2
votes
1answer
3k views

Where is my ruby installed when i install through RVM?

right now i am running ruby 1.9 , which i installed using RVM . I needed that to run my redmine 2.4.2 , since i had trouble using 1.8. Now i need to configure my passenger mod to point to ruby 1.9 ...
2
votes
1answer
1k views

Unable to install RVM using curl

When i try to install the rvm using curl it displays the following message:- vverma@l-vverma:~$ curl -L get.rvm.io | bash -s stable % Total % Received % Xferd Average Speed Time Time ...
2
votes
1answer
1k views

How to install older ruby version on ubuntu Precise Pangolin?

I got a present: older Rails tutorials that needs old ruby version. I try to install ruby-1.8 with the packet manager. I still got problems with the tutorial example code. Next I try rvm to install ...
2
votes
1answer
3k views

Default Ruby version set with RVM not recognized by system

I'm trying to get the system to use the Ruby version I've set with RVM. The following commands produce this output: $ rvm use 1.9.2 --default Using /usr/share/ruby-rvm/gems/ruby-1.9.2-p180 $ rvm ...
2
votes
2answers
390 views

RVM is not showing up except when I log in remotely

I installed rvm, like you're supposed to do (apparently), avoiding apt-get to handle my ruby installations (as @btelles points out here: https://stackoverflow.com/questions/2225881/passenger-...
2
votes
1answer
279 views

Using RVM from within a service context

I have a user set up on Ubuntu 14. If I check when logged in as the user build@linux-build-agent-1:~$ type rvm | head -1 rvm is a function However, this machine is going to be a teamcity agent... ...
2
votes
2answers
1k views

Installing RVM on 11.10

I have been trying to get RVM properly installed on my system for 10 hours. The problem is, that when ever I run the command to download the install script I get this: edu@edu-VirtualBox:~$ bash -s ...
2
votes
1answer
2k views

Error when trying install Ruby with RVM on Ubuntu 17.10 [duplicate]

I installed RVM in my Ubuntu 17.10 but when I try to install Ruby I have this error: $ rvm install 2.5.0 Searching for binary rubies, this might take some time. No binary rubies available for: ubuntu/...
2
votes
1answer
850 views

error while running ruby application at system startup in ubuntu

I am on Ubuntu 12.04 machine. Have a script file which runs when entered manually in terminal gnome-terminal -e /home/precise/Desktop/cartodb/script.sh The content of script file is cd /home/...
1
vote
3answers
10k views

How do you login into /bin/bash automatically?

Im on 12.04 LTS and am doing to Ruby on Rails development. When I start up my terminal and type in ruby -v it will list my Ruby as 1.8.7. When I type in /bin/bash --login then ruby -v will list it as ...
1
vote
1answer
2k views

How to get RVM working when run from a startup script

Ok, following on from this question, I'm still having problems getting things working. I'm doing this: if [ "$(id -nu)" != 'your_user' ]; then exec sudo -Hu 'your_user' $0 fi which ruby cd /path/to/...
1
vote
1answer
1k views

What version of Ruby am I really running?

Im running Ubuntu 12.04 lts and have installed Ruby via RVM. Problem is when I just type ruby -v into the terminal it says that my Ruby Version is 1.8.7 and using the shotgun gem for Sinatra it ...
1
vote
2answers
47k views

Unable to locate package when running apt-get

I installed rvm and it tells me I'm missing some packages: viggy@viggy:~$ rvm requirements Installing requirements for ubuntu, might require sudo password. Skipping `apt-get update` make sure your ...
1
vote
3answers
4k views

failing to install RVM while trying to install RoR

I am trying to install RoR on my system. I am following digital ocean's tutorial. While I try to install RVM \curl -L https://get.rvm.io | bash -s stable with this command I am getting the below error:...
1
vote
1answer
269 views

What is best practices for upgrading for Rails 3?

Currently running Rails 3.07, Ruby 1.92, RVM and PostgreSQL on Ubuntu 11.04. Everything works great. Does upgrading Ubuntu (to 11.10 Oneiric Ocelot) cause any problems in Ruby on Rails? Does ...
1
vote
1answer
477 views

Installed Ruby 1.9.2 but new gems won't create scripts into /usr/bin

I had previously ruby 1.8 on my Ubuntu 10.10, which I removed through Synaptics. Then I have installed ruby 1.9.1 also via Synaptics (which is then saying that itself is version 1.9.2). Then I ...
1
vote
2answers
1k views

How do I fix 'jekyll: command not found' error permanently?

I've installed Ruby, RVM, and Jekyll following this tutorial and everything works fine after following those steps. My issue is that each time I open a new terminal window and want Jekyll to rebuild ...
1
vote
1answer
87 views

Why does everyone insist that Ruby be installed via rvm and not by compiling?

I just installed Ruby on my 12.04 machine by compiling from the tarball file I got from the official Ruby site. I want to know why doing that was a bad idea if I don't plan on using multiple versions ...
1
vote
1answer
279 views

How can I easily install ruby on rails? [duplicate]

Possible Duplicate: How do I set up Ruby on Rails? How can I easily install RVM, ruby 1.9.3, rubygems, passenger and rails all in one go ?
1
vote
1answer
341 views

Warning: /root/.curlrc:1: warning: 'ip4' is unknown

Warning: /root/.curlrc:1: warning: 'ip4' is unknown This happened after executing: \curl -L https://get.rvm.io | bash -s stable --ruby and giving the 0curl: (7) Failed to connect to get.rvm.io ...
1
vote
1answer
1k views

Ubuntu 12.04, ruby installation

I'm new to Ubuntu and Ruby and I have a problem, which seems to be strange. I needed to install Ubuntu because of problems with Ruby on Windows. I've installed Ruby, v. 1.9.3 (the same as I had on ...
1
vote
1answer
714 views

Issue With Upstart And RVM Gem?

Im trying to get a RVM gem to run via upstart... I can't seem to get it to work: siriserver.conf #siriserver start on filesystem or runlevel [2345] stop on runlevel [!2345] respawn exec start-stop-...