Permalink
Browse files

Update bundler info to be a bit more helpful

  • Loading branch information...
1 parent 30e3993 commit 9bf9513439d8fbc53814a398f3f9060f42dd4eda @joshuaclayton committed Jun 7, 2011
Showing with 6 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +5 −0 lib/blueprint/blueprint.rb
View
1 .gitignore
@@ -1,6 +1,7 @@
*.swp
*.svn
*.DS_Store
+.bundle
tmp/*
lib/settings.yml
capybara-*
View
5 lib/blueprint/blueprint.rb
@@ -6,6 +6,11 @@
rescue LoadError
puts "Bundler is required to run the compression script\n\n"
puts " gem install bundler"
+ exit(1)
+rescue Bundler::GemNotFound
+ puts "You need to bundle in order to run the compression script\n\n"
+ puts " bundle install --without test\n\n"
+ exit(1)
end
require 'fileutils'

0 comments on commit 9bf9513

Please sign in to comment.