HOWTO Platform specific gems in Gemfile

From: http://stackoverflow.com/questions/5634577/autotest-with-bundler-and-autotest-growl

1
2
3
4
if RUBY_PLATFORM.downcase.include?("darwin") # I'm on Mac
  gem 'autotest-fsevent'
  gem 'autotest-growl'
end

2 Comments

  • By Seo Moldova, July 11, 2011 @ 10:41 AM

    Thanks for the interesting information. Subscribe to rss

Other Links to this Post

  1. Gemfile中で、OSによって使うRubyGemを分岐する方法 | seventhmay. — September 8, 2011 @ 6:03 AM

RSS feed for comments on this post. TrackBack URI

Leave a comment

WordPress Themes