Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Map LoadError to 'e' when Grit is missing #12

merged 1 commit into from

2 participants


This commit assigns LoadError exception to 'e' so the following line will work:

puts "Flowdock: you need to have Grit gem installed: #{e.to_s}"
@anttipitkanen anttipitkanen merged commit 78b7ed7 into flowdock:master

Thanks for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 2, 2012
  1. @elskwid
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/flowdock/capistrano.rb
2  lib/flowdock/capistrano.rb
@@ -24,7 +24,7 @@
require 'grit'
set :repo,".")
config =
- rescue LoadError
+ rescue LoadError => e
puts "Flowdock: you need to have Grit gem installed: #{e.to_s}"
rescue => e
puts "Flowdock: error in fetching your git repository information: #{e.to_s}"
Something went wrong with that request. Please try again.