Defect #22158
closedAdd x64_mingw to Gemfile platforms
0%
Description
Default Gemfile specifies platforms for rmagick, and database adapter gems. When using Windows, Ruby 2.2.4x64, bundler 1.11;
bundle platform
returns:Your platform is x64-mingw32
so;bundle install
does not install rmagick or database adapter gems because this platform is not included in Gemfile.
When i add @:x64_mingw" to platforms, bundler now sees and installs these gems.
So my Gemfile is like;
platforms :mri, :mingw, :x64_mingw do # Optional gem for exporting the gantt to a PNG file, not supported with jruby group :rmagick do # RMagick 2 supports ruby 1.9 # RMagick 1 would be fine for ruby 1.8 but Bundler does not support # different requirements for the same gem on different platforms gem "rmagick", (RUBY_VERSION < "1.9" ? "2.13.3" : ">= 2.0.0") end # Optional Markdown support, not for JRuby group :markdown do # TODO: upgrade to redcarpet 3.x when ruby1.8 support is dropped gem "redcarpet", "~> 2.3.0" end end
and
.. gem "mysql2", "~> 0.3.11", :platforms => [:mri, :mingw, :x64_mingw] ..
Thanks.
Updated by Toshi MARUYAMA almost 9 years ago
- Status changed from New to Closed
- Resolution set to Invalid
There are.
source:tags/3.2.0/Gemfile#L63
If you say about Redemine 2.6, it won't fix because many users claims "x64_mingw" (#19172).
Updated by Bahri Yardim almost 9 years ago
Thanks for quick update. Yeah i have noticed that this is added in 3.2.0 however problem exists in previous installations (2.6). I have too many different installations and sometimes get confused about versions and dependencies and stuff. Sorry for that.