.irbrc in active_archive-6.0.2 vs .irbrc in active_archive-6.1.0
- old
+ new
@@ -3,12 +3,12 @@
# Awesome print
begin
require 'awesome_print'
AwesomePrint.irb!
-rescue LoadError => err
- warn "Couldn't load awesome_print: #{err}"
+rescue LoadError => e
+ warn "Couldn't load awesome_print: #{e}"
end
# IRB
require 'irb/completion'
@@ -23,11 +23,11 @@
railsrc_path = File.expand_path('.irbrc_rails')
if (ENV['RAILS_ENV'] || defined?(Rails)) && File.exist?(railsrc_path)
begin
load railsrc_path
- rescue Exception => err
- warn "Could not load: #{railsrc_path} because of #{err}"
+ rescue Exception => e
+ warn "Could not load: #{railsrc_path} because of #{e}"
end
end
# Object
class Object