lib/glimmer/rake_task/scaffold.rb in glimmer-dsl-libui-0.12.2 vs lib/glimmer/rake_task/scaffold.rb in glimmer-dsl-libui-0.12.3
- old
+ new
@@ -423,10 +423,10 @@
$LOAD_PATH.unshift(File.expand_path('..', __FILE__))
begin
require 'bundler/setup'
Bundler.require(:default)
- rescue StandardError, Gem::LoadError
+ rescue Exception
# this runs when packaged as a gem (no bundler)
require 'glimmer-dsl-libui'
# add more gems if needed
end