[LRUG] rvm install help!
Jim Myhrberg
contact at jimeh.me
Mon Jan 17 06:47:39 PST 2011
Cool, you will need to reinstall the mysql gem afterwards though, cause the mysql_config path will be /usr/local/bin/mysql_config (or in bin/mysql_config from the root of your homebrew path).
On Monday, January 17, 2011 at 14:45, Adrian Stainforth wrote:
> 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 :)
>
> On 17 January 2011 14:39, Jim Myhrberg <contact at jimeh.me> wrote:
>
> > 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.
> >
> >
> > Check it out if you're not already using it:
> > https://github.com/mxcl/homebrew
> >
> >
> >
> > 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
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > 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/4406d7bb/attachment-0003.html>
More information about the Chat
mailing list