To configure your gemfile for windows platform, simply use the following syntax in your gemfile:
### windows specific gems ###
gem 'win32-process', :platforms => [:mswin, :mingw]
gem 'win32console', :platforms => [:mswin, :mingw]
or
### windows specific gems ###
platforms :mswin, :mingw do
gem 'win32console', '1.3.0'
gem 'wind32-process'
end
The documentation in gembundler.com says that mswin is for Windows but when I try just using "platform :mswin", it does not seem to work on my machine. That's why I add the "platform :mswin, :mingw".
No comments:
Post a Comment