So I''ve gotten my hands on Agile Web Development with Rails and want to follow along with the examples. I want to create a sandbox for testing/building applications. I''m running OS X and I''ve got the following installed: -Macports 1.320 -Ruby 1.8.5 - installed with Macports -Rubygems 0.9.0 -Rails 1.1.6 - installed using "sudo gem install rails --include-dependencies" I''m aware that I need both a web server and a database to follow along with the book. I''ve decided that I''m fine with using WEBrick for the time being as it''s preinstalled with Rails. However, I need some help in getting MySql installed. What''s the best way to install it? Macports? Gems? Directly from the website? Once installed, how to I get it up and running and linked to my Rails applications? This is my first time developing database backed web apps, so I''m relatively new to this. Thanks for your help! -Drew -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
ryan.raaum-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2006-Oct-08 17:39 UTC
Re: Rails Sandbox on OS X
Hi Drew, To continue with your current trajectory, I would suggest downloading the official binary installer for MySQL (http://dev.mysql.com/downloads/mysql/5.0.html). However, if you were willing to use sqlite and are using mac os 10.4, it''s already installed - just install the driver (gem install sqlite3-ruby). However (and blowing my own horn here), if you truly want a rails sandbox for os x, just download Locomotive (http://locomotive.raaum.org) - there are quick start directions in the Locomotive application help. Best, -r --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Ryan - Thanks for the response. Locomotive seems like a great sandbox as well, but I wanted to get my hands dirty and download each app on my own. I''ll go ahead and download the official binary installer for MySql5. After I do, do I need to install the driver for MySql5 (something along the lines of "gem insall mysql5-ruby)? Thanks, Drew -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Drew This link which you may or may not know about has the instruction for installing everything on OS X. http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger Further down the list is a section on MySQL. I followed the instructions for the entire install of Rails and the rest of it and it works flawlessly. Richard -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---