I''m fairly new to programming and the mac and I really want to have a go at learning Ruby On Rails, I have followed the set up tutorial on Hivelogic and I have a problems that I just can''t fathom out and I can''t seem to put the right collection of words into Google to get a definitive answer. The problems is:- 1 - I want to use mysql rather than Sqlite. Whilst I have followed the instruction on Hivelogic in "Installing Ruby, Rubygems, Rails, and Mongrel on Mac OS X 10.5 (Leopard)" every time I create a new file structure (e.g. rails example_application) and I then check the database.yml file it still shows the db as sqlite3. Maybe there is no way of changing this and my expectation that something magical via the config in the tutorial will rewrite this to show mysql in the file is misguided??? I installed the mysql gem. Cheers, Mark. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
On Sat, Jan 31, 2009 at 8:56 AM, beardy <beardsmark-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> 1 - I want to use mysql rather than Sqlite. Whilst I have followed > the instruction on Hivelogic in "Installing Ruby, Rubygems, Rails, > and Mongrel on Mac OS X 10.5 (Leopard)" every time I create a new file > structure (e.g. rails example_application) and I then check the > database.yml file it still shows the db as sqlite3.`rails example_application -d mysql` is what you want. Assuming you have MySQL itself installed, of course. :-) BTW, simply typing `rails --help` would have answered your question. FWIW, -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
Hi, for people new to ROR this is a really good free introduction course. http://www.buildingwebapps.com/course On Jan 31, 11:56 am, beardy <beardsm...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> I''m fairly new to programming and the mac and I really want to have a > go at learning Ruby On Rails, I have followed the set up tutorial on > Hivelogic and I have a problems that I just can''t fathom out and I > can''t seem to put the right collection of words into Google to get a > definitive answer. The problems is:- > > 1 - I want to use mysql rather than Sqlite. Whilst I have followed > the instruction on Hivelogic in "Installing Ruby, Rubygems, Rails, > and Mongrel on Mac OS X 10.5 (Leopard)" every time I create a new file > structure (e.g. rails example_application) and I then check the > database.yml file it still shows the db as sqlite3. Maybe there is no > way of changing this and my expectation that something magical via the > config in the tutorial will rewrite this to show mysql in the file is > misguided??? I installed the mysql gem. > > Cheers, Mark.--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---