Skip to content

Instantly share code, notes, and snippets.

View bousquet's full-sized avatar

Robert Bousquet bousquet

View GitHub Profile
@phlipper
phlipper / gist:1143542
Created August 13, 2011 06:32
~/.rvm/hooks/after_use_gc
case "$rvm_ruby_string" in
*ree*|*ruby-1.9.2*)
export RUBY_HEAP_MIN_SLOTS=1000000
export RUBY_HEAP_SLOTS_INCREMENT=1000000
export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1
export RUBY_GC_MALLOC_LIMIT=1000000000
export RUBY_HEAP_FREE_MIN=500000
export RUBY_FREE_MIN=$RUBY_HEAP_FREE_MIN
;;
*)
RSpec.configure do |config|
config.filter_run_excluding :remote => true
config.before :each, :remote => true do
# Configure code to hit the Braintree service
end
end
# Include your remote specs within your "normal" specs
describe Sweeper do