Questions tagged [rvm]

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

88 questions
79
votes
4 answers

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 know if there is a command to download the latest…
Private
  • 4,074
53
votes
6 answers

Why is /etc/profile not being loaded during non-login bash shell sessions?

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.d/*.sh) is not being loaded. According to the…
Marc
  • 533
31
votes
4 answers

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 Ruby using RVM.
zengr
  • 818
30
votes
4 answers

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 topic setting up RVM, but when I do this the .bashrc…
24
votes
2 answers

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 /bin/bash --login before Ubuntu recognises that…
13
votes
2 answers

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.org, run the executable (I was specifically…
13
votes
2 answers

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 (the postgres server, client, & other packages like…
PatrixCR
  • 375
11
votes
3 answers

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 usermod -c "New Name" new_username chown…
Chetan
  • 143
10
votes
4 answers

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, I made this script (EDITED based on answers…
Brary
  • 200
10
votes
4 answers

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 ruby in my executables work fine.
user25389
8
votes
2 answers

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 suggest finding a package for this to work properly?…
6
votes
1 answer

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 while... ERROR: Error installing json: ERROR:…
5
votes
0 answers

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

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 properly, because previously I felt in various…
5
votes
1 answer

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: checking pthread.h presence... yes checking for…
4
votes
3 answers

/usr/bin/env: ‘ruby’: No such file or directory

When crontab tries to execute the script: @reboot sh /home/username/unicorn_start.sh > /home/username/unicorn_start.out 2>&1 It creates me a log file with the following content: /usr/bin/env: ‘ruby’: No such file or directory. This is what I have…
1
2 3 4 5 6