lib/swagalicious.rb in swagalicious-0.4.7 vs lib/swagalicious.rb in swagalicious-0.4.8
- old
+ new
@@ -2,10 +2,11 @@
require_relative "./swagalicious/version"
begin
require "rspec/rails"
-rescue nil
+rescue LoadError
+ nil
end
class Swagalicious
class Error < StandardError; end