Re: Complete Newbie needs help!

Marnen Laibow-Koser
Fri, 11 Sep 2009 13:13:47 -0000

John T. wrote:
> Brad wrote:
>> I cant seem to figure this out at the moment, but thank you very much
>> for your help.
>>
>> Brad
>
> Do you have XCode (Mac OS X developer tools) installed? The installer is
> on your OS install disk, or can be downloaded free from
> www.apple.com/developer.
>
> Also, try using SQLite, instead of jumping into MySQL. You will need to
> change your database.yml file to look something like:
>
> development:
>   adapter: sqlite3
>   database: db/development.sqlite3
>
> and I don''t recall if OS X comes with the SQLite gem installed, so
do:
>
> sudo gem install sqlite3-ruby

I do not think I would advise using SQLite -- it''s kind of underpowered
for Rails, as I understand.  I would, however, suggest using PostgreSQL
instead of mySQL.

There are many websites with instructions on how to get all this
running.  If you find a tutorial for Tiger or earlier, just disregard
the part about installing Ruby.

However, I''m not sure why you bothered with Rubystack.  Mac
OS''s dev
tools include Ruby and Rails already, and the other components are easy
to install on their own.  If you type ''which ruby'', does that
point to
Apple''s Ruby or Rubystack''s Ruby?  Some of this might be path
issues.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org
--
Posted via http://www.ruby-forum.com/.