Ask for Help
- How to specify compile flags when installing the mysql gem with Bundler 1.0.0RC1?
Don’t. Instead use version 2.8.1 of the mysql gem and ensure mysql_config is on your PATH.
Interesting Things
- The team whose CI build was running Bundler too many times addressed this by wrapping
bundle installin a conditional usingbundle check.
This saved about three minutes of build time (from what used to be 11ish runs of bundle install instead of bundle check.)
- Websocksets are easy, use them if you need to ‘push’ to your webapp and your server can handle many persistent connections.
This was in reaction to some recent conversation between Pivots about Pusher, which will keep persistent connections on your behalf.
This said, here’s a quote from websockets.org:
WebSockets represent an alternative to Comet and Ajax. However, each technology has its own unique capabilities. Learn how these technologies vary so you can make the right choice.
Bundler 1.0.0.rc3 (or possibly earlier)
In the production directory ‘bundle config build.mysql –with-mysql-config=/usr/local/bin/mysql_config’ or where ever it’s located.
It creates a .bundle/config in the user’s home directory that will then use those options for all bundle builds of that gem.
August 6, 2010 at 10:10 am