Redmine 설치를 최신 버전으로 업그레이드하려고합니다. 필요에 따라 루비, 레일 및 보석을 업데이트했습니다.Windows에서 Redmine을 설치하는 중 RMagick 오류가 발생했습니다.
...
railties (3.2.6)
rake (0.9.2.2)
rdoc (3.12)
rmagick (2.12.0 mswin32)
ruby-openid (2.1.8)
rubygems-update (1.8.24)
...
그러나 rake db:migrate
아직도 날 제공 : 내가 볼
가 그래서 설치는 Win32에 대한 rmagick 및 목록 설치된 보석 :C:\ruby-apps\RedMine>rake db:migrate RAILS_ENV=production
←[31mCould not find gem 'rmagick (>= 2.0.0) x86-mingw32' in the gems available on this machine.←[0m
←[33mRunbundle install
to install missing gems.←[0m
current trunk | ruby 1.8.7, 1.9.2, 1.9.3, jruby-1.6.7 | Rails 3.2.6 | RubyGems <= 1.8
는 나에게 다음과 같은 오류를주는 rake db:migrate
명령을 실행 동일한 오류가 발생하여 bundle install
을 시도했지만 다음과 같이 나타납니다.
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing rmagick:
ERROR: Failed to build gem native extension.C:/Ruby193/bin/ruby.exe extconf.rb
checking for Ruby version >= 1.8.5... yes
checking for stdint.h... * extconf.rb failed *
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
이 문제를 해결하는 방법에 대한 아이디어가 있으십니까?