Yes, you’re in the right place. Hivelogic has merged with DanBenjamin.com, and its content now lives here. Watch this space for details.
Building Ruby, Rails, Subversion, Mongrel, and MySQL on Mac OS X
02 February 2007 · 623 Comments · No tags
Update for Leopard Users: The Ruby on Rails for Leopard installation instructions can be found here.
This article is a major update to the older (but tried-and-true) post, Building Ruby, Rails, LightTPD, and MySQL on Tiger. Both Ruby, Rails, and their underlying infrastructure have come a long way in recent months, and this article will get you to a leaner, meaner Rails install in less time using fewer steps.
This article is updated on a regular basis as new versions of the software are released.
What follows are instructions for building and installing the following applications on Mac OS X 10.4 (Tiger) along with their supportive software. I’ve been told that these steps work just fine on Mac OS X 10.3 (Panther) as well, but I haven’t verified this myself, and your mileage may vary.
Compiling and installing these tools this way is well worth the effort, as the end result delivers an easy-to-upgrade, system-independent, stand-alone development platform that is impervious to potential problems that can be caused by system updates, operating system upgrades, etc.
By rolling our own from source this way, we also have full control over our environment. We know what’s installed and where, what version we’ve used, where it came from, and there’s no dependence on an external ports system and the breakage or issues that come from relying on others to manage our software.
These issues and additional background information about why one might roll their own tools in this fashion are detailed in the article, Using /usr/local/, which could be considered a prerequisite for this task.
About (Not) Removing Old Versions
One of the great things about building these particular apps from source like this is that we don’t need to worry about removing older versions. When we build the new ones, they will replace the older versions as needed, and your system will be up to date with just the latest, greatest software.
The Concept
Basically, what we’re going to do here is download a bunch of open-source tools (some of which rely upon each other to work), configure them, compile them, and install them, one by one, until we have everything we need for a Mac OS X machine to run Ruby on Rails.
What’s Needed
A few things are needed to get this going:
- Mac OS X 10.4 (and maybe 10.3)
- Xcode 2.4 or newer (this compiles the apps for us)
- Willingness to type commands into the Terminal application exactly as they appear here (cut-n-paste works too)
- A tasty beverage to enjoy while things compile
Note: Xcode is not installed by default on new Macs, but can be found on the Mac OS X install DVD/CD, or downloaded from Apple’s Developer Connection free of charge.
Another Note: These instructions assume that you’re using bash, the default UNIX shell for Mac OS X 10.4. If you don’t know what this means and haven’t done anything very special to change this, you’re fine. If you’ve taken specific steps to change the default shell to something other than bash (like tcsh for example), you’ll need to be figure out the right files and syntax to use when setting paths and environment variables, or switch back to bash. Sorry about that.
A Quick Warning
While it’s unlikely anything we do here might do any kind of damage to the system, it’s good advice to have a current backup of everything, just in case. I don’t take any responsibility for anything that results from following these instructions (good or bad). You’re following these instructions at your own risk.
A Note about sudo
We’ll be using the command sudo quite a bit, and lots of people wonder what it does. Put simply, the sudo command allows a user (in this case, you) to execute a command as the superuser, allowing you to become the omnipotent master of your computer one command at a time.
With great power comes great responsibility, so Mac OS X may prompt you for your password prior to executing your command. It may do this only once, or several times throughout this process. Just re-enter your password as needed.
A Terminal Situation
Open the Terminal application. It can be found in the /Applications/Utilities folder.
Each of the lines below appearing in monospaced type should be entered into Terminal, and be followed by the Return key. But everybody knew that already.
Paths
Do not skip this step! Most everything else will fail if you do.
Mac OS X, like other UNIX systems, uses something called a path to determine where it should look for applications on the command line (that is, when you’re using the Terminal app). The path is actually an environment variable, set by a special file that’s automatically executed when you open a new Terminal window.
We need to make sure that our path is set to look for files in /usr/local (the place where we’ll be installing the tools) before looking anywhere else. This is important.
To see if the path has been set properly, we can check the contents of the .bash_login file (the special file hidden in our home folder) for a PATH line using a text editor. TextMate, TextWrangler, BBEdit, and vi are all perfectly good options. To open the file with TextMate, for example, we can type:
mate ~/.bash_login
This will open the file if it already exists, or open a blank file if it doesn’t. Add the following line at the very end of the file:
export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH"
Now save and close the file.
It doesn’t matter how many other lines there are in the file, or what they say or do. Just make sure that this line comes last and you should be fine.
To make sure the changes are picked up correctly, we now need to execute the file with the following command:
. ~/.bash_login
It’s likely there will be no response from the shell here, just the prompt, but that’s OK, the changes have been picked up and we’re ready to move on.
You can also close your Terminal and open a new one instead if you’d like.
Geek Note: You may have noticed that I’ve added MySQL to the path in the line above. That’s because most users will be installing MySQL later in this tutorial. If you’re the type to want to use something like SQLite or PostGreSQL as your database instead of MySQL, you can feel free to omit the /usr/local/mysql/bin: bit from the line above, and replace it with the path to the database of your choice. If this note doesn’t make sense to you, even if you don’t plan to install MySQL later, just keep on going … the extra bit in the path statement won’t affect you at all.
Setting Up
I like to create a folder to contain all of the downloaded files and their respective build folders. I tend to keep this folder around indefinitely. Source code doesn’t take up much space, and it’s useful to refer back to later to remind yourself of previous installation details or techniques, installed versions, for a fast install at a later time, or in case you want to uninstall something.
For these examples, we’ll create a folder called src in the /usr/local section of the filesystem, and change directories into that folder. It will be our workspace for everything we do here:
sudo mkdir -p /usr/local/src sudo chgrp admin /usr/local/src sudo chmod -R 775 /usr/local/src cd /usr/local/src
You’ll download and compile everything in this new folder.
Ruby
Now we’re ready to start the real work. Just type (or cut-n-paste) each one of the following lines into Terminal, one by one. When one line finishes (some will take a while and dump a lot of information to the screen), enter the next one.
As mentioned above, the first time you run the sudo command (and possible again later), you may be prompted for a password. Just enter your regular password here, and the process will continue.
We’ll start off with Ruby, but before we can compile Ruby itself, we’ll build a supportive application called readline. The commands below handle downloading, unzipping, configuring, compiling, and finally installing the code. This “pattern” will become more familiar as you move through the install step by step.
curl -O ftp://ftp.gnu.org/gnu/readline/readline-5.1.tar.gz tar xzvf readline-5.1.tar.gz cd readline-5.1 ./configure --prefix=/usr/local make sudo make install cd ..
If you get an error like the one below after typing the configure command:
checking whether make sets $(MAKE)... no checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH
This means that you did not follow the instructions and don’t have Xcode installed.
If you saw lots of text fly by but didn’t get that error, it means that everything went well, and we can move on to building and installing Ruby itself.
curl -O ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6.tar.gz tar xzvf ruby-1.8.6.tar.gz cd ruby-1.8.6 ./configure --prefix=/usr/local --enable-pthread --with-readline-dir=/usr/local --enable-shared make sudo make install sudo make install-doc cd ..
If you saw lots of text fly by but didn’t get that error, it means that we should now have a brand new Ruby installed.
We can verify this (as well as a correct path setting) by typing the following command:
ruby -v
You should see something like this:
ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-darwin8.9.1]
Don’t worry about the text in the parenthesis or brackets, those just provide detail about your system architecture which isn’t important here. What is important is that you see ruby 1.8.6. This means you’ve got the new version of Ruby installed and in your path, and you’re good to go.
If you see something like this:
ruby 1.8.2 (2004-12-25)
Then either your install failed, or you didn’t correctly set your path in the beginning (maybe you didn’t reload your .bash_login script or restart Terminal). Go back and check your work.
RubyGems
RubyGems is a handy command-line tool for managing the installation of Ruby packages, like Rails and Mongrel.
curl -O http://files.rubyforge.mmmultiworks.com/rubygems/rubygems-0.9.2.tgz tar xzvf rubygems-0.9.2.tgz cd rubygems-0.9.2 sudo /usr/local/bin/ruby setup.rb cd ..
Ruby on Rails
With RubyGems installed, Rails is a simple, one-line install:
sudo gem install rails --include-dependencies
If you see an error message like this:
/usr/local/bin/gem:3:in `require': No such file to load -- rubygems (LoadError) from /usr/local/bin/gem:3
It means you didn’t set your path as instructed in the very first step. Go back to the beginning and run that step again, then retry this step.
Mongrel
Mongrel is a fast, stand-alone HTTP library and server for Ruby. It allows you to run your Rails applications without having to compile or use other applications (like FastCGI, SCGI, LightTPD, or Apache).
Even better, Mongrel is also a gem. Type this command:
sudo gem install mongrel --include-dependencies
You’ll be prompted to select the appropriate gem for your platform, and you’ll be shown a list something like this one:
Select which gem to install for your platform 1. mongrel 1.0.1 (ruby) 2. mongrel 1.0.1 (mswin32) 3. mongrel 1.0 (mswin32) 4. mongrel 1.0 (ruby) 5. Skip this gem 6. Cancel installation
Although version numbers may be different, you should always select the one closest to the top of the list that ends with “(ruby)” ... this is usually the first option. Just type the number and press enter.
Subversion (Optional)
Subversion is an open-source version control system. It remembers every change ever made to the files and directories in your projects. This allows you to recover older versions of your data, or examine the history of how your data changed. You can read more about Subversion (svn) in the online Subversion book.
While it’s not mandatory to have svn running in order to use Rails, it’s highly recommended. It’s used by the Rails team for distribution management, by most web hosts for deployment (via Capistrano), and by most Rails developers to manage their code.
curl -O http://subversion.tigris.org/downloads/subversion-1.4.3.tar.gz curl -O http://subversion.tigris.org/downloads/subversion-deps-1.4.3.tar.gz tar xzvf subversion-1.4.3.tar.gz tar xzvf subversion-deps-1.4.3.tar.gz cd subversion-1.4.3 ./configure --prefix=/usr/local --with-openssl --with-ssl --with-zlib make sudo make install cd ..
Capistrano
Capistrano is a utility which may be used to automate the deployment of your Rails applications. Many Rails applications and webhosts require it, and while this is technically an optional step, it’s simple, fast, and highly recommended. You can get the latest version of this gem like this:
sudo gem install capistrano --include-dependencies
I also recommend installing termios, a gem that’s a wrapper for the UNIX termios command, which will prevent passwords you enter in Capistrano from being displayed in your Terminal for all to see.
sudo gem install termios --include-dependencies
Technically, you could stop right here. But most Rails applications need a database ...
MySQL
While it’s possible to compile and install MySQL ourselves, using the Mac OS X MySQL package is actually advantageous. Not only is the package-installer much faster and easier, but it includes a handy startup item and a preference panel, and the binary is tuned by the MySQL team for Mac OS X.
Even better, the package installs MySQL right into the /usr/local/ folder, just like it should!
The install still requires a few steps:
- Download the MySQL 5.0 package for OS X PPC or the MySQL 5.0 package for OS X Intel
- Double-click the drive image to mount it
- Locate the MySQL installer (a file named something like
mysql-5.0.37-osx10.4-i686.pkg) and run it, authenticating as needed - Double-click
MySQLStartupItem.pkg, authenticate, and let it install - Double-click
MySQL.prefPaneand install it, deciding whether to make it available to just the current user, or for all system users
Once the install is complete, start the MySQL server using the newly-installed control panel.
Note: MySQL installs with a default user of root using no password. If you care about the privacy of your data or computer, please read this page about MySQL usernames and passwords and set a good one.
MySQL Native Bindings Gem (Optional)
This step is an optional one, but the performance gains seem to make it worth the extra step.
We start with a command to install the gem:
sudo gem install mysql -- --with-mysql-dir=/usr/local/mysql
Just like the Mongrel install, you might see a prompt asking you which gem to install:
Select which gem to install for your platform 1. mysql 2.7.3 (mswin32) 2. mysql 2.7.1 (mswin32) 3. mysql 2.7 (ruby) 4. mysql 2.6 (ruby) 5. Skip this gem 6. Cancel installation
Again, just like the Mongrel install, we’ll want to pick the option closest to the top that ends in “(ruby)”. In the example above, we’d want to select option 3.
You’ll see some text scroll by and when it’s done, you’ll have built native MySQL bindings, which should help make database operations a bit faster.
Fix MySQL
There’s an issue with the current version of MySQL and the latest Ruby. Fortunately, this is easily fixed with the following command in Terminal:
sudo install_name_tool -change /usr/local/mysql/lib/mysql/libmysqlclient.15.dylib /usr/local/mysql/lib/libmysqlclient.15.dylib /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7/lib/mysql.bundle
You may be prompted to re-enter your password when you run it.
We’re Done
Congratulations, you now have a custom-built, properly located installation of Ruby, Ruby on Rails, MySQL, Mongrel, and Capistrano!
If you’re new to Rails and just want to create a sample app to see this all working, try this:
rails testapp cd testapp script/server
This will create a basic Rails app in a folder called testapp in your current folder (probably /usr/local/src if you’re doing this where the last step left off).
If all goes well, you’ll get some output that looks like this:
=> Booting Mongrel (use 'script/server webrick' to force WEBrick) => Rails application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server ** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with development environment... ** Rails loaded. ** Loading any Rails specific GemPlugins ** Signals ready. TERM => stop. USR2 => restart. INT => stop (no restart). ** Rails signals registered. HUP => reload (without restart). It might not work well. ** Mongrel available at 0.0.0.0:3000 ** Use CTRL-C to stop.
You can now check out your new app by clicking or pasting this link in your browser of choice: http://localhost:3000
What Else?
To do any real work with your new app, you’ll want to create a database for it. The Rails convention is that the database will take the same name as the name you specified when the app was created (in this case, “testapp”).
You’ll need to first start up MySQL, and then create a database. While you can start MySQL using the control panel you installed earlier, it can also be started using the command line:
sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
You won’t have to run this command again, because the startup item you installed for MySQL will make sure it’s running the next time you boot your Mac. With MySQL running, you can create a new database for the test application:
mysqladmin -uroot create testapp_development
If you created a password for MySQL, you’ll need to add the -p option to the command above and you’ll be prompted for your password.
The rest is up to you. Good luck, and have fun with Rails!
Comments
Erics · 31 December 2007 at 08:12 AM
Hi, any word when the updated version for Leopard will be ready?
Keith Veleba · 31 December 2007 at 12:12 PM
Working through this tutorial - I've built and installed everything here, except Subversion is saying it requires Berkeley DB. Did I miss a step? This is on a fresh Tiger install with everything up to date.
Thanks in advance,
Keith Veleba
Keith Veleba · 01 January 2008 at 02:01 PM
Please disregard, solved my problem by reading another of your articles. Thanks for the great resource, and Happy New Year!
Mel · 02 January 2008 at 11:01 AM
What about using Ruby 1.9 instead of 1.8?
Dave · 02 January 2008 at 02:01 PM
I did everything right and kept getting...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
when i tried installing the MYSQL into my computer. You should look into this because i literally installed this stuff 4 times and it kept giving me the same error message.
Ian Schaefer · 02 January 2008 at 11:01 PM
Very nice tutorial. I've never _enjoy_ unix installs, but this one was close.
One small problem: I successfully installed but got an error from 'testapp'. Turns out the version of Rails you link to requires version 0.9.4 of RubyGems; but your link to it (RubyGems) is pointing to version 0.9.2.
I tried to update using 'gem update --system' but got a permissions error, so I instead re-ran 'curl' substituting '0.9.4' for '0.9.2'. That did the trick.
Thanks for your great work.
Tony · 03 January 2008 at 12:01 PM
@Dave:
/tmp/mysql.sock is the default location where mysql is looking for its socket file, but it's often somewhere else, depending on how you've installed it. Following this guide, it's probably somewhere in /usr/local/
You should create a symbolic link from /tmp/mysql.sock to where-ever the file actually is.
sudo ln -s /actual_location/mysqld.sock /tmp/mysql.sock
Florian · 04 January 2008 at 09:01 AM
Hej! I have problems with the bash_login. The line "mate -/.bash_login" does not work for me, instead I write "mate .bash_login". I then type ". .bash_login" and when opening the file, the code is still there; I close the terminal window and open a new one, and the code is still in the file but when I have installed ruby, the file is empty and "ruby -v" says "ruby 1.8.2 (2004-12-25)". What Am I doing wrong? Please, if anyone could help me.
Florian · 04 January 2008 at 10:01 AM
my fault... I saw a hyphen instead of a tilde.
r c johnston · 04 January 2008 at 03:01 PM
After trying to install Gems it tells me that "No library stubs found".
Then I run:"sudo gem install rails --include-dependencies" and get "sudo: gem: command not found".
Suggestions, hints?
tia
Craig Vidler | Weblog » links for 2008-01-05 · 05 January 2008 at 01:01 PM
[...] Building Ruby, Rails, Subversion, Mongrel, and MySQL on Mac OS X at Hivelogic Installing Ruby on Rails etc on OS X 10.4 Tiger (tags: osx mysql ruby rails svn) [...]
GraphicEngineer · 05 January 2008 at 11:01 PM
Excellent tutorial - thanks! Still relevant as of January '08!
Note: users may need to update their RubyGems version from 0.9.2 to the latest (1.0.1 at the time of this comment.) The RubyGems update is needed to get the script/server running and is easy with the command: sudo gem update --system
RJ · 06 January 2008 at 04:01 PM
I was able to get everything installed okay. The only problem is that the default database is now SQLite3. So, if you want to create apps with the above instructions using MySQL, you'll have to start it using "rails -d mysql myApp". Else, install SQLite3 and use it. These instructions are easy to use and very much appreciated. Thanks!
r.connor · 06 January 2008 at 11:01 PM
i'm having the same problem at tia
dakan · 07 January 2008 at 05:01 PM
All went well for me except with Rails. I got this error? Any hints?
$ sudo gem install rails --include-dependencies
Bulk updating Gem source index for: http://gems.rubyforge.org
ERROR: While executing gem ... (Gem::GemNotFoundException)
Could not find rails (> 0) in any repository
What should I do?
dan · 08 January 2008 at 12:01 PM
@dakan - I had the same issue. For me things went better when I changed my .bash_login so that the PATH stuff was the last thing.
notBanksy · 09 January 2008 at 05:01 AM
Have noticed a small error on this tutorial. According to apple http://developer.apple.com/tools/xcode/update.html Xcode 2.4 will not run on panther...
Anyone got any tutorials for rails on panther?
Naresh · 12 January 2008 at 01:01 AM
@dakan - I had the same problem. I'd initially put the PATH suggested in my .bash_profile file and it worked all the way until the rails installation.
I got rid of my .bash_profile file and shifted the PATH and other stuff that I had in it into .bash_login as suggested.
Zak · 13 January 2008 at 11:01 PM
OK, I am a loser. Please help. I set path correctly
zak:~ zak$ echo $PATH
/usr/local/mysql/bin:/bin:/sbin:/usr/bin:/usr/sbin
zak:~ zak$
and the ruby install went well:
.
.
zak:/usr/local/src/ruby-1.8.6 zak$ sudo make install
Password:
./miniruby ./instruby.rb --dest-dir="" --extout=".ext" --make="make" --mflags="" --make-flags="" --installed-list .installed.list --mantype="doc"
installing binary commands
installing command scripts
installing library scripts
installing headers
installing manpages
installing extension objects
installing extension scripts
zak:/usr/local/src/ruby-1.8.6 zak$ ruby -v
----> AND Yet...
ruby 1.8.2 (2004-12-25) [universal-darwin8.0]
Zak · 13 January 2008 at 11:01 PM
Found bug. I had a .bash_profile which was messing with my $PATH
r.connor · 16 January 2008 at 05:01 AM
I'm with Dave. Stuck on mysql.sock missing from system. Did a sudo find / -name 'mysql.sock' and got nothing. : (
David Sletten · 17 January 2008 at 11:01 PM
As of 17 Jan. 2008 the MySQL package link above (http://mysql.he.net/Downloads/MySQL-5.0/mysql-5.0.37-osx10.4-powerpc.dmg) appears to be dead.
This looks like a good substitute:
http://dev.mysql.com/downloads/mysql/5.0.html#macosx-dmg
Latest version is 5.0.45.
johnmci · 18 January 2008 at 12:01 AM
jm-mbp:ruby-1.8.6 john$ ./configure --prefix=/usr/local --enable-pthread --with-readline-dir=/usr/local --enable-shared
...
ruby: [BUG] Segmentation fault
ruby 1.8.6 (2007-03-13) [i686-darwin9.1.0]
make: *** [.rbconfig.time] Abort trap
Everything went well until I got to the configure command to make ruby.
I'm running Leopard 15.1. Is there a later release than 1.86?
If so, how do I recover from this?
Thank you.
Obvious newbie
KL Tah · 18 January 2008 at 09:01 AM
thanks for the write-up -- this was definitely helpful to getting rails up and running for me.
the process went pretty smooth for the most part but some comments are in order:
1. I'm with Ian on the gem version. running "sudo gem update --system" will get the latest version installed.
2. I got the following error starting up rails the first time round:
[Admins-Computer 7] ktah > rails testapp
/usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:251:in `report_activate_error': Could not find RubyGem rails (>= 0) (Gem::LoadError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:188:in `activate'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:66:in `active_gem_with_options'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:50:in `gem'
from /usr/local/bin/rails:18
but it went away after re-running the gem for rails install.
3. installing mysql from binary is actually a great idea. no hitches there. I actually tried installing from source initially, but gave up after not being able to solve problems related to setting the root password.
4. as of a yesterday, ruby 1.9 is bugged. according to the forums, its in the process of being fixed (if its not already at time of this writing).
dc · 18 January 2008 at 03:01 PM
I’m with Dave & r.conner/.
Stuck on mysql.sock missing from system. Did a sudo find / -name ‘mysql.sock’ and got nothing. : (
Installation works a treat, updated gems to 0.9.4 & basic rails works but no db?
Dc · 18 January 2008 at 04:01 PM
In addition to my above this is the failure:
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
any help would be much appreciated.
Martin · 19 January 2008 at 10:01 AM
dakan
Jan 7th, 2008 at 5:17 pm
All went well for me except with Rails. I got this error? Any hints?
$ sudo gem install rails –include-dependencies
Bulk updating Gem source index for: http://gems.rubyforge.org
ERROR: While executing gem … (Gem::GemNotFoundException)
Could not find rails (> 0) in any repository
What should I do?
dakan, and everyone else having this problem, I had this problem, and it seems to be a bug, for some strange reason it always fails on the first attempt, just run the command again, and it should work, btw I've had this same problem several times on different machines and different net connections.
Jon · 19 January 2008 at 04:01 PM
I completed everything the went to do rails testapp and I got the "command not found". Not sure why...help.
Jon · 19 January 2008 at 06:01 PM
got it...now what?! I don't get it!
nathan miller · 19 January 2008 at 07:01 PM
Amazing walk-through. Thanks!
Tyson · 21 January 2008 at 12:01 AM
Thanks, you rock!
shecky · 22 January 2008 at 02:01 PM
I am an absolute newbie at all things Ruby, Rails, Terminal, etc. That said, no problems or errors until I got to the 'We're Done' bit:
rails testapp
... to which Terminal says,"-bash: rails: command not found"
Also, at http://localhost:3000/ I get:
"Status: 500 Internal Server Error Content-Type: text/html
Application error (Rails)"
Any guidance is much appreciated.
Dan · 25 January 2008 at 12:01 PM
Very good tutorial, I am very happy that every thing which I did went very well...Good work....
Put Together Quickly » Installing Ruby on Rails on Mac OS 10.5 or patching Dan Benjamin’s guide · 25 January 2008 at 09:01 PM
[...] don’t think there are too many people who hasn’t come across either of Dan Benjamin’s guides when looking to install Ruby on Rails on a Mac. They are [...]
Simon Blackman · 27 January 2008 at 07:01 PM
Thank you so much, I've been going round and round for day trying to get ruby to work, followed your instructions and boom! it works fine!
thanks again!!
New to Ruby | sun · 28 January 2008 at 06:01 PM
[...] NetBeans 6. My previous attempt with RoR was about 9 month ago and remember having to do a lot of curls and makes to get everything configured. Getting started with NetBeans has been very easy, since there is a [...]
Billy P. · 31 January 2008 at 08:01 PM
I was unable to get this tutorial to work for me until I used:
rails -d mysql testapp
otherwise, the system looked for sqlite3.
kwo · 01 February 2008 at 01:02 PM
Great information.
Two notes...
1. Installing the Rails gem with the --include-dependencies option didn't work for me (iTerm 0.9.5 on OS X 10.4). I tried updating RubyGems and deleting the source_cache, but couldn't get past the "Could not find rails (> 0) in any repository" error. Finally tried it without --include-dependencies and it worked (although I had to manually approve each dependency).
2. Setting the PATH in .bash_login didn't work for me. I don't know if iTerm is doing something different than Terminal, but I wound up needing to set the PATH in .bash_profile.
Much thanks for the excellent info.
Chris C. · 02 February 2008 at 02:02 AM
This was great! I'm a complete novice and had no problems until the very end in the "We're Done" section.
I ran the testapp. But when I did script/server, it said I had Ruby Gems 0.9.2 and I had to update to 0.9.4. I ran the upgrade, but got access errors. See below.
Does anyone know how to update or provide help? Again, I'm a complete novice. Thanks.
g5:/usr/local/src/testapp chrischen$ script/server
Rails requires RubyGems >= 0.9.4 (you have 0.9.2). Please `gem update --system` and try again.
g5:/usr/local/src/testapp chrischen$ cd ..
g5:/usr/local/src chrischen$ gem update --system
Updating RubyGems...
Bulk updating Gem source index for: http://gems.rubyforge.org
Attempting remote update of rubygems-update
ERROR: While executing gem ... (Gem::GemNotFoundException)
Could not find rubygems-update (> 0) in any repository
g5:/usr/local/src chrischen$ gem update --system
Updating RubyGems...
Bulk updating Gem source index for: http://gems.rubyforge.org
Attempting remote update of rubygems-update
ERROR: While executing gem ... (Errno::EACCES)
Permission denied - /usr/local/lib/ruby/gems/1.8/cache/rubygems-update-1.0.1.gem
Chris C. · 02 February 2008 at 06:02 PM
In my prior comments above, I had to upgrade to Ruby Gems 0.9.4. When I tried, I got an access error (see comments above).
Can I solve by rerunning the script in your article, but change ruby gems to the 0.9.4 version? Will this just rewrite over what we installed and cause no problems? Or is there a better/safer way to do this?
From the article: can I just change the 2 to a 4?
RubyGems
RubyGems is a handy command-line tool for managing the installation of Ruby packages, like Rails and Mongrel.
curl -O http://files.rubyforge.mmmultiworks.com/rubygems/rubygems-0.9.2.tgz
tar xzvf rubygems-0.9.2.tgz
cd rubygems-0.9.2
sudo /usr/local/bin/ruby setup.rb
cd ..
rubic · 03 February 2008 at 01:02 PM
This is one of the more thorough installation tutorials I have come across after a weekend of searching out answers to a few questions.
Have you addressed the issue of the of the 'tk (Load Error)'? I see this question posted all over the net with few 'follow-able' answers to the question. Could you direct me to an understandable solution?
Rubic
Desi · 04 February 2008 at 07:02 PM
Hi Dan,
I just wiped my mac and installed Leopard on my box and I am just curious how the updated instructions are coming along? I would be willing to test the instructions for you if don't mind helping me out if I run into issues.
Cheers
Desi
Imran Anwar · 07 February 2008 at 12:02 AM
Thanks for making the effort. I saw this post after I had already installed RubyStacks from Bitnami. I suspect others will be doing that too. But instead of losing that audience, it would be great if you post some items on how to leverage your posting even with their install.
regards
Imran
Chris · 07 February 2008 at 03:02 PM
Great tutorial. I had one problem and wanted to provide the solution I discovered.
Here are the versions I used:
Mac OS X Tiger 10.4.11 (PowerPC G5)
Xcode 2.5
Ruby 1.8.6-p111
RubyGems 1.0.1
Rails 2.0.2
MySQL 5.0.51a PPC 64-bit (Installer Binary)
Everything worked as advertised until attempting to install the MySQL Native Bindings Gem:
sudo gem install mysql -- --with-mysql-dir=/usr/local/mysql
Building native extensions. This could take a while...
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb install mysql -- --with-mysql-dir=/usr/local/mysql
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lm... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lz... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lsocket... no
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lnsl... no
checking for mysql_query() in -lmysqlclient... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
[...]
The solution I obtained from:
http://blog.wearesakuzaku.com/installing-the-mysql-ruby-gem-on-os-x/
"What it’s complaining about is the fact that it can’t find your MySQL client libraries. You have to pass in the location of your MySQL installation using the following switch:
sudo gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
"Many posts regarding the problems with this gem use the switch --with-mysql-dir. Don’t be confused — --with-mysql-config does basically the same thing, but apparently the mysql_config binary provides out all the command-line switches, including --with-mysql-dir, necessary for the installation..."
After this, it works flawlessly:
sudo gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
Building native extensions. This could take a while...
Successfully installed mysql-2.7
1 gem installed
--
Thanks again!
Joseph · 12 February 2008 at 12:02 AM
I'd be looking forward to the Leopard tutorial.
Mike · 12 February 2008 at 07:02 AM
While installing the rails gen, if you are getting:
ERROR: While executing gem ... (Gem::GemNotFoundException)
Could not find rails (> 0) in any repository
try doing a:
sudo gem update
That did the trick for me.
Nostalgic Garden » Blog Archive » mysql: command not found · 14 February 2008 at 02:02 PM
[...] error message on OSX Leopard 10.5.2, the chances are your PATH is not correctly saved. I followed Dan’s tutorial on installing MySQL on Leopard the other day and every time I had to do . /.bash_login to run the [...]
Prasad · 16 February 2008 at 09:02 AM
Hi, I am using MAc OS X tiger 10.4.9
I am getting the following issues.
I am always getting Ruby 1.2 instead of 1.8 on typing ruby -v at the bash shell prompt
I have used the vi editor to add the path for the .bash_login file. But how do i put it on the last line it was a new file - blank so there can be only one line and thats the first. I proceeded anyway
Also it says gem not found.
Kindly suggest. I am very excited about Ruby
and willing to lend a hand to the open source community
mysql Ruby Gem install Issues — solved! | Building Web Sites That Work · 21 February 2008 at 05:02 PM
[...] I ran into an issue today installing the ruby mysql gem on a fresh Leopard system with 10.5.1 installed and the MySQL 5 package for Intel installed. This is based on Dan Benjamin’s great work. [...]
Yome · 29 February 2008 at 08:02 AM
There is a new "release" of ruby :
ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p110.tar.gz
(look at the -p110)
Regards,
Yome
Yome · 29 February 2008 at 08:02 AM
!!! There is an major update for the RubyGems release :
http://rubyforge.org/frs/download.php/29548/rubygems-1.0.1.tgz
Regards
Yome
Yome · 29 February 2008 at 09:02 AM
Last link comes from my browser, so the good curl command is :
curl -O http://files.rubyforge.mmmultiworks.com/rubygems/rubygems-1.0.1.tgz
tar xzvf rubygems-1.0.1.tgz
cd rubygems-1.0.1
-----
For the mongrel install, i have not get any "prompt choices for the gem"..
-----
Lastest subversion version :
http://subversion.tigris.org/downloads/subversion-1.4.6.tar.gz
(And there is no more "dependencies" (subversion-deps-1.4.3.tar.gz))
curl -O http://subversion.tigris.org/downloads/subversion-1.4.6.tar.gz
tar xzvf subversion-1.4.6.tar.gz
cd subversion-1.4.6
-------
mySQL links are dead :
http://dev.mysql.com/downloads/mysql/5.0.html#macosx-dmg
And for : MySQL Native Bindings Gem (Optional) => no prompt ;)
-----
Thats's all for the "update" of ur (helpfull) article :D
Yome
Jack · 29 February 2008 at 09:02 PM
rails testapp
cd testapp
script/server
ERROR
Rails requires RubyGems >= 0.9.4 (you have 0.9.2). Please `gem update --system` and try again.
I found that the version of rubygems has be updated. Just replace 0.9.2 with 0.9.4.
http://files.rubyforge.mmmultiworks.com/rubygems/rubygems-0.9.4.tgz
Brilliant instructions. Very clear and easy to follow.
Tom Fahey · 02 March 2008 at 12:03 PM
I would like to get a ruby on rails program for my mac. How do I do this?
Keith · 03 March 2008 at 07:03 PM
Excellent guide. Totally stress free.
Thanks.
Ben · 07 March 2008 at 03:03 AM
Everything went smoothly until I came to the all-important step on installing Ruby on Rails. The following error came up. Please lend me your helping debugging hands...
My ibook G4 is using OS X 10.4 Tiger
ibook-g4:~/rubygems-1.0.1 ben$ cd ..
ibook-g4:~ ben$ sudo gem install rails --include-dependencies
sudo: gem: command not found
ibook-g4:~ ben$
bondibox · 07 March 2008 at 03:03 PM
Tom, you can download sample code for a few rails books. Agile Web Development with Rails is one, and Practical Rails Social Networking Sites is another.
Ben, I'm guessing you have both .bash_profile and .bash_login files, and they're conflicting.
Kevin · 08 March 2008 at 10:03 PM
Ben, it sounds like either:
A) Ruby was not successfully installed or
B) You didn't set up your path right.
Look for errors in the output from the ruby installation step to determine if A is the case. To see if B is the case, in your terminal, type "echo $PATH" without the quotes. You should see a list of paths separated by colons. If either /usr/local/bin or /usr/local are in there, then it's not B.
Man this article has a lot of botspam.
Roger Pack · 12 March 2008 at 11:03 PM
If you've installed mysql via MacPorts, then the mysql gem command will be
ruby extconf.rb --with-mysql-config=/opt/local/bin/mysql_config5
I believe.
Yagnesh · 13 March 2008 at 04:03 AM
How i start the ruby in windows platform?
and which editor will used for that?
also send me link of code to create ruby application for facebook.
Thanks
Yagnesh
JetPac · 21 March 2008 at 01:03 PM
Great tutorial!
On Leopard the compilation fails like this:
gcc -g -O2 -fno-common -pipe -fno-common -DRUBY_EXPORT -L. main.o dmydln.o libruby-static.a -lpthread -ldl -lobjc -o miniruby
ruby: [BUG] Segmentation fault
ruby 1.8.6 (2008-03-03) [i686-darwin9.2.2]
You can fix it via applying the patch here - http://chopine.be/lrz/ruby-osx-patches/ignore-gsetcontext.diff
cd ruby-1.8.6
curl -O http://chopine.be/lrz/ruby-osx-patches/ignore-gsetcontext.diff
patch -p0 < ignore-gsetcontext.diff
This worked for me!
sarang · 22 March 2008 at 04:03 AM
Faced a lot of problems during installation.
I am a new user on Mac.. recently moved from windows to Mac.
Some of the tips which helped me resolve the issues I was facing....
1. make sure XCode is installed on ur Mac. It comes in the Cd/DVD that comes with Mac and is not installed by default.
2. If you want to do partial installation of XCode then make sure you install following components -
- Developer Tools
- gcc
- SDK.mpkg (or install all the *SDK.pkg files in XCode)
3. Use Ruby1.8.6 which is a stable version. Previously I was using ruby1.9.0 and faced many issues.
Hope this will be helpful to someone....
Cheers,
Sarang.
Student Loan Debt Relief · 22 March 2008 at 01:03 PM
Student Loan Debt Relief
Many books you discover {will not have all you are searching for.
Justin · 27 March 2008 at 12:03 AM
This is a HUGE help. I've used it to set up Rails on several computers. Thanks!
David · 30 March 2008 at 10:03 AM
Rails newbie here. Every time I try and open the .bash_login file from the terminal I get file not found. Just using Mac's TextEdit. I've tried showing hidden files but makes no difference. Failing at outset, oh dear! Any help?
Michael Lewis · 30 March 2008 at 08:03 PM
Excellent instructions, however, I made the (bad) decision to use all of the latest releases (including the 64 bit mySQL server for the Mac OS/X). Everything worked great, except when I tried to use "requires 'mysql'" I got a load error on "mysql.bundle". When installing the mysql gem I received the following errors (which I ignored -- bad decision).
ld64 warning: in /usr/local/lib/libruby.dylib, file is not of required architecture
ld64 warning: in /usr/lib/libz.dylib, file is not of required architecture
ld64 warning: in /usr/lib/libobjc.dylib, file is not of required architecture
The solution to the issue was to uninstall mySQL 64 bit and install the 32 bit version. Although I have a 64 bit operating system, the mysql gem and 64 bit mySQL do not play well together. I hope this helps the next person out there.
manuel · 30 March 2008 at 11:03 PM
Hi,...
I'm just starting...
What if I get:
.bash_login: No such file or directory
when I try to run: ~./bash_login
And I can see the file using: ls -a
:-?
And thanks for the tutorial...
MixedContent · 04 April 2008 at 05:04 PM
Anyone have pros/cons on using MySQL vs. SQLite3? Is there, e.g., a good reason behind the Rails team's decision to change the default DB? Or is it just Coke vs. Pepsi?
JohnG · 06 April 2008 at 02:04 PM
Everyone who has problems with 'gem: command not found', or apparently the wrong version of ruby running (ruby -v produces 1.8.2), or the dreaded error
/usr/local/bin/gem:3:in `require': No such file to load -- rubygems (LoadError)
the problem is likely with your path. Things to check:
* did you do the modification to .bash_login at the top?
* did you confirm it 'took', and you executed the '. ~/.bash_login' command after?
The above two can be checked with 'set', and looking at the path variable to make sure it has what's needed.
* is the version of Ruby you just installed the one you're running? ('which ruby' will tell you where the ruby comes from; it should be /usr/local/bin)
* is there maybe another path with ruby in it *before* /usr/local/bin appears in your path?
* maybe you're running from another terminal window that hasn't run the newly configured .bash_login script, so the path is wrong?
(Just thought I'd list all the problems I had today...)
Everyone who has problems .bash_login not found, this is likely the normal starting configuration on a 10.4 Mac. If .bash_login doesn't exist, you may have a .login file, which bash executes instead. Otherwise, creating a new .bash_login with the given command is OK.
Any chance this beautiful post can get updated with all the useful updated information in the comments?
Scott Goddard · 20 April 2008 at 04:04 AM
Dan, thanks for this tutorial.
However, I am getting an error with trying to install rails.
I put in:
sudo gem install rails --include-dependencies
and received
ERROR: While executing gem ... (NoMethodError)
undefined method `refresh' for #
What does this mean?
Thanks, Scott
Scott Goddard · 20 April 2008 at 04:04 AM
In response to the error posted above,
I solved the problem by locating the source_cache file in gems with the following command:
gem env
The source_cache file was located in the path under "GEM PATH:", I then proceeded to delete everything in the file (I suppose you could just delete it too) and saved it.
Next I updated gems:
sudo gem update --system
And finally to install rails:
sudo gem intall rails -y
Hope this helps anyone with the same issue. Several people are encountering this error, this webpage gave me the best help: http://weblog.rubyonrails.org/2007/2/6/in-case-you-re-having-trouble-installing-gems
Piers Goodhew · 24 April 2008 at 01:04 AM
Trying this with 10.2 (I know, I know, this is not for any serious purpose), the make of readline failed with:
gcc: -compatibility_version only allowed with -dynamiclib
but, thanks to : https://stat.ethz.ch/pipermail/r-sig-mac/2005-August/002205.html
I ran make as follows and it all worked (at least, readline did, now compiling ruby)...
make CPPFLAGS=-DNEED_EXTERN_PC SHOBJ_LDFLAGS=-dynamiclib
Rosano · 28 April 2008 at 11:04 PM
For those of you trying to change the default database to MySQL, I don't think it is possible. The default was changed to SQLite in 2.0.2:
http://weblog.rubyonrails.org/2007/12/17/rails-2-0-2-some-new-defaults-and-a-few-fixes
Irakli Nadareishvili · 29 April 2008 at 01:04 PM
Thanks for a wonderful walk-through. I had one problem, though. Below is the problem def, with a solution.
Immediately after the installation of the gems, local source repo is empty, so if you just run
sudo gem install rails --include-dependencies
It will give you an error, complaining that no package with the name "rails" was found.
You need to run:
sudo gem list --remote
which will fetch gem modules list from a remote server and only then try to install rails.
Adam Ehven · 30 April 2008 at 11:04 AM
Hi. Just wanted to say thanks for the tutorial, works great.
RainMann · 01 May 2008 at 03:05 PM
I stumbled a little on the .bash_login step. Here are some things to keep in mind:
David: I had to create my own .bash_login file - it goes in your user directory or /Users/YourUserName/ .
When I tried the "~/.bash_login" command, it said: "Permission denied". That's cause it's the wrong command :)
Manuel: make sure you type ". ~/.bash_login" (as in "dot space tilda slash dot bash_login")
RainMann · 01 May 2008 at 05:05 PM
@daken: I got the same error:
"ERROR: While executing gem ... (Gem::GemNotFoundException)
Could not find rails (> 0) in any repository"
I just tried it again and it worked, possibly just a server/bandwidth issue
RainMann · 02 May 2008 at 03:05 PM
Great tutorial!
Thanks to Chris (with whom I happened to share an identical software/architecture profile) for the solution to the mysql gem installation blip I also encountered.
I'm excited! Thanks again!
liujie · 05 May 2008 at 12:05 PM
Thanks for the tutorial ,It's very useful.
phil · 06 May 2008 at 07:05 AM
Excellent tutorial!! Thank you!!
I followed this exactly and everything seemed to work correctly. However, when I launched testapp, the WEBrick server was used rather than Mongrel. Did I miss a path or configuration step?
Jason · 09 May 2008 at 08:05 PM
Thank you for the tutorial! My computer does not like this... I can't seem to get past the very first part.
I'm running 10.4.11. I've created the .bash_login file and tested it... but here's what I get
***********
Last login: Fri May 9 17:26:16 on ttyp1
Welcome to Darwin!
-bash: {rtf1macansicpg10000cocoartf824cocoasubrtf470: command not found
-bash: /Users/jay-ota/.bash_login: line 2: syntax error near unexpected token `}'
-bash: /Users/jay-ota/.bash_login: line 2: `{\fonttbl\f0\fswiss\fcharset77 Helvetica;}'
***********
Gah! What is this?
Jason · 09 May 2008 at 10:05 PM
Ahah! Nevermind. I used textedit to create the file and somehow all those hidden commands that specify font, color and such must have gotten saved with it. I used vi in terminal and cleared the problem up.
Nat · 12 May 2008 at 06:05 PM
Bingo man! What a tutorial. Took me 75 minutes but everything is fine ... I am riding on the Rails baby!
Aidan C. · 15 May 2008 at 05:05 PM
Hi, I hope someone is still reading this far down the comments and can help.
I must admit first off that I have done very very little with the terminal or linux type commands.
I'm getting the "ruby 1.8.2" problem, which has been mentioned in previous comments.
That first step of ammending the .bash_login file was very problematic for me. I downloaded text mate to try to try to keep rigidly to the tutorial and copy and paste whenever possible, but the listed command didn't work for me. I made the file, copying in the appropriate lines, in text wrangler and saved (got the warning message that it would be a hidden system file) and was even able to view the file in the terminal with vi and the appropriate lines appear to be there.
The ~/.bash_login command was responded to with a "Permission denied" which is frustrating. I do have the correct password for all the sudo commands.
The tutorial suggests I "go back and check my work" but I think I'm too severely a n00b for that to mean anything to me.
John G in the comments suggested using the 'set' command, but I don't follow what he meant for us to do.
Can any kind, patient people help me out here?
jeff davidson · 16 May 2008 at 12:05 AM
hi-
i am trying to install ruby on my iMac Duo Core. Are the directions different for a Universal machine? When I get to the MAKE step in the Ruby install, I get the following error:
i686-apple-darwin9-gcc-4.0.1: -compatibility_version only allowed with -dynamiclib
make[1]: *** [libreadline.5.1.dylib] Error 1
make: [shared] Error 2 (ignored)
Seems like it is compiling for i686? Do I need to do something differently to compile for my processor?
Thanks!
Aidan C. · 16 May 2008 at 03:05 PM
Following up on my earlier comment:
I saw some of the other comments mentioned editing the .bash_profile file. I don't have that file, just the .bash_login file I created (which doesn't seem to be doing what I hoped it would) and a .bash_history file.
any suggestions?
snowmaninthesun · 16 May 2008 at 10:05 PM
If you run into a problem installing ruby and are getting an error saying , try manually creating a blank /Library/Ruby folder, along with blank /usr/bin/ruby and /usr/bin/gem folders. (if you want to open the bin directory simply type open /usr/bin). I had to do this to get my install to work correctly. I also changed on line on configuration to
./configure --prefix=/usr/local --disable-pthread --with-readline-dir=/usr/local --enable-shared
hope this helps
Rich · 17 May 2008 at 10:05 PM
Fantastic article - so useful for those of us using older computers. Thank you.
Ethan · 18 May 2008 at 01:05 AM
.Bash_login PATH SOLUTION
Copy and paste the path command above directly into your command line in root, you don't need to modify the .bash_login file.
This took me a while, but it works
Unftefml · 24 May 2008 at 01:05 PM
http://blogs.ign.com/BonyClarck/ ">discount flights airline tickets txgfh
free_lg · 24 May 2008 at 01:05 PM
sdfdasf dsffsadf sdfasdf dsfasd http://groups.google.us/group/ringtonesf ">ringtone only teenagers can hear
Pzmqlype · 24 May 2008 at 01:05 PM
Best Site Good Work http://groups.google.us/group/e-free-hot-sex-movies ">daddy fucking babysitter =-)))
lg preinstalled · 24 May 2008 at 06:05 PM
fgdsfg gdsfgdsf gdfgdsfg sgdsfgdsf http://groups.google.us/group/ringtonesk ">how do you turn songs into ring tones
polyphonic ring tones · 24 May 2008 at 07:05 PM
dfgdf gdfgdsf gdfsgsdf gdfsgdsfg http://groups.google.us/group/ringtonesl ">farting ring tone
phone ring tones · 24 May 2008 at 07:05 PM
dfgdsfg gdfgdsfg gsdfgdsfg dsfgdsf ghttp://groups.google.us/group/ringtonesm ">free ring tones for kyocera rave
Wfpyhfud · 24 May 2008 at 08:05 PM
good material thanks http://groups.google.us/group/r-free-hot-sex-movies ">gay fist fuck movies =(
Badsecvv · 24 May 2008 at 09:05 PM
Best Site Good Work http://groups.google.us/group/www-free-hot-sex-movies ">granny fucks all 723
Ermgtrix · 24 May 2008 at 10:05 PM
http://groups.google.us/group/c-free-hot-sex-movies ">stories fucking daughter in law >:-)))
Nvjxzmdh · 24 May 2008 at 11:05 PM
real beauty page http://groups.google.us/group/s-free-hot-sex-movies ">small girls fucking :]]
Mpawfpeu · 25 May 2008 at 12:05 AM
this post is fantastic http://groups.google.us/group/v-free-hot-sex-movies ">fuck pussy juice 8D
Bftoeauo · 25 May 2008 at 02:05 AM
Very Good Site http://groups.google.us/group/t-free-hot-sex-movies ">fuck my sexy wife ayvpnn
Vyghfeat · 25 May 2008 at 03:05 AM
preved, http://www.google.com/notebook/public/11729032693471068765/BDSHDQwoQ0qL_vaAj ">adult photos
, mtts, http://www.google.com/notebook/public/15259343295928746059/BDQ2NQgoQt7KZvaAj ">free teen sex pics
, 244755, http://www.google.com/notebook/public/15257776711470029549/BDQGMQgoQjYW5vaAj ">quotes from sex and the city, 9524, http://www.google.com/notebook/public/06013205092494685186/BDQ2NQgoQjLDIvaAj ">ebony lesbians, %-OOO, http://www.google.com/notebook/public/11759976064108141972/BDQcKQgoQzd-fvqAj ">sexy things, 00982,
free motorola · 25 May 2008 at 03:05 AM
hello good links thx http://groups.google.us/group/ringtoneso ">coyote howl ring tone
replica tiffany · 25 May 2008 at 03:05 AM
great site dude http://groups.google.us/group/replicaz ">nfl replica jerseys
Knldshsh · 25 May 2008 at 03:05 AM
very best job http://groups.google.us/group/xx-free-hot-sex-movies ">porn granny fucking >:((
Iyqluhlk · 25 May 2008 at 04:05 AM
real beauty page http://groups.google.us/group/g-free-hot-sex-movies ">gay fucking 52336
jlbz5h4vq8 · 25 May 2008 at 05:05 AM
o8pgss0wq5zi http://www.1004097.com/1051437.html nj7yrfwyd115zk7
Wfwsmgqe · 25 May 2008 at 05:05 AM
It's serious http://groups.google.us/group/xl-free-hot-sex-movies ">fucking big women xfdnhi
jlbz5h4vq8 · 25 May 2008 at 05:05 AM
nxubly4b2knxubly4b2k 14p521w83k x8wlai8i4fx8wlai8i4f 8rdq25vxpx husuq5i9onhusuq5i9on 6yz1kwtsbn hc8lyc1ilnhc8lyc1iln i63n3qpspf p48eq2mhd4p48eq2mhd4 80g1kyxs1z 1211719335
jlbz5h4vq8 · 25 May 2008 at 05:05 AM
325zd2nq4y325zd2nq4y 5rl9hdn6fp 1211719336
Bycjeytc · 25 May 2008 at 06:05 AM
visit this link please, http://www.google.com/notebook/public/03708604068697917023/BDShxQwoQmtLmvaAj ">free gay sex videos, lub, http://www.google.com/notebook/public/07853417349599660824/BDSHDQwoQsKamvqAj ">sexy things, sst, http://www.google.com/notebook/public/03708604068697917023/BDQaSQgoQvrrDvaAj ">chinese sex
, 974784, http://www.google.com/notebook/public/12580037635562417232/BDQcKQgoQ4-jLvKAj ">sex shows, rmidq, http://www.google.com/notebook/public/04518140748534904174/BDQGMQgoQvNWavaAj ">sex websites, >:-]]],
Shedszxi · 25 May 2008 at 07:05 AM
this is be cool 8) http://groups.google.us/group/j-free-hot-sex-movies ">biggirlsfucking 554975
Qjicjffe · 25 May 2008 at 07:05 AM
good luck, http://www.google.com/notebook/public/11450631130710377986/BDQouQwoQparFvKAj ">adultfilms, 983, http://www.google.com/notebook/public/11252032031149962332/BDQcKQgoQy6rxvaAj ">young nude teens, 4169, http://www.google.com/notebook/public/13245067043857728437/BDQouQwoQ4dT9vaAj ">fuckingmachines, 8DD, http://www.google.com/notebook/public/12630655019032318979/BDSHDQwoQg7GIvqAj ">adult book stores, =-], http://www.google.com/notebook/public/00010327734504202561/BDSIKQgoQnsW0vqAj ">ebony ocean, xuu,
Rikiebva · 25 May 2008 at 07:05 AM
It's serious http://www.gamesforum.ca/showthread.php?t=298398 ">teen xxx 928295
Puriihom · 25 May 2008 at 08:05 AM
cool site, http://www.google.com/notebook/public/03062637624860494485/BDSMKQgoQzqDlvKAj ">sex storys, =(((, http://www.google.com/notebook/public/09410320851250536343/BDQouQwoQjYXAvqAj ">pregnancy and sex, dsatex, http://www.google.com/notebook/public/16282785884900318021/BDQaSQgoQ34izvaAj ">granny thumbs, 2956, http://www.google.com/notebook/public/03239853193981682073/BDQcKQgoQvJCNvaAj ">sexy secretaries, 380245, http://www.google.com/notebook/public/03935066014723350270/BDSHDQwoQ0u7pvaAj ">sex quizes, 137,
Hpcwpiqk · 25 May 2008 at 09:05 AM
perfect design thanks http://www.gamesforum.ca/showthread.php?t=298418 ">seegreatporno.info owp
bunnyteens · 25 May 2008 at 09:05 AM
fsdfs fdasfasd fdsafas fdasfas http://groups.google.us/group/teensz ">azureteens
teengalleries · 25 May 2008 at 09:05 AM
dfgdfgdfsgsd gdsfgdsf gdsfgdsf gdsfg http://groups.google.us/group/teensxx ">heroteens
Moelemfi · 25 May 2008 at 09:05 AM
visit this link please, http://www.google.com/notebook/public/00895674109720497891/BDQcKQgoQ8qTmvKAj ">sextoy, 878912, http://www.google.com/notebook/public/07181491746075502161/BDSHDQwoQocHEvKAj ">adult finders, 050553, http://www.google.com/notebook/public/03429900409832712048/BDSIKQgoQ2cvivaAj ">free sex cam, :-OO, http://www.google.com/notebook/public/00575945269446945890/BDQouQwoQtPSDvaAj ">freenudephotos, 8-PP, http://www.google.com/notebook/public/09011843530853627646/BDQaSQgoQiK_SvaAj ">milf sex, kgjq,
Koodmeua · 25 May 2008 at 11:05 AM
good luck, http://www.google.com/notebook/public/15730026020703348245/BDQGMQgoQyKyivqAj ">mom sex, 6922, http://www.google.com/notebook/public/00010327734504202561/BDSMKQgoQ-dapvaAj ">latinsex, =-OO, http://www.google.com/notebook/public/04961950911666139311/BDQouQwoQn7vlvKAj ">pre teen sex, =-D, http://www.google.com/notebook/public/06674677682791848521/BDQcKQgoQv62VvaAj ">sexy nudes, jaize, http://www.google.com/notebook/public/15259343295928746059/BDSIKQgoQ-8DAvqAj ">adam and eve adult toys, 54589,
Kmdkhblh · 25 May 2008 at 12:05 PM
good luck, http://www.google.com/notebook/public/10929329128923189484/BDSHDQwoQ1f70vKAj ">bdsm library, 5534, http://www.google.com/notebook/public/05965418716373466825/BDQ2NQgoQ1vKAvaAj ">brutal sex
, 15211, http://www.google.com/notebook/public/02761789428593892551/BDSIKQgoQ9-WfvaAj ">lesbian sex videos, :OOO, http://www.google.com/notebook/public/16282785884900318021/BDQGMQgoQ9NmhvqAj ">adult finders, :-)), http://www.google.com/notebook/public/11977800704107806989/BDQaSQgoQtbjCvKAj ">sextracker, lxc,
Lcjwxbnp · 25 May 2008 at 01:05 PM
this is a best site, http://www.google.com/notebook/public/05485654796061483715/BDSHDQwoQz7-GvqAj ">funny sexy pictures, cger, http://www.google.com/notebook/public/06348439861254659432/BDQ2NQgoQ6KGpvaAj ">nude pregnant women, 990, http://www.google.com/notebook/public/00635704765789776560/BDQxVQwoQrr7zvKAj ">big bubble butts, 34242, http://www.google.com/notebook/public/10929329128923189484/BDShxQwoQsfOUvqAj ">free adult websites, :P, http://www.google.com/notebook/public/03708604068697917023/BDSIKQgoQuf-0vqAj ">adult sex sites, =-DDD,
Vfoaoqec · 25 May 2008 at 02:05 PM
good luck, http://www.google.com/notebook/public/17440309387764416100/BDShxQwoQsq6MvaAj ">nude picture, %-O, http://www.google.com/notebook/public/12630655019032318979/BDQGMQgoQ46PTvKAj ">sexcam, zovkf, http://www.google.com/notebook/public/00698941406372420074/BDSHDQwoQzLW1vqAj ">ebony teens, xsaa, http://www.google.com/notebook/public/02266755620203000409/BDQcKQgoQiuSZvqAj ">cum face, 866082, http://www.google.com/notebook/public/00092631372686029681/BDQouQwoQi_X3vaAj ">gay sex videos, 920,
Ufzcccwc · 25 May 2008 at 03:05 PM
cool site, http://www.google.com/notebook/public/12484650797774141596/BDQcKQgoQ8NH2vaAj ">fucking hard, eaqubg, http://www.google.com/notebook/public/06674677682791848521/BDSIKQgoQwbftvaAj ">cumeaters, :-PPP, http://www.google.com/notebook/public/17137239918520024728/BDSMKQgoQrai_vaAj ">gay cocks, yjspj, http://www.google.com/notebook/public/09892851125293148305/BDQ2NQgoQ--eqvaAj ">kids nude, 49089, http://www.google.com/notebook/public/13164023050322941805/BDQxVQwoQ2KzfvKAj ">older women sex
, %-[,
Hgqmtwhg · 25 May 2008 at 04:05 PM
sorry, http://www.google.com/notebook/public/13003289242780724249/BDQouQwoQi9_YvKAj ">bdsm library, tgnose, http://www.google.com/notebook/public/16339465827223669268/BDSMKQgoQmJigvqAj ">beast sex, tqwbtp, http://www.google.com/notebook/public/05485654796061483715/BDSHDQwoQz7-GvqAj ">free sex vidios, ntjk, http://www.google.com/notebook/public/16339465827223669268/BDSMKQgoQ0faHvqAj ">adult frind finder, 1281, http://www.google.com/notebook/public/16282785884900318021/BDQxVQwoQ7pPUvKAj ">hardcore porno, =((,
Iqrdhrpc · 25 May 2008 at 06:05 PM
good luck, http://www.google.com/notebook/public/00698941406372420074/BDQGMQgoQ9siqvaAj ">kids sex, 668010, http://www.google.com/notebook/public/12998348451552839217/BDQouQwoQ5oSpvaAj ">sexy tattoos, lckr, http://www.google.com/notebook/public/05383612425883218810/BDQcKQgoQuvWUvaAj ">fist fucking, 580, http://www.google.com/notebook/public/06612287062008311194/BDShxQwoQ57ivvaAj ">brazil xxx, oqs, http://www.google.com/notebook/public/17426224538534686625/BDShxQwoQh7_KvKAj ">nude grils, pixin,
Dzvcxawr · 25 May 2008 at 06:05 PM
magic story very thanks http://www.sitepoint.com/forums/showpost.php?p=3830335&postcount=2 ">southwest airline tickets 6522
Pfobceop · 25 May 2008 at 07:05 PM
nice stuff, http://www.google.com/notebook/public/11450631130710377986/BDSMKQgoQzNGJvaAj ">kids sex, %-], http://www.google.com/notebook/public/15463862713139378066/BDQ2NQgoQu6fDvKAj ">xxx free, =-(((, http://www.google.com/notebook/public/03935066014723350270/BDQcKQgoQttPGvaAj ">ebonyjoy, >:], http://www.google.com/notebook/public/09548158364361218472/BDSMKQgoQqeG_vaAj ">bikini sex, %-OOO, http://www.google.com/notebook/public/02547610074907262400/BDShxQwoQobGwvaAj ">how to get a bigger butt, kkg,
Fpaslsht · 25 May 2008 at 09:05 PM
this is a best site, http://www.google.com/notebook/public/07853417349599660824/BDSIKQgoQ_t3AvKAj ">latina sex, 8DD, http://www.google.com/notebook/public/06756961372157490124/BDShxQwoQ9MD6vKAj ">sexy old ladies, 143, http://www.google.com/notebook/public/04325402194760568338/BDSHDQwoQ8_WMvqAj ">sex techniques, 17955, http://www.google.com/notebook/public/08829504252394570567/BDQ2NQgoQye-3vaAj ">sexy lingera, 6351, http://www.google.com/notebook/public/08809099367926770600/BDQaSQgoQs6ibvaAj ">fucking hard
, %-OOO,
Hsbhlfau · 25 May 2008 at 11:05 PM
Wonderfull great site http://www.photomalaysia.com/forums/showpost.php?p=628775 ">last minute airline ticket 8-PPP
Zorfradj · 25 May 2008 at 11:05 PM
this is a best site, http://www.google.com/notebook/public/07181491746075502161/BDSHDQwoQwZH4vaAj ">xxx free
, >:-[[, http://www.google.com/notebook/public/15435779460006799275/BDQcKQgoQqaXhvaAj ">nude cheerleaders, 4243, http://www.google.com/notebook/public/14524374814513240377/BDQcKQgoQxqG2vqAj ">free sex video clips, wjzjj, http://www.google.com/notebook/public/09544500896075010477/BDSHDQwoQwJ3QvKAj ">strap on sex, 291, http://www.google.com/notebook/public/01743303096456194289/BDSHDQwoQtaCkvqAj ">bbbw, >:[[,
Ctefhist · 26 May 2008 at 12:05 AM
nice stuff, http://www.google.com/notebook/public/09664037017102910082/BDQGMQgoQ7ZeSvaAj ">anal sex toys
, 032, http://www.google.com/notebook/public/11450631130710377986/BDSMKQgoQzNGJvaAj ">kids sex, qxo, http://www.google.com/notebook/public/11252032031149962332/BDQxVQwoQt5-ZvaAj ">simple nudes
, sazhn, http://www.google.com/notebook/public/00010327734504202561/BDSIKQgoQ1MH_vaAj ">sexyteens, dlc, http://www.google.com/notebook/public/13777347420804283607/BDShxQwoQ8sC7vaAj ">sex images, 7889,
Wrsauddm · 26 May 2008 at 02:05 AM
visit this link please, http://www.google.com/notebook/public/00575945269446945890/BDQaSQgoQ9N_TvaAj ">phone sex operator, %(((, http://www.google.com/notebook/public/03722554507573314829/BDShxQwoQkLvgvKAj ">teen fuck
, =-D, http://www.google.com/notebook/public/13164023050322941805/BDQaSQgoQo4LjvaAj ">sexy nurses, lmf, http://www.google.com/notebook/public/15730026020703348245/BDSMKQgoQ-JGYvaAj ">myadultspace, jofv, http://www.google.com/notebook/public/09336241419228146437/BDQ2NQgoQzPnAvKAj ">nude black dancers, 86002,
Mhvvxdfc · 26 May 2008 at 03:05 AM
visit this link please, http://www.google.com/notebook/public/07467223850553156314/BDQcKQgoQvLq9vaAj ">sex therapists, >:PPP, http://www.google.com/notebook/public/13156316498869429903/BDQxVQwoQ9qnUvaAj ">free adult, :-(((, http://www.google.com/notebook/public/13164023050322941805/BDShxQwoQ67_AvaAj ">sexy blondes, 170773, http://www.google.com/notebook/public/16273967946883227424/BDQcKQgoQzMi5vqAj ">cum on my face, awkqw, http://www.google.com/notebook/public/05485654796061483715/BDQ2NQgoQwOyevqAj ">men sex, uzwzq,
daf · 26 May 2008 at 03:05 AM
Ben, I'm guessing you have both .bash_profile and .bash_login files, and they're conflicting.
Agavunsn · 26 May 2008 at 04:05 AM
this is a best site, http://www.google.com/notebook/public/10929329128923189484/BDQouQwoQneuuvqAj ">adultfriedfinder, 20578, http://www.google.com/notebook/public/00575945269446945890/BDQcKQgoQnLrWvKAj ">child sex, aimlr, http://www.google.com/notebook/public/13772676530039764991/BDQouQwoQxqnHvKAj ">adult novelties, fpur, http://www.google.com/notebook/public/08829504252394570567/BDSHDQwoQ-LDzvaAj ">nude dancers, 9153, http://www.google.com/notebook/public/15435779460006799275/BDQaSQgoQnuqjvaAj ">casual sex
, 196,
Vpqzrrzq · 26 May 2008 at 05:05 AM
cool site, http://www.google.com/notebook/public/15041203019907134302/BDQ2NQgoQp8eVvqAj ">adultvideo, >:OOO, http://www.google.com/notebook/public/11759976064108141972/BDQaSQgoQtZ7pvKAj ">family incest, 500, http://www.google.com/notebook/public/00895674109720497891/BDQcKQgoQkovqvaAj ">beast sex, asrgn, http://www.google.com/notebook/public/10929329128923189484/BDShxQwoQsfOUvqAj ">asexual, 565, http://www.google.com/notebook/public/08809099367926770600/BDQcKQgoQqpuFvaAj ">fighting cocks, 517,
Bwflvkuc · 26 May 2008 at 07:05 AM
preved, http://www.google.com/notebook/public/13772676530039764991/BDSMKQgoQpIiLvaAj ">nude picture, mzarr, http://www.google.com/notebook/public/12580037635562417232/BDQGMQgoQifjivKAj ">sexy ads, jnzkzw, http://www.google.com/notebook/public/00575945269446945890/BDQcKQgoQnLrWvKAj ">cum drinkers, =-))), http://www.google.com/notebook/public/16339465827223669268/BDQGMQgoQs5TuvaAj ">artistic nudes, pndm, http://www.google.com/notebook/public/09892851125293148305/BDSMKQgoQx97MvKAj ">maturesex, 8-(((,
Edpruaqo · 26 May 2008 at 09:05 AM
cool site, http://www.google.com/notebook/public/16273967946883227424/BDShxQwoQjs7HvaAj ">love and sex, >:[[[, http://www.google.com/notebook/public/03321114740496521728/BDSMKQgoQ4ejGvKAj ">adult massage, eqmc, http://www.google.com/notebook/public/16282785884900318021/BDQaSQgoQ34izvaAj ">adult spanking, 7469, http://www.google.com/notebook/public/08217067962661925613/BDSMKQgoQpMWtvqAj ">drunk moms
, =D, http://www.google.com/notebook/public/09249981523202070533/BDQxVQwoQn7acvaAj ">midgets fucking, 0290,
Qsieoyfi · 26 May 2008 at 11:05 AM
preved, http://www.google.com/notebook/public/13245067043857728437/BDQxVQwoQipf3vKAj ">sexy bathing suits, 69313, http://www.google.com/notebook/public/01986385989949402719/BDQxVQwoQoszOvKAj ">tasteful nudes, :-]]], http://www.google.com/notebook/public/00092631372686029681/BDSMKQgoQy-aRvqAj ">sexual predator, >:DDD, http://www.google.com/notebook/public/11729032693471068765/BDSIKQgoQ3MDivKAj ">old women sex, jpv, http://www.google.com/notebook/public/13245067043857728437/BDQxVQwoQzqbBvaAj ">wife fucking, oqa,
Mupmhjka · 26 May 2008 at 12:05 PM
visit this link please, http://www.google.com/notebook/public/18178841554754606890/BDQGMQgoQiragvaAj ">pornography addiction
, 210, http://www.google.com/notebook/public/17440309387764416100/BDQcKQgoQ-vXevKAj ">big black butt, 4909, http://www.google.com/notebook/public/17137239918520024728/BDQouQwoQ27CvvqAj ">cheerleaders nude, 241403, http://www.google.com/notebook/public/16698602917658302613/BDSHDQwoQz9TCvKAj ">love and sex, 23818, http://www.google.com/notebook/public/15730026020703348245/BDQcKQgoQuJLSvaAj ">midgets fucking, >:]]],
Sdkqjskf · 26 May 2008 at 02:05 PM
preved, http://www.google.com/notebook/public/00010327734504202561/BDQaSQgoQzovmvaAj ">xxx vogue, 682072, http://www.google.com/notebook/public/13156316498869429903/BDQGMQgoQifzWvKAj ">adult massage, 785, http://www.google.com/notebook/public/10578460794794651677/BDSMKQgoQlLDuvaAj ">sexy asses, 496591, http://www.google.com/notebook/public/04783000267877052097/BDSMKQgoQ56fRvKAj ">sexy underwear, >:]], http://www.google.com/notebook/public/17426224538534686625/BDShxQwoQh7_KvKAj ">transexual personals, rfzoe,
Iipskkwo · 26 May 2008 at 03:05 PM
preved, http://www.google.com/notebook/public/00698941406372420074/BDSMKQgoQg8_jvKAj ">free incest, >:-]]], http://www.google.com/notebook/public/15259343295928746059/BDQouQwoQiNPsvKAj ">phone sex operator, =DDD, http://www.google.com/notebook/public/13156316498869429903/BDQ2NQgoQ9si_vKAj ">free group sex, xhiskz, http://www.google.com/notebook/public/01752718852116681477/BDQouQwoQrYifvaAj ">masturbation tips, 213691, http://www.google.com/notebook/public/13777347420804283607/BDShxQwoQ8sC7vaAj ">cock ring, >:-),
Geetntfz · 26 May 2008 at 04:05 PM
nice stuff, http://www.google.com/notebook/public/11729032693471068765/BDSMKQgoQ5q_LvKAj ">male sex, kqyhie, http://www.google.com/notebook/public/08217067962661925613/BDQGMQgoQ_IndvKAj ">free adult, 069773, http://www.google.com/notebook/public/15041203019907134302/BDShxQwoQu9H7vaAj ">hot sexy girls, 296, http://www.google.com/notebook/public/10929329128923189484/BDQaSQgoQ9e_6vaAj ">free gay sex videos, aeyq, http://www.google.com/notebook/public/03941925057457551991/BDSIKQgoQx9-5vaAj ">cockfighting, 4082,
Lbwymqtm · 26 May 2008 at 05:05 PM
visit this link please, http://www.google.com/notebook/public/08809099367926770600/BDSHDQwoQufHzvaAj ">pantyhose sex, 92839, http://www.google.com/notebook/public/11252032031149962332/BDSMKQgoQpaPAvqAj ">family incest, rxq, http://www.google.com/notebook/public/17191040685571178135/BDQ2NQgoQsvL8vKAj ">sex ed, %-))), http://www.google.com/notebook/public/17440309387764416100/BDQaSQgoQjoPAvaAj ">nude wwe divas, %-D, http://www.google.com/notebook/public/16273967946883227424/BDSMKQgoQvZ6EvqAj ">cum drinkers, 5525,
Gupgajlb · 26 May 2008 at 06:05 PM
This site is crazy :) http://www.pctools.com/forum/member.php?u=49139 ">discount cheap low air tickets 43303
Dsnfcraz · 26 May 2008 at 06:05 PM
cool site, http://www.google.com/notebook/public/08809099367926770600/BDQcKQgoQ05SNvqAj ">chyna nude, 283, http://www.google.com/notebook/public/00895674109720497891/BDSMKQgoQ-MeDvqAj ">free sex personals, rbfsq, http://www.google.com/notebook/public/13616315479909991739/BDShxQwoQ7fjQvKAj ">adult toy, 7616, http://www.google.com/notebook/public/15730026020703348245/BDSIKQgoQvP-BvaAj ">porno free
, wsote, http://www.google.com/notebook/public/01684611989539113203/BDSHDQwoQoP_xvKAj ">adult ecards, =-PPP,
Vmzxybpz · 26 May 2008 at 07:05 PM
this is a best site, http://www.google.com/notebook/public/13616315479909991739/BDSIKQgoQndznvKAj ">gay fucking
, 9431, http://www.google.com/notebook/public/11252032031149962332/BDQ2NQgoQ2-SKvqAj ">free incest pics, 497,


Ken A. · 29 December 2007 at 08:12 PM
I'm not even a Mac user ... what a great tutorial! Congrats :-)