skeleton/Capfile in borg-rb-0.0.1 vs skeleton/Capfile in borg-rb-0.0.2
- old
+ new
@@ -2,8 +2,9 @@
# set :borg_performance_reports, true
# runs on :exit events when ctrl-c is hit
# set :borg_sigint_triggers_exit, true
-load 'borg.rb'
+load "#{Gem::Specification.find_by_name('borg-rb').gem_dir}/lib/borg.rb"
+
# load any other borg gems here.
# NOTE: require ends up causing the initializers to be called every time a config is loaded.