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

learn more… | top users | synonyms

2
votes
2answers
35 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, ...
0
votes
0answers
23 views

Ubuntu rvm installlation

I try to install RVM on Ubuntu 14.04, but I got error after below command : curl -L https://get.rvm.io | bash -s stable --autolibs=enabled Error Message : serifsadi@serifsadi-ubuntu-HP:~$ ...
12
votes
2answers
12k 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 ...
0
votes
1answer
44 views

gem install eventmachine fails, using rvm

Ubuntu 13.10 64bit, ruby 2.1.1 rvm 1.25.24 gem 2.2.2 from log file: compiling pipe.cpp ...
1
vote
3answers
1k 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
61 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 ...
0
votes
2answers
124 views

Error installing RVM

I am following this guide, but this is the output I receive. What am the problem? dbugger@mercury:~$ \curl -sSL https://get.rvm.io | bash -s stable --rails Downloading ...
2
votes
1answer
48 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 ...
31
votes
4answers
25k 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 ...
0
votes
0answers
237 views

No command 'rvm' found, but there are 21 similar ones rvm: command not found

In my both of the terminal I was using happily Rvm. Now today, I unexpectedly seeing, in one terminal, Rvm is not being recognize as a command, as it should be. But the other one is working perfectly. ...
6
votes
2answers
12k 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 ...
0
votes
1answer
237 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 ...
8
votes
3answers
20k 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 ...
0
votes
1answer
178 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 ...
0
votes
2answers
123 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 ...
0
votes
1answer
89 views

Ruby on Rails on ubuntu 13.04 using rvm

I am trying to get WEBrick to work rvm gemset list gemsets for ruby-1.8.7-p374 (found in /home/simon/.rvm/gems/ruby-1.8.7-p374) (default) global => simple_cms my gem list gem list *** ...
3
votes
1answer
859 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 ...
3
votes
3answers
2k 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: ...
0
votes
1answer
54 views

Installing ruby with rvm and making ruby visible to bash

I installed rvm according to the instructions from the official website. Then I installed two ruby versions While rvm was visible to bash, ruby was not. I was browsing the web for a solution and I ...
0
votes
0answers
137 views

Can't find gem location for passenger gem using rvm

I have a running redmine version 1.3.2 on my ubuntu 12.04 already, and now i am trying to install a new 2.4.2 version at a different location. I used RVM to install ruby 1.9.2 and I need the ...
1
vote
1answer
68 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 ...
0
votes
1answer
87 views

Getting always - “xmpfilter: command not found”

I have installed vim plug-in - t9md/vim-ruby-xmpfilter. My .vimrc contains 1 set nocompatible " We're running Vim, not Vi! 2 syntax on " Enable syntax highlighting 3 filetype ...
1
vote
1answer
129 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 ...
7
votes
2answers
9k 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 ...
0
votes
1answer
15 views

How change a mention about user folder after user name changing correctly

colleagues. I renamed my username from test to drobazko. Also I renamed a user folder from /home/test to /home/drobazko. I am developing under Ruby rvm. And I found out that the /home/test/ path was ...
1
vote
0answers
371 views

Ruby 2.0.0 RVM error installing on Ubuntu 13.10

Ruby 2.0.0 RVM error installing on Ubuntu 13.10: Error running 'requirements_debian_update_system ruby-2.0.0-p353', please read /home/sergey/.rvm/log/1385231754_ruby-2.0.0-p353/update_system.log ...
0
votes
2answers
18k 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 ...
0
votes
0answers
290 views

Problem with bundle install in RoR

I am using RVM and using ruby-1.9.2-p180 When I enter my project I get: You are using '.rvmrc', it requires trusting, it is slower and it is not compatible with other ruby managers, you can switch ...
0
votes
0answers
225 views

Can't install ruby-1.8.7-p334 via rvm

I'm having difficult installing Ruby on my computer. I initially wanted to install the ruby-2.0.0-p247 but RVM could not find the package. When running the following command: rvm install ...
0
votes
0answers
67 views

Ruby -v and RVM list different versions

I installed ruby via rvm into Ubuntu 12.04 lts. In terminal when I type ruby -v to check what version of ruby im on it list 1.8.7. Problem is I never installed this version and when I type rvm list, ...
1
vote
2answers
82 views

Will a Ruby installation installed by a package manager conflict with one installed with RVM?

I installed the Heroku Toolbelt the other day, and it looks like Ruby was a requirement, so the package manager installed it for me. But I was planning to install Ruby through RVM. Will the two Rubys ...
1
vote
1answer
319 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 ...
1
vote
1answer
2k views

Installing Ruby On Rails stack on Ubuntu? [duplicate]

I'm looking to install ruby on rails on Ubuntu similarly to how its described in the RailsIntaller.org for MAC/Windows. Instructions and guides that I've seen to do this on Ubuntu seem to be all over ...
1
vote
1answer
6k 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 ?
6
votes
2answers
879 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 ...
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 ...
0
votes
1answer
130 views

How to prevent installation of Ruby Version Manager on 12.04 Server from failing? (works on Desktop)

Here is some weird error I'm experiencing trying to install Ruby version manager on a server running Ubuntu 12.04: the problem is that when I make some test on my pc, which is Running 12.04 "regular ...
1
vote
2answers
168 views

How can I switch from using Rails 2 (packaged) to Rails 3 (RVM)?

I've installed the Rails 2.3.14 package by running: sudo apt-get install rails It is working fine. But after that I installed the Rails 3.2.9 gem by running: gem install rails In the terminal, ...
0
votes
1answer
2k views

gem install error: “cannot load such file — zlib”

I'm trying to install ruby on rails from scratch on Ubuntu 12.10. Getting help from this post: echo "[[ -s '${HOME}/.rvm/scripts/rvm' ]] && source '${HOME}/.rvm/scripts/rvm'" >> ...
2
votes
1answer
648 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 ...
0
votes
1answer
1k views

Ubuntu root .bashrc file

I was installing rvm and for some reasons i changed first line on root's .bashrc what was there? i inserter if [[ -n "$PS1" ]]; then and see that i'm root, can't undo... What string is first like ...
0
votes
1answer
562 views

Why can't I install libnotify in Ubuntu 12.10?

my env: play@ubuntu:~$ gem env RubyGems Environment: - RUBYGEMS VERSION: 1.8.24 - RUBY VERSION: 1.9.3 (2012-11-10 patchlevel 327) [x86_64-linux] - INSTALLATION DIRECTORY: ...
2
votes
1answer
254 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 ...
3
votes
1answer
962 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 ...
1
vote
3answers
2k 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?
0
votes
1answer
1k views

Single user rvm needs sudo, and adding users to rvm group

I am following the instructions on the rvm site. First, I tried to install for single users: $ curl -L https://get.rvm.io | bash -s stable % Total % Received % Xferd Average Speed Time ...
3
votes
1answer
862 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 ...
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 ...
1
vote
1answer
62 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 ...
0
votes
2answers
792 views

Error Installing ruby-rvm

When I try to install ruby-rvm, I get this... $ sudo apt-get install ruby-rvm Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not ...