I can''t get mysql gem installed on snow leopard. On Leopard (10.5) all I did was sudo gem install -- --with-mysql-config=/path/to/mysql_config But that doesn''t work any more, and i get tons of No definition for XXX Ideas ? Trausti --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Wed, Sep 2, 2009 at 3:47 PM, Trausti Thor Johannsson<traustitj-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I can''t get mysql gem installed on snow leopard. On Leopard (10.5) all I > did was > sudo gem install -- --with-mysql-config=/path/to/mysql_config > But that doesn''t work any more, and i get tons of > No definition for XXX > Ideas ?I think those are just warnings. It''s trying to generate docs. Does the install actually work? jeremy
Not checked that much. Trausti On Thu, Sep 3, 2009 at 2:57 AM, Jeremy Kemper <jeremy-w7CzD/W5Ocjk1uMJSBkQmQ@public.gmane.org> wrote:> > On Wed, Sep 2, 2009 at 3:47 PM, Trausti Thor > Johannsson<traustitj-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > I can''t get mysql gem installed on snow leopard. On Leopard (10.5) all I > > did was > > sudo gem install -- --with-mysql-config=/path/to/mysql_config > > But that doesn''t work any more, and i get tons of > > No definition for XXX > > Ideas ? > > I think those are just warnings. It''s trying to generate docs. > > Does the install actually work? > > jeremy > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I had a lot of trouble Saturday as well with this.. I found you need to install the 64bit v. and set your paths accordingly. plus this was the link that helped get it running finally with my current applications http://void-design.net/2009/08/05/ruby-191-mysql-and-a-snow-leopard/ chekc it out. hope it helps On Sep 3, 1:19 am, Trausti Thor Johannsson <traust...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Not checked that much. > > Trausti > > On Thu, Sep 3, 2009 at 2:57 AM, Jeremy Kemper <jer...-w7CzD/W5Ocjk1uMJSBkQmQ@public.gmane.org> wrote: > > > On Wed, Sep 2, 2009 at 3:47 PM, Trausti Thor > > Johannsson<traust...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > I can''t get mysql gem installed on snow leopard. On Leopard (10.5) all I > > > did was > > > sudo gem install -- --with-mysql-config=/path/to/mysql_config > > > But that doesn''t work any more, and i get tons of > > > No definition for XXX > > > Ideas ? > > > I think those are just warnings. It''s trying to generate docs. > > > Does the install actually work? > > > jeremy
Can you post the entire message? According to the Rails blog you need to expressly force it to be compiled in 64-bit (which worked for me): $ sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql- config=/usr/local/mysql/bin/mysql_config (source http://weblog.rubyonrails.org/2009/8/30/upgrading-to-snow-leopard) Did you upgrade your mysql install to a 64-bit version? On Sep 2, 6:47 pm, Trausti Thor Johannsson <traust...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I can''t get mysql gem installed on snow leopard. On Leopard (10.5) all I > did was > sudo gem install -- --with-mysql-config=/path/to/mysql_config > > But that doesn''t work any more, and i get tons of > > No definition for XXX > > Ideas ? > > Trausti
I just got Ruby, MySQL and everything working on Snow Leopard. The key, in my experience, is installing MySQL from MacPorts and NOT from the MySQL provided packages. Rather than repeat myself, I documented it all here: http://blog.twg.ca/2009/09/livin-on-the-edge-ruby-rails-and-snow-leopard/ Hope this helps... Alex wrote:> Can you post the entire message? > > According to the Rails blog you need to expressly force it to be > compiled in 64-bit (which worked for me): > > $ sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql- > config=/usr/local/mysql/bin/mysql_config > > (source > http://weblog.rubyonrails.org/2009/8/30/upgrading-to-snow-leopard) > > Did you upgrade your mysql install to a 64-bit version? > > On Sep 2, 6:47�pm, Trausti Thor Johannsson <traust...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>-- Posted via http://www.ruby-forum.com/.
On Thu, Sep 3, 2009 at 10:22 AM, Bob O<hcinsight-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I had a lot of trouble Saturday as well with this.. > > I found you need to install the 64bit v. and set your paths > accordingly. > > plus this was the link that helped get it running finally with my > current applications > > http://void-design.net/2009/08/05/ruby-191-mysql-and-a-snow-leopard/ > > chekc it out. hope it helpsI seem to be working after: 1) Installing the 64-bit intel os x binary from mysql.com I also installed the mysql preference pane from there 2) sudo env ARCHFLAGS="-arch x86_64" gem install mysql I do get warnings from the doc generation when I install the gem, not sure how to fix that, but it seems to work. Also note that there''s a new post-leopard version of passenger pref pane out there, although I was working with the previous one before as far a I know. -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale
All I did was sudo port uninstall mysql and then sudo port install mysql... done. :) then sudo gem uninstall mysqlplus && sudo gem install mysqlplus But I guess if you need a specific version of MySQL...
After installing mysql 64 bit, that did the trick. But passenger gives me this error : [Thu Sep 03 18:17:57 2009] [notice] child pid 85922 exit signal Bus error (10) [Thu Sep 03 18:17:57 2009] [notice] child pid 85921 exit signal Bus error (10) [Thu Sep 03 18:17:57 2009] [notice] child pid 85920 exit signal Bus error (10) And still does not work. I am using XAMPP, and it works if I disable passenger. I have uninstalled passenger and re-installed to no avail. Trausti On Thu, Sep 3, 2009 at 7:50 PM, heimdull <freddy-RCI/mp9mI1I6GGFevw1D/A@public.gmane.org> wrote:> > All I did was sudo port uninstall mysql and then sudo port install > mysql... done. :) > then > sudo gem uninstall mysqlplus && sudo gem install mysqlplus > > But I guess if you need a specific version of MySQL... > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Thu, Sep 3, 2009 at 3:04 PM, Trausti Thor Johannsson<traustitj-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> After installing mysql 64 bit, that did the trick. > But passenger gives me this error : > [Thu Sep 03 18:17:57 2009] [notice] child pid 85922 exit signal Bus error > (10) > [Thu Sep 03 18:17:57 2009] [notice] child pid 85921 exit signal Bus error > (10) > [Thu Sep 03 18:17:57 2009] [notice] child pid 85920 exit signal Bus error > (10) > And still does not work. > I am using XAMPP, and it works if I disable passenger. > I have uninstalled passenger and re-installed to no avail.Stupid question, but did you (re)install the appriate apache/nginx module? You might have a 32/64 bit mismatch. -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale
I did run the passanger-install-apache-modules Trausti On Thu, Sep 3, 2009 at 9:17 PM, Rick DeNatale <rick.denatale-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> > On Thu, Sep 3, 2009 at 3:04 PM, Trausti Thor > Johannsson<traustitj-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > After installing mysql 64 bit, that did the trick. > > But passenger gives me this error : > > [Thu Sep 03 18:17:57 2009] [notice] child pid 85922 exit signal Bus error > > (10) > > [Thu Sep 03 18:17:57 2009] [notice] child pid 85921 exit signal Bus error > > (10) > > [Thu Sep 03 18:17:57 2009] [notice] child pid 85920 exit signal Bus error > > (10) > > And still does not work. > > I am using XAMPP, and it works if I disable passenger. > > I have uninstalled passenger and re-installed to no avail. > > Stupid question, but did you (re)install the appriate apache/nginx > module? You might have a 32/64 bit mismatch. > > -- > Rick DeNatale > > Blog: http://talklikeaduck.denhaven2.com/ > Twitter: http://twitter.com/RickDeNatale > WWR: http://www.workingwithrails.com/person/9021-rick-denatale > LinkedIn: http://www.linkedin.com/in/rickdenatale > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---