2012-08-08 12 views
2

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 아직도 날 제공 : 내가 볼

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
←[33mRun bundle install to install missing gems.←[0m

가 그래서 설치는 Win32에 대한 rmagick 및 목록 설치된 보석 :

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.

이 문제를 해결하는 방법에 대한 아이디어가 있으십니까?

답변

1

을 실행할 수 있도록 사실 Bitnami's Redmine windows Installer이 문제에 대한 해결책이 포함되어 있습니다.
나를 위해이 문제에 대한 유효한 해결책입니다.

Redmine을 올바르게 빌드하기 위해 설치 내용을 사용하여 올바른 버전과 종속성을 검사 할 수 있습니다.

2

redmine을 설치하는 동안 동일한 문제가 발생했습니다. Gemfile rmagick의 주석에 따르면 선택 사항이며 Gant 그래프를 PNG로만 내보내는 데 사용됩니다. 이 특정 기능을 필요로하지 않는 경우가

bundle install --without development test rmagick 
관련 문제