forked from arvicco/amqp-spec
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Gemfile
38 lines (33 loc) · 1.22 KB
/
Gemfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
source :rubygems
# Use local clones if possible.
def custom_gem(name, options = Hash.new)
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
group :development do
gem "rake"
gem "yard"
gem "RedCloth", "~> 4.2.9"
end
group :test do
# Should work for either RSpec1 or Rspec2, but you cannot have both at once.
# Also, keep in mind that if you install Rspec 2 it prevents Rspec 1 from running normally.
# Unless you use it like 'bundle exec spec spec', that is.
if RUBY_PLATFORM =~ /mswin|windows|mingw/
# For color support on Windows (deprecated?)
gem 'win32console'
gem 'rspec', '~>1.3.0', :require => 'spec'
else
gem 'rspec', '~> 2.5.0', :require => nil
end
gem 'minitest', :require => nil
gem "eventmachine"
gem "cool.io", :platforms => :ruby
custom_gem "amq-client", :git => "git://github.com/ruby-amqp/amq-client.git"
custom_gem "amq-protocol", :git => "git://github.com/ruby-amqp/amq-protocol.git"
custom_gem "amqp", :git => "git://github.com/ruby-amqp/amqp.git", :branch => "master"
end