1
0
Fork 0
mirror of https://github.com/rest-client/rest-client.git synced 2022-11-09 13:49:40 -05:00

Use the Windows gemspec in the Gemfile on Windows.

This commit is contained in:
Andy Brody 2014-03-31 21:15:13 -07:00
parent 6b706194b2
commit cba459f27e
2 changed files with 6 additions and 2 deletions

View file

@ -1,6 +1,10 @@
source "https://rubygems.org"
if !!File::ALT_SEPARATOR
gemspec :name => 'rest-client.windows'
else
gemspec
end
group :test do
gem 'rake'

View file

@ -8,7 +8,7 @@
s = eval(File.read(File.join(File.dirname(__FILE__), 'rest-client.gemspec')))
platform = ENV['BUILD_PLATFORM']
platform = ENV['BUILD_PLATFORM'] || RUBY_PLATFORM
case platform
when /(mingw32|mswin32)/