Cygwin helper functions
Add this line to your application's Gemfile:
gem 'deployable-cygwin'And then execute:
$ bundle
Or install it yourself as:
$ gem install deployable-cygwin
Cygwin detection
require 'deployable/cygwin'
Deployable::Cygwin.CYGWIN # => true
Deployable::Cygwin.cygwin? # => true
cygpath
require 'deployable/cygwin/path'
Deployable::Cygwin::Path.to_win('/cygdrive/c/some/path') # => "C:\\some\\path"
Deployable::Cygwin::Path.to_cyg('C:\some\path') # => "/cygdrive/c/some/path"
- Fork it ( https://github.com/deployable/deployable-cygwin/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request