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

Commit

Permalink
Make bundler loading a bit more robust
Browse files Browse the repository at this point in the history
  • Loading branch information
nextmat committed Aug 26, 2013
1 parent f6d0e8c commit a89cb11
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Rakefile 100644 → 100755
@@ -1,8 +1,14 @@
require 'bundler'
#!/usr/bin/env rake
begin
require 'bundler/setup'
rescue LoadError
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end

# Packaging
Bundler::GemHelper.install_tasks

# Gem signing
task 'before_build' do
signing_key = File.expand_path("~/.gem/librato-private_key.pem")
if signing_key
Expand Down

0 comments on commit a89cb11

Please sign in to comment.