Ruby on Rails Tuesday, May 21, 2013

Yes to your statement on rvm not being a fetcher of various packages. I expressed it improperly rather then being confused :{ 


Here is the link from rvm on how to get the mysql database from mysql site with their recommendation which i followed leading to this raised issue:
https://rvm.io/integration/databases/
Under OSX. 

As per previous note, I believe rvm's advice will be corrected in the above link as  'current Mysql downloads' causes the mysql2 gem problem when using rvm.

FWIW:
The mysql2 gem problem is NOT caused by rvm but in the downloaded files supplied by Mysql site's 'download'. 
So the current route is use Macports to install mysql it rather than Mysql website download.(as per advice from this group + rvm/irc session)
The current Mysql database download works well but has problems when Rails interfaces to it via mysql2 gem.
This still leaves the issue outstanding regarding rails/mysql via 'Mysql download' where one wants to use the latest Mysql database version.
Dave


On Monday, May 20, 2013 1:44:09 PM UTC-4, Hassan Schroeder wrote:
On Mon, May 20, 2013 at 10:29 AM, dave <bone_...@mac.com> wrote:

> My IRC/#rvm session today echoes your advice to use macports/mysql instead
> of rvm.
> As rvm is just a conduit where the install/compile of gems is outside its
> jurisdiction regarding correctness.
>
> I suggested in the irc/#rvm session that rvm's website be corrected
> regarding their mysql advice/suggestions.
>
> i.e. to use macport instead of rvm to install the mysql2 gem with its
> appropriate mysql database rather than the dmg route.

Wait, what? I think you're still confused. Using rvm to manage your
ruby versions and gemsets has nothing whatsoever to do with how
you install server software like MySQL on your system.

I suggested that if a MacPorts install of MySQL provided the header
files you need to install the mysql *gem* and just worked, then you
might as well go with that and be done.

So you can get on to the fun part of developing with Rails :-)

BTW, do you have a link to the rvm site where it discusses MySQL
installation? I've never seen that.

--
Hassan Schroeder ------------------------ hassan.s...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/f7c3c76d-e667-4c6d-b1d2-92046cfce594%40googlegroups.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment