Question relating to Ruby Version Manager (rvm), a command-line tool that helps to manage multiple versions of Ruby
1
vote
1answer
2k 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 ?
22
votes
3answers
12k 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 ...
4
votes
2answers
542 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 ...
0
votes
1answer
207 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 ...
4
votes
3answers
908 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
25 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
67 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
0answers
179 views
Error While running rvm requirements command
Reading package lists...
Installing required packages: git-core......
Installing required packages: libreadline6-dev, git-core, zlib1g-dev, libssl-dev, libyaml-dev, libsqlite3-dev, sqlite3, ...
0
votes
1answer
271 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
323 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
256 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
232 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
130 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
669 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
308 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?
5
votes
2answers
4k 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
512 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 ...
6
votes
1answer
5k 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 ...
3
votes
1answer
227 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
53 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
313 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 ...
1
vote
1answer
187 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 ?
0
votes
1answer
412 views
Install Ruby Ubuntu With update-alternatives Command [duplicate]
Possible Duplicate:
No ruby alternatives on 11.04 / 11.10?
I have 2 questions about ruby on ubuntu.
I've already install ruby1.8 and ruby1.9.1 on ubuntu lucid but when I run ...
1
vote
2answers
3k views
Install ruby 1.9.2-p180 via RVM on Ubuntu 12.04
I just upgraded to the newest Ubuntu release and this broke my ruby on rails setup.
I would like to install ruby 1.9.2-p180 now via RVM:
rvm install ruby-1.9.2-p180
This is cancelled due to some ...
0
votes
1answer
785 views
Rails 3 not using rvm?
I there any way to install this * not using rvm?
I've got rails 3.2.3 gem installed but terminal can't found binary.
If You tell me to use rvm - please show me some WORKING (step by step) tutorial!
...
1
vote
1answer
995 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 ...
1
vote
1answer
3k 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:
...
0
votes
1answer
515 views
Problems with RVM and Rails when creating new app
When trying doing rails new myapp, under this path: /home/novito/Projectes I get the following error:
Can't initialize a new Rails application within the directory of another, please change to a ...
2
votes
1answer
983 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 ...
1
vote
2answers
291 views
Trouble getting ruby on rails running on 11.10 (RVM + Passenger + Apache2)
I am running into some issues getting my RoR production server up and running using rvm, passenger, and apache2. I was wondering if anyone could help me out. I am new to ubuntu and it is also my first ...
1
vote
2answers
626 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 ...
1
vote
1answer
624 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 ...
1
vote
1answer
239 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
297 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 ...
2
votes
2answers
263 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: ...
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 ...
14
votes
3answers
15k views
Completely Remove Ruby + Rails + Gems?
I have messed up my ruby dev environment on Ubuntu 10.04.
I need to install Ruby this time using RVM. What is the best possible way to remove:
Ruby
All Gems
RubyGems
From my machine, so that I ...
2
votes
1answer
523 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, ...

