
Sqlite3 booleans with merb production
Reported by Jamie Hoover | May 2nd, 2008 @ 03:27 AM
In app/models/person.rb, I have:
property :owner, :boolean
On a new Ubuntu Server, I had problems until I ran:
locale-gen en_US.UTF-8
/usr/sbin/update-locale LANG=en_US.UTF-8
Now I just make sure that I run this on any machine that this code will reside on. I'm not 100% sure this is a bug with Datamapper.
Comments and changes to this ticket
-
Jamie Hoover March 25th, 2008 @ 02:14 AM
- Title changed from Ubuntu 64bit breaks Sqlite3 production to Sqlite3 booleans with merb production
The actual problem has turned out to be testing for whether booleans were true when Ubuntu had not been set to use US UTF-8. It's still very strange that this behavior is inconsistent between development and production merb apps.
-
Dan Kubb (dkubb) April 15th, 2008 @ 03:03 AM
- no changes were found...
-
-
-
-
-
-
Sam Smoot May 2nd, 2008 @ 04:25 AM
Sorry. LH was freaking out the other day. :-/
Let me know if you find anything else out...
Oh, and there have been lots of DO updates lately, so you might want to try installing the latest from git if you're on 0.9.0. I've found I've had to uninstall my previous DO 0.9.0 gems to install the new ones cleanly sometimes. Shouldn't be an issue once we make the release official and start incrementing version numbers, but until then I'd recommend it.
-
Sam Smoot May 8th, 2008 @ 04:40 PM
- State changed from new to resolved
I don't believe this is an issue with the latest DO since the CI server (http://ci.datamapper.org) is an Ubuntu machine.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »