Skip to content

Commit

Permalink
Allow use of local repositories or gems for Bundler deps
Browse files Browse the repository at this point in the history
  • Loading branch information
spicycode committed Nov 28, 2010
1 parent 602d744 commit 732be07
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Gemfile
@@ -1,7 +1,12 @@
source "http://rubygems.org"

%w[rspec-core rspec-expectations rspec-mocks].each do |lib|
gem lib, :path => File.expand_path("../../#{lib}", __FILE__)
library_path = File.expand_path("../../#{lib}", __FILE__)
if File.exist?(library_path)
gem lib, :path => library_path
else
gem lib
end
end

gem "rake"
Expand Down

0 comments on commit 732be07

Please sign in to comment.