Gemfile in amq-client-0.7.0.alpha3 vs Gemfile in amq-client-0.7.0.alpha4
- old
+ new
@@ -1,19 +1,20 @@
# encoding: utf-8
source :rubygems
# Use local clones if possible.
+# If you want to use your local copy, just symlink it to vendor.
def custom_gem(name, options = Hash.new)
- local_path = File.expand_path("../../#{name}", __FILE__)
- if ENV["USE_AMQP_CUSTOM_GEMS"] && File.directory?(local_path)
+ local_path = File.expand_path("../vendor/#{name}", __FILE__)
+ if File.exist?(local_path)
gem name, options.merge(:path => local_path).delete_if { |key, _| [:git, :branch].include?(key) }
else
gem name, options
end
end
-gem "eventmachine", "0.12.10" #, "1.0.0.beta.3"
+gem "eventmachine"
# cool.io uses iobuffer that won't compile on JRuby
# (and, probably, Windows)
gem "cool.io", :platform => :ruby
custom_gem "amq-protocol", :git => "git://github.com/ruby-amqp/amq-protocol.git", :branch => "master"