lib/bumbler.rb in bumbler-0.1.0 vs lib/bumbler.rb in bumbler-0.1.1
- old
+ new
@@ -1,21 +1,5 @@
-# Do nothing unless we're in a bundle
-begin
- require 'bundler'
- # This raises if there isn't a gemfile in our root
- Bundler.default_gemfile
-
- module Bumbler
- autoload :Hooks, 'bumbler/hooks'
- autoload :Bundler, 'bumbler/bundler'
- autoload :Progress, 'bumbler/progress'
-
- Hooks.hook_require!
- Hooks.watch_require!
-
- Bundler.start!
- Progress.start!
- end
-
-rescue
- # Welp, if we fail, we fail.
+module Bumbler
+ autoload :Hooks, 'bumbler/hooks'
+ autoload :Bundler, 'bumbler/bundler'
+ autoload :Progress, 'bumbler/progress'
end