Questions tagged [rvm]

RVM (Ruby Version Manager) is a command line tool which allows users to install, manage and work with multiple Ruby environments from interpreters to sets of gems easily in the various Unix-like systems (such as Linux and Mac OS X).

Ruby Version Manager (RVM) is written by Wayne E. Seguin. RVM is a tool that lets you have multiple independent Ruby installations on the same machine. You can switch between them using a single command. This is wonderful, because you can experiment with new versions of Ruby while still keeping the old ones on your system.

RVM allows users to deploy each project with its own completely self-contained and dedicated environment — from the specific version of Ruby all the way down to the precise set of required gems to run the application.

A lot of questions are answered on the RVM site.

See Also

4104 questions
2
votes
1 answer

How to reinstall RVM

I'm trying to do the One Month Rails program. After doing some research on some warnings, I damaged my Ruby and Rails installation. I uninstalled RVM, Ruby and Rails and messed up everything. Opening a new terminal directly gives me: Last login: Wed…
Marc Böhle
  • 57
  • 1
  • 8
2
votes
2 answers

Drop database of Rails application from Ruby script, outside of application

I need to run 'rake db:drop' console command from ruby script (outside of Rails app). Generally it looks simple: system("cd /my/path && rake db:drop") But the problem is I'm under rvm hell, and when I'm doing cd /my/path it doesn't load correct…
Leo Burt
  • 109
  • 1
  • 6
2
votes
2 answers

Manage sidekiq with init.d script using RVM

I'm using the init.d script provided (the init.d script from the sidekiq github repo), but I am on an ubuntu system with RVM installed system wide. I cannot seem to figure out how to cd into my app directory and issue the command without there being…
Danny
  • 3,982
  • 1
  • 34
  • 42
2
votes
2 answers

RVM can't set ruby as default

I have no idea why but RVM can't seem to change the default Ruby. I'm using Oh My Zsh and tried everything I've found but nothing seems to work. ➜ Sites rvm use 2.0.0 --default Using /Users/anahkiasen/.rvm/gems/ruby-2.0.0-p247 ➜ Sites rvm…
Maxime Fabre
  • 2,252
  • 3
  • 20
  • 24
2
votes
2 answers

RVM is completely messed up. Need help to reinstall

I've been dabbling in Ruby and Ruby on Rails for a year or two and somewhere along the line I've completely buggered up my installation of RVM. Everything has a permission denied message. rvm get head has permission denied, rvm repair has permission…
Tamachan87
  • 277
  • 5
  • 11
2
votes
2 answers

How do I get Sublime Text 2 to work with Ruby on Rails?

I'm new to Ruby on Rails. Here’s what I’ve done so far: I’ve installed XCode, Homebrew, RVM, Ruby and Rails. Now how do I get Sublime Text 2 to work with Ruby on Rails?
LuisW
  • 29
  • 1
  • 2
2
votes
2 answers

RVM ruby installation issue

I've already got ruby and rails installed for some time and worked on some projects. Lately I've installed the Xcode 5 developer preview in order to get my apps ready for iOS 7. I'm just mentioning this in case the new Xcode messed it up. I first…
Linus
  • 4,643
  • 8
  • 49
  • 74
2
votes
2 answers

RVM requirements error

I have OS X Mavericks installed and I'm trying to run rvm requirements in terminal and it gives me this error. Installing required packages: autoconf, automake, libtool, pkgconfig, libyaml, libffi, readline, libksba, curl-ca-bundle,…
alexclp
  • 191
  • 1
  • 1
  • 9
2
votes
1 answer

RVM warning message

After RVM installation I get warning message: WARNING: You're using ~/.profile, make sure you load it, add the following line to ~/.bash_profile if it exists otherwise add it to ~/.bash_login: source ~/.profile What does it mean?
igor_rb
  • 1,821
  • 1
  • 19
  • 34
2
votes
1 answer

Bluepill - installed in user RVM - project specific gemset - how to run with sudo without password?

I have Bluepill setup to monitor my delayed_job processes. On my production server, I use RVM installed in the user's home folder (username is deploy). My app's gems are installed in its own project-specific gemset. So, the bluepill gem and its…
Anjan
  • 1,613
  • 1
  • 19
  • 25
2
votes
2 answers

How do I install Ruby without using RVM on OS X?

I have some issues with upgrading my Ruby version with RVM on OS X. RMV uses MacPorts, causing me to run sudo port selfupdate, which gets a bunch of compiling errors, despite correct Xcode command line tools installed. I found some installation…
epsilones
  • 11,279
  • 21
  • 61
  • 85
2
votes
1 answer

Ruby gems install vs. runtime path on OSX

Where's the mismatch between gem install path and used Rakefile path? I originally wanted to run a Rakefile on my Mac OS X Mountain Lion 10.8.4. That failed on a missing 'open4' package. I have no experience with ruby and little with Mac, but I…
Holger Bille
  • 2,421
  • 1
  • 16
  • 20
2
votes
2 answers

Paperclip in Production with Unicorn: uninitialized constant Paperclip (NameError)

I added Paperclip to my app then tried to deploy to my VPS using capistrano. The deploy happens successfully, but when I try to access my app on the VPS, I get the Rails Error Page. There is no information in production.log, but unicorn.log has the…
Tyler DeWitt
  • 23,366
  • 38
  • 119
  • 196
2
votes
1 answer

How to disable rvm output when use capstrano deploy?

I'm setting up a new server, with RVM, CAPSTRANO. but when i deploy the server, i got a error: * 2013-06-13 16:39:50 executing `deploy:assets:update_asset_mtimes' * executing "[ -e /home/rails/server/blog/shared/assets/manifest.yml ] && cat…
2
votes
3 answers

Ruby On Rails 3.2.13 - Using Different Gemsets For Rails Applications

I currently have several Rails applications running version 3.2.13 that use Ruby 1.9.3. I plan to eventually upgrade my current applications to Rails 4.0 then upgrade Ruby to 2.0. I need to time the conversion to Ruby 2.0 carefully since from my…