≡

wincent.dev

  • Products
  • Blog
  • Wiki
  • Issues
You are viewing an historical archive of past issues. Please report new issues to the appropriate project issue tracker on GitHub.
Home » Issues » Feature request #1817

Feature request #1817: Test Rails 3.1.0.rc1

Kind feature request
Product wincent.dev
When Created 2011-05-08T07:17:33Z, updated 2011-05-29T04:03:31Z
Status closed
Reporter Greg Hurrell
Tags no tags

Description

http://weblog.rubyonrails.org/2011/5/5/rails-3-1-beta-1-released

Comments

  1. Greg Hurrell 2011-05-08T08:29:35Z

    After a bundle update rails the first run of the spec suite yields:

    Finished in 94.85 seconds
    4389 examples, 1908 failures, 56 pending

    Hopefully should be able to fix the bulk of those up fairly quickly.

  2. Greg Hurrell 2011-05-08T09:01:39Z

    Hmph. Latest version of the mysql2 gem doesn't build on Mac OS X anymore. 0.2.6 does, 0.3.2 doesn't. Back to the bad old days of the first mysql gem.

  3. Greg Hurrell 2011-05-08T18:58:34Z

    Ticket for mysql2 breakage:

    • https://github.com/brianmario/mysql2/issues/167

    Temporary workaround may be to just recompile MySQL with some different ./configure options. Will check that out.

  4. Greg Hurrell 2011-05-08T19:08:44Z

    More info on that one: http://dev.mysql.com/doc/refman/5.0/en/threaded-clients.html

    Notably, the page says that the binary distribution ships with a thread-safe client library by default (in addition to the normal library). I wonder if that is why the breakage hasn't been reported upstream, as most people don't install MySQL by source.

    Trying a build now with ./configure --enable-thread-safe-client.

    Looks like that will fix it, as I see the test in extconf.rb checks to see if mysql_config --libs_r returns an empty string or not. On my version, it returns the path to where the library would be, not an empty string. It probably needs an additional check to see if the lib file is actually there.

  5. Greg Hurrell 2011-05-08T21:06:22Z

    After getting the mysql2 gem working:

    Finished in 1399.72 seconds
    4389 examples, 329 failures, 60 pending
  6. Greg Hurrell 2011-05-29T04:03:26Z

    Summary changed:

    • From: Test Rails 3.1 beta
    • To: Test Rails 3.1.0.rc1
  7. Greg Hurrell 2011-05-29T04:03:31Z

    Status changed:

    • From: new
    • To: closed
Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets