Re: Bundler upgrade to 1.0.3 to support BUNDLE_WITHOUT?

2010-10-29 Thread marcel
My slug used to be about 85 MB (!), but around the time that Heroku
started recognizing BUNDLE_WITHOUT, my slug size dropped to 35 MB.

I also noticed that Heroku's bundler reinstalls all the gems on EVERY
deploy, whereas is used to only run if my gemlock changed. Thats
~5mins instead of 15seconds.

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: Bundler upgrade to 1.0.3 to support BUNDLE_WITHOUT?

2010-10-28 Thread Peter Marklund
Yeah, it does indeed appear to be working. Maybe I just didn't realize
that before. I guess they patched bundler. Maybe the reason I didn't
notice was that I was hoping for a bigger drop in slug size, I'm still
at 12.4MB for a Rails app with only a handful of gem dependencies.
Hmm, I think it's because I recently started using MongoDB. The mongo
gem needs bson_ext for performance and bson_ext includes an 8.4MB jar
file. Completely useless to me of course...

Thanks!

Peter

On Oct 28, 6:11 pm, Chris Hanks  wrote:
> Yep, it's worked for me for weeks too.
>
> On Oct 28, 7:28 am, marcel  wrote:
>
> > BUNDLE_WITHOUT is currently working for me. It magically started being
> > recognized a few weeks ago. From my heroku config output:
>
> > BUNDLE_WITHOUT                    => test development
>
> > And when I deploy:
>
> > -> Heroku receiving push
> > -> Rails app detected
> > -> Gemfile detected, running Bundler version 1.0.0
> >        Unresolved dependencies detected; Installing...
> >        Using --without test development
> >        Fetching source index forhttp://rubygems.org/
> > ...

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: Bundler upgrade to 1.0.3 to support BUNDLE_WITHOUT?

2010-10-28 Thread Chris Hanks
Yep, it's worked for me for weeks too.


On Oct 28, 7:28 am, marcel  wrote:
> BUNDLE_WITHOUT is currently working for me. It magically started being
> recognized a few weeks ago. From my heroku config output:
>
> BUNDLE_WITHOUT                    => test development
>
> And when I deploy:
>
> -> Heroku receiving push
> -> Rails app detected
> -> Gemfile detected, running Bundler version 1.0.0
>        Unresolved dependencies detected; Installing...
>        Using --without test development
>        Fetching source index forhttp://rubygems.org/
> ...

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: Bundler upgrade to 1.0.3 to support BUNDLE_WITHOUT?

2010-10-28 Thread marcel
BUNDLE_WITHOUT is currently working for me. It magically started being
recognized a few weeks ago. From my heroku config output:

BUNDLE_WITHOUT=> test development

And when I deploy:

-> Heroku receiving push
-> Rails app detected
-> Gemfile detected, running Bundler version 1.0.0
   Unresolved dependencies detected; Installing...
   Using --without test development
   Fetching source index for http://rubygems.org/
...

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Bundler upgrade to 1.0.3 to support BUNDLE_WITHOUT?

2010-10-28 Thread Peter Marklund
Hi!
According to the Heroku documentation at http://docs.heroku.com/bundler
you can use this config var setting:

heroku config:add BUNDLE_WITHOUT="development test"

It will exclude the development and test groups from the bundle
install and thus trim down your slug size.

However, it didn't seem to work for me. It seems Heroku is still
running Bundler 1.0.0 and that BUNDLE_WITHOUT is not supported in that
version but is supported in the current 1.0.3 version.

Are there any plans to rollout Bundler 1.0.3?

Thanks!

Peter

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.