Install Plugins From Littlestreamsoftware

Bookmark and Share

Eric Davis의 littlestreamsoftware로부터 내려받은 플러그인을 몇 개 설치하였다.

설치

설치한 플러그인

customer_plugin
question_plugin
redmine_kanban
bulk_time_entry_plugin

일단 빠진 플러그인 (오류)

budget_plugin

설치 과정

sio4@vios-dev:/opt/redmine$ export PATH=$PATH:/home/sio4/.gem/ruby/1.8/bin
sio4@vios-dev:/opt/redmine$ rake db:migrate_plugins RAILS_ENV=production
(in /opt/redmine)
Migrating engines...
Migrating acts_as_activity_provider...
Migrating acts_as_attachable...
Migrating acts_as_customizable...
Migrating acts_as_event...
Migrating acts_as_list...
Migrating acts_as_searchable...
Migrating acts_as_tree...
Migrating acts_as_versioned...
Migrating acts_as_watchable...
Migrating awesome_nested_set...
Migrating bulk_time_entry_plugin...
Migrating classic_pagination...
Migrating coderay-0.7.6.227...
Migrating customer_plugin...
==  CreateCustomers: migrating ================================================
-- create_table(:customers)
   -> 0.0951s
==  CreateCustomers: migrated (0.0957s) =======================================

==  LinkCustomersToProjects: migrating ========================================
-- add_column(:projects, :customer_id, :integer)
   -> 0.2050s
==  LinkCustomersToProjects: migrated (0.2054s) ===============================

==  AddSkypeContact: migrating ================================================
-- add_column(:customers, :skype_name, :string)
   -> 0.0420s
==  AddSkypeContact: migrated (0.0422s) =======================================

Migrating gravatar...
Migrating open_id_authentication...
Migrating question_plugin...
==  CreateQuestions: migrating ================================================
-- create_table(:questions)
   -> 0.0064s
==  CreateQuestions: migrated (0.0069s) =======================================

Migrating redmine_kanban...
==  CreateKanbanIssues: migrating =============================================
-- create_table(:kanban_issues)
   -> 0.0060s
-- add_index(:kanban_issues, :user_id)
   -> 0.0171s
-- add_index(:kanban_issues, :issue_id)
   -> 0.0051s
-- add_index(:kanban_issues, :state)
   -> 0.0053s
==  CreateKanbanIssues: migrated (0.0343s) ====================================

Migrating rfpdf...
Migrating ruby-net-ldap-0.0.4...
Migrating wiki_graphviz_plugin...
sio4@vios-dev:/opt/redmine$

그런데…

redmine_kanban

그런데 이게… 메뉴를 클릭하면 500 오류를 내면서 동작하지 않는다. 로그를 살펴보니…

MissingSourceFile (no such file to load -- aasm):
    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
    /home/sio4/.gem/ruby/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:155:in `require'
    /vendor/plugins/redmine_kanban/app/models/kanban_issue.rb:1
    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
...

이런다. aasm을 적재할 수 없다고라고라? 그래서 웹을 검색해보니, 다름 아닌 이런 페이지를 찾을 수 있었다. 처음부터 보고 할걸…

http://www.redmine.org/wiki/1/PluginKanban

sio4@vios-dev:/opt/redmine$ gem install rubyist-aasm --source http://gems.github.com
WARNING:  Installing to ~/.gem since /var/lib/gems/1.8 and
          /var/lib/gems/1.8/bin aren't both writable.
WARNING:  You don't have /home/sio4/.gem/ruby/1.8/bin in your PATH,
          gem executables will not run.
Successfully installed rubyist-aasm-2.1.1
1 gem installed
Installing ri documentation for rubyist-aasm-2.1.1...
Installing RDoc documentation for rubyist-aasm-2.1.1...
sio4@vios-dev:/opt/redmine$

그런데 이걸 어떻게 bundling 하더라?

어라? 내가 rails 구동을 사용자 계정으로 해서 그런가? gem 설치를 일반 사용자 모드로 했는데도 불구하고 이젠 돌아가네? 이 부분은 좀 확인/연구가 필요할 것 같다.

https://projects.littlestreamsoftware.com/projects

Bookmark and Share


따로 명시하지 않는 한에서 이 사이트의 모든 콘텐츠는 다음의 라이선스를 따릅니다: Creative Commons Attribution-NonCommercial 3.0 License