Skip to content
This repository has been archived by the owner on Apr 11, 2020. It is now read-only.

Commit

Permalink
Add output if rmagick gem isn't installed properly
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaclayton committed Jul 25, 2010
1 parent 6a5a2e2 commit 3453d72
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/blueprint/grid_builder.rb
Expand Up @@ -3,6 +3,13 @@
gem "rmagick"
require "rvg/rvg"
rescue Exception => e
puts " #{"*" * 100}"
puts " **"
puts " ** Warning:"
puts " ** Could not load the Rmagick gem. Please check your installation."
puts " ** grid.png will not be generated."
puts " **"
puts " #{"*" * 100}\n"
end

module Blueprint
Expand Down

0 comments on commit 3453d72

Please sign in to comment.