Displaying 1 result from an estimated 1 matches for "fchange".
Did you mean:
change
2012 Jan 20
2
Build a ruby gem and conditionally specify dependencies
...w do |s|
# ... standard setup stuff
# conditionally set dependencies
s.add_dependency "rb-inotify", "~> 0.8.8" if RUBY_PLATFORM =~ /linux/
i
s.add_dependency "rb-fsevent", "~> 0.4.3.1" if RUBY_PLATFORM =~ /
darwin/i
s.add_dependency "rb-fchange", "~> 0.0.5" if RUBY_PLATFORM =~ /mswin|
mingw/i
end
Based on all of the docs and threads I found on the net, I would have
expected that if you install the gem on
- Linux, then, rb-inotify would be a dependency and auto-installed
- Mac - rb-fsevent would be installed
- Windows...