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:
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.
I donno if adding this comment would make sense here. But anyways thought of sharing with you.
If you are using Ruby 1.8.x, then make sure that you install 2.7 version of the libmysql-ruby library. The latest version of mysql/ruby library (2.8) corresponds to Ruby 1.9.x and it gives problem like ‘Virtual Timer Expired’ error while running rake db:migrate.