Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you configure RadRails to use Rails installed through RVM?

How do I properly setup Aptana RadRails if I've installed Rails through RVM?

I followed the install on http://railstutorial.org/ but my script paths don't work: e.g.:

  • 'rails' path: /home/marius/.rvm/gems/ruby-1.8.7-p302@rails3gemset/bin/rails
  • Detected path: Not Detected
like image 808
Marius Butuc Avatar asked Dec 08 '10 15:12

Marius Butuc


People also ask

What is RVM in Rails?

RVM, or Ruby Version Manager, is a command line tool that lets you manage and work with multiple Ruby development environments and allows you to switch between them. In this tutorial, you will install RVM, the stable release of Ruby on Rails (or the specific version of your choosing) via RVM, and Node.

What is the use of RVM?

RVM is a command-line tool that allows you to easily install, manage, and work with multiple ruby environments from interpreters to sets of gems. Ruby Version Manager, often abbreviated as RVM, is a software platform for Unix-like operating systems designed to manage multiple installations of Ruby on the same device.


1 Answers

After installing ruby through rvm, I was able to get eclipse to use that install by:

In Eclipse, go to Window -> Preferences.
In the Ruby/Interpreters tab click "Search"

For me this found all of the ruby installs from rvm, and it added them to the interpreters list. I edited the "Name" field to include the version number for convenience.

like image 190
whitehat101 Avatar answered Sep 24 '22 01:09

whitehat101