[LRUG] rvm install help!

Jim Myhrberg contact at jimeh.me
Mon Jan 17 06:37:18 PST 2011


Just out of curiosity, comment out charset from database.yml :)


>From your original error message:


“Couldn't create database for {"reconnect"=>false, "encoding"=>"utf8", "username"=>"root", "adapter"=>"mysql", "database"=>"tabascopizza_development", "pool"=>5, "password"=>nil}, charset: utf8, collation: utf8_unicode_ci (if you set the charset manually, make sure you have a matching collation)”


If that fixes it, either remove it, set it to utf8_unicode_ci, or change your tables, after checking the charset setup the rest of the team has.



On Monday, January 17, 2011 at 14:33, Adrian Stainforth wrote:

> 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
> 
> 
> as for the charset it's set utf8 in database.yml
> 
>  On 17 January 2011 14:25, Jim Myhrberg <contact at jimeh.me> wrote:
> 
> > 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.
> > 
> > 
> > As for the MySQL issue, is there any charset config in your database.yml?
> > 
> > 
> > 
> > On Monday, January 17, 2011 at 14:18, Adrian Stainforth wrote:
> > 
> > > It's because I'm running RVM to run my rubies
> > > 
> > > On 17 January 2011 14:15, Jim Myhrberg <contact at jimeh.me> wrote:
> > > 
> > > > 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:
> > > > 
> > > > 
> > > > env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
> > > > 
> > > > 
> > > > 
> > > > On Monday, January 17, 2011 at 14:06, Jason Green wrote:
> > > > 
> > > > > Hi adrian,
> > > > > 
> > > > > Could you paste what you get when you run:
> > > > > 
> > > > > env ARCHFLAGS="-arch x86_64" rvm gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
> > > > > 
> > > > > Thanks!
> > > > > 
> > > > > Jason Green
> > > > > http://www.dynamic50.com
> > > > > 
> > > > > 
> > > > > _______________________________________________
> > > > > Chat mailing list
> > > > > Chat at lists.lrug.org
> > > > > http://lists.lrug.org/listinfo.cgi/chat-lrug.org
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > _______________________________________________
> > > >  Chat mailing list
> > > > Chat at lists.lrug.org
> > > > http://lists.lrug.org/listinfo.cgi/chat-lrug.org
> > > > 
> > > > 
> > > > 
> > > 
> > > 
> > > 
> > > 
> > > -- 
> > > Kind Regards
> > > Adrian Stainforth
> > > 
> > > Front-end Developer
> > > Mobile: +447740069109
> > > 
> > > 
> > > _______________________________________________
> > > Chat mailing list
> > > Chat at lists.lrug.org
> > > http://lists.lrug.org/listinfo.cgi/chat-lrug.org
> > > 
> > > 
> > > 
> > > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> >  Chat mailing list
> > Chat at lists.lrug.org
> > http://lists.lrug.org/listinfo.cgi/chat-lrug.org
> > 
> > 
> > 
> 
> 
> 
> 
> -- 
> Kind Regards
> Adrian Stainforth
> 
> Front-end Developer
> Mobile: +447740069109
> 
> 
> 
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> http://lists.lrug.org/listinfo.cgi/chat-lrug.org
> 
> 
> 




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20110117/8ed27c05/attachment-0003.html>


More information about the Chat mailing list