Skip to content

Commit

Permalink
Ensure bundler is set up if present in environment.
Browse files Browse the repository at this point in the history
This fixes a conflicting gem issue when bluepill is run with "bundle exec". Hat tip to @pda.
  • Loading branch information
geekylucas committed Jan 30, 2012
1 parent d9da3fb commit 5b61450
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/bluepill.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# -*- encoding: utf-8 -*-
require 'rubygems'

require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])

require 'thread'
require 'monitor'
require 'syslog'
Expand Down

0 comments on commit 5b61450

Please sign in to comment.