Wednesday, May 5, 2010

[Rails] Need help getting environment setup

Greetings all.

Full disclosure, I am not a ruby developer by choice. I've been brought
onto a project to do some front-end work however I am having major
problems getting my environment up and running. (BTW, I am liking ruby
so I might just learn it anyway).

I'm building on a MBP with Snow Leopard. I've installed XCode from the
disk that comes with the mac. I've updated ruby, installed rails and
all the needed gems. I have the 64 bit version of MySQL installed.

Here's where the trouble starts. When trying to do rake db:migrate it
creates the tables but then aborts when trying to do an insert with this
error:


-- create_table(:time_dimension)
-> 0.1056s
INSERT time_dimension(time_key, `year`, `month`, `day`, day_of_week,
weekend, quarter) VALUES(20080101, 2008, 1, 1, 'Tuesday', false, 1)
rake aborted!
Could not load driver (uninitialized constant Mysql::Driver)


The people I know that develop in ruby sent me here. I could really use
a hand on this one. Anything anyone needs to know just tell me what it
is and I'll post it.

Thanks in advance.

-anthony
--
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@googlegroups.com.
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate