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 11/5/2010: Happy Friday Edition

Sarah Mei
Friday, November 5, 2010

Interesting:

  • bundle install --without test excludes the test group in your Gemfile from the install. It works well for reducing the size of your Heroku slug. However, there’s a glitch with this option on Heroku — when you specify it, Heroku reinstalls every included gem every time you deploy. It does respect your Gemfile.lock, so you’re trading a smaller slug for a longer deploy.

  • Pivotal’s open source CIMonitor project now supports OpenID! Thanks Tyler and Josh.

  • Arel has a bug that makes it difficult to use in rails console. Every time you add a predicate, the number of internal objects in the Arel result increases exponentially. So, by the time you have 5 or 6 predicates, the console finishes generating the expression more or less instantly, and then spends 15+ minutes calling to_s on the resulting Arel object in order to display it to you. tl;dr: when you’re playing with Arel in rails console, end every line with ; nil to avoid having it print out the result. The exponential object explosion will be fixed in Rails 3.1.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

3 Comments

  1. Mark says:

    I believe there is a +bundle install –production+ key for deployments.

    November 5, 2010 at 10:01 am

  2. Mark says:

    Err, `bundle install –production`

    November 5, 2010 at 10:02 am

  3. Franck says:

    Heroku also got a special environment variable as mentioned [in the documentation](http://docs.heroku.com/bundler#specifying-gems-amp-groups)

    `heroku config:add BUNDLE_WITHOUT=”development:test”`

    November 6, 2010 at 2:05 am

Add New Comment Cancel reply

Your email address will not be published.

Sarah Mei

Sarah Mei
San Francisco

Recent Posts

  • Standup 11/4/2010: sweeping-up-the-ticker-tape edition
  • Oh look a parade!
  • Election Day Special!
Subscribe to Sarah's Feed

Author Topics

agile (7)
arel (1)
bundler (2)
cimonitor (1)
heroku (1)
git (2)
jasmine (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 >