Pivotal Labs

Main menu

Skip to primary content
Skip to secondary content
  • About
  • Case Studies
  • Team
    • Executives
    • Locations
      • San Francisco (HQ)
      • Boston
      • Boulder
      • Denver
      • London
      • Los Angeles
      • New York
  • Community
    • Blogs
    • Tech Talks
    • Events
  • Careers
    • Lifestyle
    • Principles & Practices
    • Benefits
    • FAQ
    • Apply
  • Contact
    • Press Room
    • Press Releases
    • In The News
    • Press Kit
  • All
  • Labs
  • Standup
  • Tracker

Standup 08/05/2010: ‘bundle check’ and Websockets

Abhijit Hiremagalur
Friday, August 6, 2010

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 install in a conditional using bundle 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.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

One comment

  1. JGeiger says:

    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

Add New Comment Cancel reply

Your email address will not be published.

Abhijit Hiremagalur

Abhijit Hiremagalur
San Francisco

Recent Posts

  • Hash#fetch with confidence
  • Standup 08/04/2010: Accounting on Rails anybody?
  • Standup 08/03/2010: Bundle me this Batman!
Subscribe to Abhijit's Feed

Author Topics

ruby (3)
bundler (1)
websockets (1)
cucumber (1)
javascript (1)
json (1)
rails (2)
rails3 (1)
rubymine (2)
testing (2)
ey (1)
facebook (1)
imagemagick (1)
jasmine (2)
thor (1)
agile (3)
ajax (1)
css (1)
design (1)
iconv (1)
jquery (1)
utf-8 (2)
character encoding (1)
unicode (1)
acts_as_fu (1)
selenium (1)
  • About
  • Case Studies
  • Team
  • Community
  • Careers
  • Contact
  • Labs
  • Events

Contact Us

contact@pivotallabs.com
+1 415-77-PIVOT
TwitterLinkedInFacebook

Pivotal Tracker

Tracker is the award-winning agile project management tool that enables real-time collaboration around a shared, prioritized backlog.
Visit pivotaltracker.com >