redmine(3.2.0) plugin 개발시 redmine 클래스 사용하면
development 모드임에도 소스 수정시 에러 발생함.
(Unable to autoload 클래스명, ... 파일 풀패스... 에 정의 안되어있음)
원인모르겠으나..
plugin init.rb 아래와 같이 하니 서버 시작 후 수정해도 먹음.. 멍미?
(기타 작성한 소스엔 unloadable 제거함)
require 'redmine'
ActionDispatch::Callbacks.to_prepare do
# require 'reports_controller'
ReportsController.send(:include, Crossfire::CrossfireReportsController)
end
Redmine::Plugin.register :플러긴이름 do
name '이름'
author '작자'
description '설명'
version '0.0.1'
end
'가지가지' 카테고리의 다른 글
docker getstarted + @ 명렁어 정리 (0) | 2017.05.12 |
---|---|
scala + play 설치 (0) | 2017.02.06 |
redmine 서비스 여러개 띄우기 (0) | 2016.03.16 |
[redmine] redmine_ckeditor 1.1.3 사용시 이미지 업로드 문제 (0) | 2016.03.10 |
redmine data tables (0) | 2016.02.26 |
redmine plugin 을 위한 디버깅 준비 (0) | 2016.02.22 |
jQuery 2.1.4 - json 물음표 두개(??) 사용시 콜백함수로 인식하여 Unexpected token (0) | 2016.01.07 |
[Golang] oracle 연동 gopkg.in/rana/ora.v3 (1) | 2015.09.22 |