- Skill level:
Other People Are Reading
Things you need
- Computer with Internet connection
- Root access to computer
Download Aptana Radrails from the Aptana downloads website. Extract the downloaded archive to your home directory.
On the computer's panel, select "File" and then "Administration." Open Synaptic Package Manager and search for "default-jdk." Download and install "default-jdk" and all of the required dependencies if they are not already installed. This is the Java Development Kit for Ubuntu and it is needed to run RadRails.
From the computer's panel, select "File" and then "Accessories" and open the Terminal application and type: "sudo apt-get install ruby rdoc irb libyaml-ruby libzlib-ruby ri libopenssl-ruby ruby1.8-dev" without the quotation marks to download the Ruby architecture. Ruby is a programming language used in RadRails.
Return to the Terminal prompt. Enter and execute the following lines, one at a time: "wget http://rubyforge.org/frs/download.php/29548/rubygems-1.0.1.tgz"; then "tar xzvf rubygems-1.0.1.tgz"; then cd rubygems-1.0.1"; then sudo ruby setup.rb"; then sudo gem update --system"; then sudo ln -s /usr/bin/gem1.8 /usr/bin/ge".
Create the first Rails application in Terminal without using "sudo." Enter "$ ~/lib/ruby/gems/1.8/bin/rails/path/to/new/railsapp," but replace "/path/to/new/railsapp" with the location of where you want the application source code to live (such as /home/myhome/rails/myapp). Open the RadRails folder in your home directory and select AptanaRadRails, then navigate to the newly created Rails application folder.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for