Knowledge Base/Engine Yard Local/Engine Yard Local Feature Requests

PlannedDoneNot planned

Handle bundle install --without 'test development'

Pierre Ozoux
suggested this on December 06, 2012 11:05 AM

Hi,

great new feature, I love it. Just a little suggestion.

I'm using specjour to distribute my tests that requires dnssd.

On Gentoo, dnssd requires some configuration (if you are interesteed : https://github.com/sandro/specjour/wiki/Running-specjour-on-Linux ).

When I run ey-local up, I have the following error during the chef run, for bundle install (that could be interesting for other specjour users) :

[default] Unfortunately, a fatal error has occurred.

[...]

unable to find dnssd header

[...]

 

The issue is that, in Engine Yard production servers, you have by default bundle install --without 'test development' . And precisely, my specjour gem is a test gem!

So I changed a bit the source code of engineyard-local/lib/engineyard-local/middleware/bundle.rb:27

if_gemfile_exists("sudo bundle install --without 'test development'")

 

So, it works for me this way, but it could be interesting to have the same behavior as the production server with an ey.yml file for instance.

 

Thanks again for your great work! (It's been some month now, I'm struggling to maintain a gentoo VM like yours :) )

 

Comments

User photo
Keri Meredith
Engine Yard Inc.

Hi Pierre, thanks for your feedback.

(I moved this from the bugs to feature request forum.)

It's great to hear that you love Engine Yard Local! kjm

[EYL-80]

December 06, 2012 11:30 AM
User photo
Josh Hamilton
Engine Yard Inc.

Hi Pierre,

Thanks for this insight (and apologies for the delay in responding!) - we do plan to release a version that uses ey.yml. The current deployment strategy for Engine Yard Local will be expanded to look more like the Engine Yard Cloud tools, so this is great feedback.

Thanks again!

March 05, 2013 04:15 PM