don't use xpath from submodule on Heroku

This commit is contained in:
Jonas Nicklas 2011-01-21 15:41:10 +01:00 committed by Anders Törnqvist and Jonas Nicklas
parent 1812d8bed5
commit 4f79544f45
1 changed files with 4 additions and 2 deletions

View File

@ -3,5 +3,7 @@ source :rubygems
gem 'bundler', '~> 1.0'
gemspec
@dependencies.delete_if {|d| d.name == "xpath" }
gem 'xpath', :path => 'xpath'
unless ENV['RACK_ENV']
@dependencies.delete_if {|d| d.name == "xpath" }
gem 'xpath', :path => 'xpath'
end