Setting Up Your Development Environment
To listen to the lesson, click the Play button on the left. You can also right-click on the download link to save the mp3 file, or you can subscribe in iTunes (just search for Learning Rails).
To read a transcript of the lesson, click the Transcript link on the left.
The heart of the lesson is the audio; these notes are supplementary. So please listen to the audio, or read the transcript, before making use of these notes.
Detailed Ruby on Rails Development Environment Installation Instructions
Comments on This Lesson
From: Christopher Haupt Date: 05/22/08 12:12 PM
Subject: RE: When you already have MySQL
No need to set up another instance of the DB. If you are already running successfully, just use the one you have. You can follow the rest of the instructions. The one thing you may need to tweak is if you have problems building the mysql gem (on Mac/Linux, you’ll likely use the binary version on Windows). On Mac/Linux, tweak the instructions so that the command paths are to your installation (where-ever it is) instead of the assumed “ports” version of /opt/local…”
From: Xavier Date: 05/22/08 11:11 AM
Subject: instruction when MySQL already installed using WAMP (XP) or MAMP (MAC)
I already had MySQL installed using WAMP (on XP PC) and MAMP on (OS X Leopard). Should I follow your instructions, and still install another MySQL Server, or bypass those instructions? I’m worried about either screwing up my ability to run Ruby on Rails, or PHP that was already installed.
From: Ramsesoriginal Date: 05/16/08 11:11 AM
Subject: Ubuntu - Linux in general
Hi. In ubuntu its really easy: open a termianl and type sudo apt-get install ruby rails for a basic system.
From: Zeck Date: 05/11/08 03:03 AM
Subject: Install on Ubuntu
Hi, How to install ruby on rails on ubuntu 8.04 ? Any Idea ?
From: Grzegorz Date: 05/10/08 11:23 PM
Subject: upload file
How to upload file to server in Ruby? Help me !
From: K Goarany Date: 05/06/08 07:07 AM
Subject: Ubuntu Version
Thanks Chris! In our CS lab, we’re running 7.10 “Gusty Gibbon”.
From: Christopher Haupt Date: 05/05/08 05:17 PM
Subject: RE: RoR on Ubuntu
Thanks all for the requests for a write-up regarding Ubuntu. I’ll add it to the list for a future article. What version are folks running out there?
From: K Goarany Date: 05/05/08 02:14 PM
Subject: RoR on Unbutnu
Thanks Chris & Michael for your great podcast! I for one would love if you would do a write-up for setting up RoR in Ubuntu
From: K El-Goarany Date: 05/05/08 02:14 PM
Subject: RoR on Unbutnu
Thanks Chris & Michael for you great podcast!
I for one would love if you do a write-up for setting up RoR on Ubuntu.
From: hayat Date: 05/04/08 11:11 AM
Subject: Please
What about Detailed Ruby on Rails Development Environment Installation Instructions on Ubuntu????????????
From: Christopher Haupt Date: 04/30/08 09:21 PM
Subject: RE: Linux
So far we’ve been covering the majority case of current screencast downloaders for OSs. For most Linux distros, the simplest way to get started is to use the particular package management system available on your machine (rpm. yum, apt-get, etc.), pull down the Ruby and MySQL packages, and if needed, grab RubyGems and follow the readme for its install. Once you have that, the instructions for grabbing gems is pretty similar to the Mac OS instructions. If there are particular rough spots out there, we’d love to hear about them. If enough folks write in, we might do a representative write-up for something like Ubuntu.
From: pillar Date: 04/30/08 07:19 PM
Subject:
Linux?
From: Philipe Farias Date: 05/22/08 04:16 PM
Subject: Ubuntu instructions
Installation instructions for Ubuntu (7.10 or 8.04):
1. open terminal
2. paste this command
sudo apt-get install ruby rubygems irb3. wait the installation then paste
sudo gedit /usr/bin/gem4. after the line
require 'rubygems'pasterequire 'rubygems/gem_runner', save and exit5. back on terminal
sudo gem updateandsudo gem update --system6. now
sudo gem install rails7. and if you want to boost gedit see this for beginning: http://github.com/mig/gedit-rails/tree/master
8. or simple
sudo apt-get install vim-ruby vim-railsfor vim editor9. for mysql
sudo apt-get install mysql-server(optional)10. for postgresql
sudo apt-get install postgresql-server(optional)