ckeditor plugin 설치 시 오류 문의 드립니다
Seo Now이(가) 2014-02-27에 추가
bitnami redmine 2.4.2 패키지로 윈도우 7에 Redmine 설치하였습니다.
redmine_ckeditor 1.0.15 버전을 받아 plugin 설치를 하고자 하였으나,
아래처럼 "No such file to load - rich/files_helper" 에러가 발생하면서 설치가 되지 않습니다.
2.4.2-0\apps\redmine\htdocs>bundle exec rake db:migrate_plugi
ckeditor plugin을 설치하기 전에 먼저 설치해야하는 다른 plugin 같은 것이 있나요?
감사합니다
C:
ns RAILS_ENV=production rich/files_helpertrace
* Invoke db:migrate_plugins
* Invoke redmine:plugins:migrate
* Invoke environment
* Execute environment
rake aborted!
No such file to load
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:317:in `rescue in depend_on’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:312:in `depend_on’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:225:in `require_dependency’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/plugins/redmine_ckeditor/lib/redmine_ckeditor/rich_files_helper_patch.rb:1:in `’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `block in require’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:236:in `load_dependency’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/plugins/redmine_ckeditor/lib/redmine_ckeditor.rb:113:in `apply_patch’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/plugins/redmine_ckeditor/init.rb:5:in `block in ’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:429:in `_run377843029prepare831061083callbacks’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:405:in `__run_callback’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:385:in `_run_prepare_callbacks’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:81:in `run_callbacks’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/reloader.rb:74:in `prepare’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/railties-3.2.16/lib/rails/application/finisher.rb:47:in `block in ’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/railties-3.2.16/lib/rails/initializable.rb:30:in `instance_exec’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/railties-3.2.16/lib/rails/initializable.rb:30:in `run’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/railties-3.2.16/lib/rails/initializable.rb:55:in `block in run_initializers’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/railties-3.2.16/lib/rails/initializable.rb:54:in `each’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/railties-3.2.16/lib/rails/initializable.rb:54:in `run_initializers’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/railties-3.2.16/lib/rails/application.rb:136:in `initialize!’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/railties-3.2.16/lib/rails/railtie/configurable.rb:30:in `method_missing’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/config/environment.rb:14:in `’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `block in require’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:236:in `load_dependency’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/railties-3.2.16/lib/rails/application.rb:103:in `require_environment!’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/railties-3.2.16/lib/rails/application.rb:305:in `block (2 levels) in initialize_tasks’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/rake-10.1.0/lib/rake/task.rb:236:in `call’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/rake-10.1.0/lib/rake/task.rb:236:in `block in execute’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/rake-10.1.0/lib/rake/task.rb:231:in `each’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/rake-10.1.0/lib/rake/task.rb:231:in `execute’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/rake-10.1.0/lib/rake/task.rb:175:in `block in invoke_with_call_chain’
C:/BitNami/redmine-2.4.2-0/ruby/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/rake-10.1.0/lib/rake/task.rb:197:in `block in invoke_prerequisites’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/rake-10.1.0/lib/rake/task.rb:195:in `each’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/rake-10.1.0/lib/rake/task.rb:195:in `invoke_prerequisites’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/rake-10.1.0/lib/rake/task.rb:174:in `block in invoke_with_call_chain’
C:/BitNami/redmine-2.4.2-0/ruby/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/rake-10.1.0/lib/rake/task.rb:197:in `block in invoke_prerequisites’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/rake-10.1.0/lib/rake/task.rb:195:in `each’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/rake-10.1.0/lib/rake/task.rb:195:in `invoke_prerequisites’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/rake-10.1.0/lib/rake/task.rb:174:in `block in invoke_with_call_chain’
C:/BitNami/redmine-2.4.2-0/ruby/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/rake-10.1.0/lib/rake/task.rb:161:in `invoke’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:149:in `invoke_task’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:106:in `block (2 levels) in top_level’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:106:in `each’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:106:in `block in top_level’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:115:in `run_with_threads’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:100:in `top_level’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:78:in `block in run’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:165:in `standard_exception_handling’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:75:in `run’
C:/BitNami/redmine-2.4.2-0/apps/redmine/htdocs/vendor/bundle/ruby/1.9.1/gems/rake-10.1.0/bin/rake:33:in `’
C:/BitNami/redmine-2.4.2-0/ruby/bin/rake:23:in `load’
C:/BitNami/redmine-2.4.2-0/ruby/bin/rake:23:in `’
Tasks: TOP => db:migrate_plugins => redmine:plugins:migrate => environment
C:2.4.2-0\apps\redmine\htdocs>
2.4.2-0\apps\redmine\htdocs>gem update rake
※ bundle exec 커맨드 없이 rake 실행 시에는 아래쪽의 게시글과 같이 rake abot 에러가 나서,
gem update rake 실행해보았는데 timeout이 나면서 업데이트가 되지 않네요..
C:
Updating installed gems
ERROR: While executing gem … (Gem::RemoteFetcher::FetchError)
Errno::ETIMEDOUT: A connection attempt failed because the connected party di
d not properly respond after a period of time, or established connection failed
because connected host has failed to respond. - connect(2) (http://rubygems.org/
latest_specs.4.8.gz)
답글 (4)
RE: ckeditor plugin 설치 시 오류 문의 드립니다 - 커뮤니티 관리자이(가) 2014-02-28에 추가
커뮤니티 관리자입니다.
문의하신 내용을 보고 재현을 하려고 했으나 제 환경에서는 잘 설치가 되어 버렸네요 ^^;
그리고 추가로 더 설치해 줄 것은 없습니다.
그런데 위내용 중에 한가지 이상한 점은 gem update rake가 안된다는게 이해가 안되네요.
그냥 에러내용을 봐서는 인터넷이 안되어서 접속을 못하여 timeout 된 것처럼 보이구요.
사이트를 접속해 보니 접속도 잘되고 있구요. http://rubygems.org/latest_specs.4.8.gz
일시적으로 그런 것인지 모르겠습니다만 여하튼 외부적인 요인이 문제인 것 같습니다.
아 그리고 명령어가 옛날 방식이라서 아래와 같이 하는 게 좋습니다.
(예전 방식도 동작은 합니다)
rake redmine:plugins:migrate RAILS_ENV=production
RE: ckeditor plugin 설치 시 오류 문의 드립니다 - 김 영현이(가) 2014-04-23에 추가
혹시 설치가 되셨나요?
저도 동일한 문제를 격고 있는데 이것 저것 해보다가 골치만 아파졌습니다.
일일이 기재하면 너무 많고 일단 에러메세지는 위와 동일했습니다.
그런데
bundle install —without development test
위 명령실행시(“redmine_ckeditor” 폴더에서 실행 함) “redmine_ckeditor” 폴더의 “Gemfile” 어 기술되어 있는 파일들을 설치하게 되는데 그게 에러가 아래와 같이 나는 군요
D:\\redmine\htdocs\plugins\redmine_ckeditor>bundle instali --without development test Fetching gem metadata from https://rubygems.org/............ Fetching additional metadata from https://rubygems.org/.. Resolving dependencies....... Bundler could not find compatible versions for gem "mime-types": In Gemfile: rich (= 1.4.6) x86-mingw32 depends on mime-types (~> 1.16) x86-mingw32 rich (= 1.4.6) x86-mingw32 depends on mime-types (2.1) Bundler could not find compatible versions for gem "activesupport": In Gemfile: rich (= 1.4.6) x86-mingw32 depends on activesupport (= 4.0.0) x86-mingw32 paperclip (~> 3.5.4) x86-mingw32 depends on activesupport (3.0.0) =
추정하건데 윈7 64bit 여서 그런거 같기도 하고 ….
여하튼 이러고 나서도 안되더 군요
혹시 ImageMagick 때문일까요?
bitnami redmine 2.4.3 버젼 입니다.
여하튼 저도 설치 못하고 있습니다.
RE: ckeditor plugin 설치 시 오류 문의 드립니다 - kim jh이(가) 2014-08-11에 추가
저도 같은 에러로 CKEditor 플러그인 설치가 안되네요.
최신 Bitnami redmine 2.5버전으로 설치 하니 rake 버전이 안맞는다고 해서
gem install rake -v 10.1.1
이런식으로 설치 하고 했는데
똑같이 “No such file to load — rich/files_helper” 같은 에러가 뜨네요..
뭐가 문제인지 모르겠습니다.
혹시 성공 하신분 있으신가요?
RE: ckeditor plugin 설치 시 오류 문의 드립니다 - kim jh이(가) 2014-08-12에 추가
자답:
https://github.com/a-ono/redmine_ckeditor
플러그인 홈페이지의 설명에는 아래와 같이 되어 있는데 아무리 해도 안되고…
> bundle installwithout development test
레드마인
설치폴더/apps/redmine/htdocs/plugins/
에서
> bundle install —no-deployment
실행하고 리스타트 하니 되네요…
낚인건가…
홈페이지 설명대로 해보시고 안되면 참고로 시도 해보시길…
제 환경은 윈도7 - 64
bitnami-redmine-2.5.2-1-windows-installer.exe
입니다.