require bundle/setup so bundler gets loaded
authormh <mh@immerda.ch>
Tue, 9 Aug 2011 07:23:50 +0000 (09:23 +0200)
committermh <mh@immerda.ch>
Tue, 9 Aug 2011 07:23:50 +0000 (09:23 +0200)
ext/coquelicot_gc.rb

index b1fd0f9..f4294b4 100755 (executable)
@@ -1,6 +1,7 @@
 #!/bin/env ruby
 
 $: << File.expand_path(File.join(File.dirname(__FILE__),'..','lib')) << File.expand_path(File.join(File.dirname(__FILE__),'..'))
+require 'bundler/setup'
 require 'coquelicot_app'
 
-Coquelicot::Depot.new(Coquelicot.settings.depot_path).gc!
\ No newline at end of file
+Coquelicot::Depot.new(Coquelicot.settings.depot_path).gc!