No I commented it out and still doesn't work. Hmm the homebrew looks interesting might uninstall mysql and try homebrew to install it and see if that helps thanks :)<br><br><div class="gmail_quote">On 17 January 2011 14:39, Jim Myhrberg <span dir="ltr"><<a href="mailto:contact@jimeh.me">contact@jimeh.me</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>
<div>
<span>But also, do figure out which version of MySQL you are running. It can be a bit of a mess. I dumped manual install and the official packages in favor of installing it with Homebrew about a year ago. Overall my life has been less of a hassle no matter I need to install since I started using Homebrew.</span></div>
<div><span><br></span></div><div><span>Check it out if you're not already using it:</span></div><div><span><a href="https://github.com/mxcl/homebrew" target="_blank">https://github.com/mxcl/homebrew</a><br>
</span><div><div></div><div class="h5">
<span><br><div><br></div></span>
<p style="color:#a0a0a0">On Monday, January 17, 2011 at 14:33, Adrian Stainforth wrote:</p>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px">
<span><div><div>oh sorry... well I know you don't have to run rvm gem, but I though specifying might help as it is a command you can run<div><br></div><div>as for the charset it's set utf8 in database.yml<br>
<br><div class="gmail_quote">
On 17 January 2011 14:25, Jim Myhrberg <span dir="ltr"><<a href="mailto:contact@jimeh.me" target="_blank">contact@jimeh.me</a>></span> wrote:<br><blockquote type="cite"><div>
<div>
<div><span>Yeah, I know you're using rvm, but it doesn't require you to use the rvm command all the time. I use rvm myself to work on 1.8 and 1.9 projects. Just run "rvm use [ruby-version]" and you won't need to use the rvm command all the time. You can also specify a default ruby to use, which would be the system one unless you've set a specific one as the default.</span></div>
<div><span><br></span></div><div><span>As for the MySQL issue, is there any charset config in your database.yml?</span></div><div><div><div>
<span><br><div><br></div></span>
<p style="color:#a0a0a0">On Monday, January 17, 2011 at 14:18, Adrian Stainforth wrote:</p><blockquote type="cite"><div>
<span><div><div>It's because I'm running RVM to run my rubies<br><br><div class="gmail_quote">On 17 January 2011 14:15, Jim Myhrberg <span dir="ltr"><<a href="mailto:contact@jimeh.me" target="_blank">contact@jimeh.me</a>></span> wrote:<br>
<blockquote type="cite"><div>
<div>
<div>
<span>I just noticed you're calling gem install via the rvm command. I can't say I've seen this before, but it seems to work (with some weird duplicated output). If nothing else works, I'd try the command without rvm:</span></div>
<div><span><br></span></div><div><span>env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config<br>
</span><div><div>
<span><br><div><br></div></span>
<p style="color:#a0a0a0">On Monday, January 17, 2011 at 14:06, Jason Green wrote:</p><blockquote type="cite"><div>
<span><div><div>Hi adrian,<br><br>Could you paste what you get when you run:<br><br>env ARCHFLAGS="-arch x86_64" rvm gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config<br>
<br>Thanks!<br><br>Jason Green<br><a href="http://www.dynamic50.com" target="_blank">http://www.dynamic50.com</a><br><br><br>_______________________________________________<br>Chat mailing list<br><a href="mailto:Chat@lists.lrug.org" target="_blank">Chat@lists.lrug.org</a><br>
<a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br></div></div></span>
</div></blockquote><div>
<br>
</div>
</div></div></div>
</div><br>_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org" target="_blank">Chat@lists.lrug.org</a><br>
<a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
<br></div></blockquote></div><br><br clear="all"><br>-- <br>Kind Regards<br>Adrian Stainforth<br><br>Front-end Developer<br>Mobile: +447740069109<br><br>
</div><div>_______________________________________________<br>Chat mailing list<br><a href="mailto:Chat@lists.lrug.org" target="_blank">Chat@lists.lrug.org</a><br><a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
</div></div></span>
</div></blockquote><div>
<br>
</div>
</div>
</div></div></div><br>_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org" target="_blank">Chat@lists.lrug.org</a><br>
<a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
<br></div></blockquote></div><br><br clear="all"><br>-- <br>Kind Regards<br>Adrian Stainforth<br><br>Front-end Developer<br>Mobile: +447740069109<br><br>
</div>
</div><div>_______________________________________________<br>Chat mailing list<br><a href="mailto:Chat@lists.lrug.org" target="_blank">Chat@lists.lrug.org</a><br><a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
</div></div></span>
</blockquote>
<div>
<br>
</div>
</div></div></div>
</div><br>_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a><br>
<a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Kind Regards<br>Adrian Stainforth<br><br>Front-end Developer<br>Mobile: +447740069109<br><br>