Skip to content

Commit

Permalink
Texplay - Ruby 2 and Windows support
Browse files Browse the repository at this point in the history
Ruby 2 and later needs to use the texplay 0.4.4.pre gem
banister/texplay#22
While this does not compile on windows so we need to use the older gem. Though the version number is not specific this could cause some issues in the future.
  • Loading branch information
Franklin Webber committed Aug 11, 2014
1 parent cc8bce7 commit 68e258e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion metro.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@ Gem::Specification.new do |gem|
gem.homepage = Metro::WEBSITE

gem.add_dependency 'gosu', '~> 0.7'
gem.add_dependency 'texplay', '~> 0.4'

if RUBY_PLATFORM == "i386-mingw32"
gem.add_dependency 'texplay', '~> 0.4'
else
gem.add_dependency 'texplay', '~> 0.4.4.pre'
end

gem.add_dependency 'chipmunk', '~> 6.1.3.1'
gem.add_dependency 'tmx', '~> 0.1.2'
gem.add_dependency 'thor', '~> 0.16.0'
Expand Down

0 comments on commit 68e258e

Please sign in to comment.