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: Ahad Bokhari Date: 12/16/08 07:19 PM
Subject: Thanks
Hey i have been having some problems with the manual rails install(Windows) → namely SQL. Instant Rails is good to go, but slow as hell. I am sure that this series will help me out, and after a long night of learning and failing i found you guys!!
Many thanks from Karachi, Pk.
From: Chris Cuellar Date: 10/29/08 05:05 AM
Subject: Ruby Script/Server?
Hello, I installed rails and check to be sure all my files were working (they were)When I go into command prompt to start the server with ruby Script/server I get an error saying no such file. I am running vista. the other question I have is I downloaded “E” text editor what command do I use to start the test editor from command prompt on windows vista?
Thanks, Chris
From: cherrian Date: 10/16/08 01:13 PM
Subject: ruby 186-26.exe
Ruby 186-26.exe does not respond to the check command. Also, I am not able to give the command install rails, capistrano mongrel mongrel_cluster What do you suggest?
From: cherrian chin harada Date: 10/16/08 04:04 AM
Subject: Setting up my environment
Hi, I hope you can help me on this matter. I working on a windows XP and I am following your lesson details but I am not sure if I am now at the stage to move to lesson #9. I click on the one-click Ruby installer and then I in Ruby Forge page, I then click on download but no indication or confirmation. I did not get any Ruby 186.76 set-up box from wizard…I did not see it running on my PC. Each I go to download I have this same experience, can you tell me why?
From: cherrian chin harada Date: 10/11/08 08:08 AM
Subject:
I have problem hearing the recording on lesson #8
From: cherrian chin harada Date: 10/11/08 08:08 AM
Subject:
I have problem hearing the recording on lesson #8
From: Peter Date: 09/04/08 11:23 PM
Subject: Instant Rails
You have a rather oblique criticism of Instant Rails. After looking at some extremely long and tortuous set up procedures (elsewhere) I installed it with relief and it works well. What’s the matter with it?
From: Christopher Haupt Date: 07/25/08 08:08 AM
Subject: MySQL Root Passwords
The thing to check first is to make sure you can get in to MySQL from the command line (in a DOS/Command Prompt Window, does mysql -p -u root work when you hit return at the password prompt?).
From: AussieDave Date: 07/10/08 10:22 PM
Subject: Ruby and My SQL root password
Hi am just starting lesson 9 and get an error Access Denied for user ‘root’@’localhost ’ (using pasword NO) when I click on the about your applciation environment in tjhe wlecome abourf index page
I am running on windows XP
Thanks
Dave
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 irb
3. wait the installation then paste sudo gedit /usr/bin/gem
4. after the line require 'rubygems' paste require 'rubygems/gem_runner', save and exit
5. back on terminal sudo gem update and sudo gem update --system
6. now sudo gem install rails
7. 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-rails for vim editor
9. for mysql sudo apt-get install mysql-server (optional)
10. for postgresql sudo apt-get install postgresql-server (optional)
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: Ahad Bokhari Date: 12/16/08 07:19 PM
Subject: Thanks
Hey i have been having some problems with the manual rails install(Windows) → namely SQL. Instant Rails is good to go, but slow as hell. I am sure that this series will help me out, and after a long night of learning and failing i found you guys!!
Many thanks from Karachi, Pk.