Trabla: Redmine: install plugin "redmine_dashboard"
This is redmine dashboard plugin:
Environment:
1. OS: Windows
2. Redmine version Redmine 2.5.2.stable
2. Redmine installation folder C:\Sites\redmine
Solving:
1. Dowload plugin .zip from https://github.com/jgraichen/redmine_dashboard( I've downloaded redmine_dashboard-stable-v2.zip)
2. Create folder redmine_dashboard in plugins directory
C:\Sites\redmine\plugins\redmine_dashboard
3. Copy all files from .zip file to folder C:\Sites\redmine\plugins\redmine_dashboard
4. Run cmd and execute following commands
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\samuraikit>cd C:\Sites\redmine\plugins
C:\Sites\redmine\plugins>cd redmine_dashboard
C:\Sites\redmine\plugins\redmine_dashboard>rake redmine:plugins:migrate RAILS_ENV=production
rake aborted!
Bundler::GemNotFound: Could not find gem 'haml (>= 0) x86-mingw32' in the gems a
vailable on this machine.
C:/Sites/redmine/plugins/redmine_dashboard/Rakefile:7:in `<top (required)>'
(See full trace by running task with --trace)
C:\Sites\redmine\plugins\redmine_dashboard>bundle install
Fetching gem metadata from https://rubygems.org/.........
Fetching additional metadata from https://rubygems.org/..
Resolving dependencies...
Using rake 10.3.2
Using i18n 0.6.11
Using json 1.8.1
Installing minitest 5.4.2
Installing thread_safe 0.3.4
Installing tzinfo 1.2.2
Installing activesupport 4.1.6
Installing builder 3.2.2
Using erubis 2.7.0
Installing actionview 4.1.6
Installing rack 1.5.2
Using rack-test 0.6.2
Installing actionpack 4.1.6
Installing activemodel 4.1.6
Installing mime-types 2.4.2
Using mini_portile 0.6.0
Using nokogiri 1.6.3.1
Using xpath 2.0.0
Installing capybara 2.4.4
Installing hitimes 1.2.2
Installing timers 4.0.1
Installing celluloid 0.16.0
Installing cliver 0.3.2
Using coderay 1.1.0
Installing database_cleaner 1.3.0
Installing diff-lcs 1.2.5
Installing multipart-post 1.2.0
Installing faraday 0.8.9
Installing faraday_middleware 0.9.1
Using ffi 1.9.6
Installing formatador 0.2.5
Installing rspec-core 2.99.2
Installing rspec-expectations 2.99.2
Installing rspec-mocks 2.99.2
Installing rspec 2.99.0
Installing ruby-progressbar 1.6.0
Installing fuubar 1.3.3
Installing rb-fsevent 0.9.4
Installing rb-inotify 0.9.5
Installing listen 2.7.11
Installing lumberjack 1.0.9
Installing method_source 0.8.2
Installing slop 3.6.0
Installing win32console 1.3.2
Installing pry 0.10.1
Using thor 0.19.1
Installing guard 2.6.1
Installing guard-rspec 4.3.1
Installing tilt 2.0.1
Installing haml 4.0.5
Installing hashie 1.2.0
Installing inifile 3.0.0
Using multi_json 1.10.1
Installing websocket-driver 0.3.5
Installing poltergeist 1.5.1
Installing power_assert 0.1.4
Installing railties 4.1.6
Installing rspec-collection_matchers 1.0.0
Installing rspec-rails 2.99.0
Installing test-unit 3.0.2
Installing transifex-ruby-fork-jg 0.1.0
Using bundler 1.7.2
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
Post-install message from haml:
HEADS UP! Haml 4.0 has many improvements, but also has changes that may break
your application:
* Support for Ruby 1.8.6 dropped
* Support for Rails 2 dropped
* Sass filter now always outputs <style> tags
* Data attributes are now hyphenated, not underscored
* html2haml utility moved to the html2haml gem
* Textile and Maruku filters moved to the haml-contrib gem
For more info see:
http://rubydoc.info/github/haml/haml/file/CHANGELOG.md
C:\Sites\redmine\plugins\redmine_dashboard>rake redmine:plugins:migrate RAILS_EN
C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/rake/version.rb:2: warning: already i
nitialized constant VERSION
C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/rake/version.rb:5: warning: already i
nitialized constant MAJOR
C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/rake/version.rb:5: warning: already i
nitialized constant MINOR
C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/rake/version.rb:5: warning: already i
nitialized constant BUILD
C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/rake/version.rb:6: warning: already i
nitialized constant NUMBERS
C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/rake.rb:27: warning: already initiali
zed constant RAKEVERSION
C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/rake/early_time.rb:17: warning: alrea
dy initialized constant EARLY
C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/rake/alt_system.rb:32: warning: alrea
dy initialized constant WINDOWS
C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/rake/application.rb:31: warning: alre
ady initialized constant DEFAULT_RAKEFILES
WARNING: Possible conflict with Rake extension: String#ext already exists
WARNING: Possible conflict with Rake extension: String#pathmap already exists
C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/rake/task_arguments.rb:77: warning: a
lready initialized constant EMPTY_TASK_ARGS
C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/rake/invocation_chain.rb:49: warning:
already initialized constant EMPTY
C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/rake/file_utils.rb:9: warning: alread
y initialized constant RUBY
C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/rake/file_utils.rb:86: warning: alrea
dy initialized constant LN_SUPPORTED
C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/rake/file_utils_ext.rb:16: warning: a
lready initialized constant DEFAULT
C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/rake/file_list.rb:44: warning: alread
y initialized constant ARRAY_METHODS
C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/rake/file_list.rb:47: warning: alread
y initialized constant MUST_DEFINE
C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/rake/file_list.rb:51: warning: alread
y initialized constant MUST_NOT_DEFINE
C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/rake/file_list.rb:55: warning: alread
y initialized constant SPECIAL_RETURN
C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/rake/file_list.rb:61: warning: alread
y initialized constant DELEGATING_METHODS
C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/rake/file_list.rb:364: warning: alrea
dy initialized constant DEFAULT_IGNORE_PATTERNS
C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/rake/file_list.rb:370: warning: alrea
dy initialized constant DEFAULT_IGNORE_PROCS
C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/rake.rb:68: warning: already initiali
zed constant FileList
C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/rake.rb:69: warning: already initiali
zed constant RakeFileUtils
rake aborted!
undefined method `+' for LL():Rake::Scope::EmptyScope
(See full trace by running task with --trace)
5. Start redmine in cmd
C:\Users\samuraikit\Desktop>cd C:\Sites\redmine
C:\Sites\redmine>ruby script/rails server webrick -e production
=> Booting WEBrick
=> Rails 3.2.19 application starting in production on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
6. Login into redmine, enable plugin in your project
Menu -> Projects -> <select your project> -> Settings -> Modules
enable "Dashboard" module + save button
No comments:
Post a Comment