Permalink
Browse files

Wrong place for platform

  • Loading branch information...
1 parent 5810595 commit ca314f9a668c499cb575ac2951b66e40ffde7d57 @durran durran committed Jun 17, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 bson.gemspec
View
@@ -24,11 +24,11 @@ Gem::Specification.new do |s|
s.files += Dir.glob('lib/**/*')
unless RUBY_PLATFORM =~ /java/
- s.platform = 'java'
+ s.platform = Gem::Platform::RUBY
s.files += Dir.glob('ext/**/*.{c,h,rb}')
s.extensions = ['ext/bson/extconf.rb']
else
- s.platform = Gem::Platform::RUBY
+ s.platform = 'java'
end
s.test_files = Dir.glob('spec/**/*')

0 comments on commit ca314f9

Please sign in to comment.