It is possible install plugin libsvn in Redmine 2.0.3?
Added by Andy Nesterovich over 12 years ago
I installed Redmine 2.0.3
Environment:
Redmine version 2.0.3.devel
Ruby version 1.9.3 (i386-freebsd8)
Rails version 3.2.6
Environment production
Database adapter PostgreSQL
Redmine plugins:
no plugin installed
in old configuration I use libsvn plugin.
How install libsvn in Redmine 2.0.3?
I try to start
s8# rake redmine:plugins:migrate RAILS_ENV=production
s8# mvf /var/tmp/plugins/ /usr/local/www/apache22/data/redmine/svn/client
s8# ls /usr/local/www/apache22/data/redmine/plugins/
README redmine-libsvn
s8# ls /usr/local/www/apache22/data/redmine/plugins/redmine-libsvn/
.git MIT-LICENCE README.textile app config init.rb lib
s8# rake redmine:plugins:migrate RAILS_ENV=production
rake aborted!
cannot load such file -
s8# rake redmine:plugins:migrate RAILS_ENV=production --traceTasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)
- Invoke redmine:plugins:migrate (first_time)
- Invoke environment (first_time)
- Execute environment
rake aborted!
cannot load such file -- svn/client
/usr/local/lib/ruby/gems/1.9/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `require'
/usr/local/lib/ruby/gems/1.9/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `block in require'
/usr/local/lib/ruby/gems/1.9/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:236:in `load_dependency'
/usr/local/lib/ruby/gems/1.9/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `require'
/usr/local/www/apache22/data/redmine/plugins/redmine-libsvn/init.rb:23:in `<top (required)>'
/usr/local/lib/ruby/gems/1.9/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `require'
/usr/local/lib/ruby/gems/1.9/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `block in require'
/usr/local/lib/ruby/gems/1.9/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:236:in `load_dependency'
/usr/local/lib/ruby/gems/1.9/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `require'
/usr/local/www/apache22/data/redmine/lib/redmine/plugin.rb:129:in `block in load'
/usr/local/www/apache22/data/redmine/lib/redmine/plugin.rb:120:in `each'
/usr/local/www/apache22/data/redmine/lib/redmine/plugin.rb:120:in `load'
/usr/local/www/apache22/data/redmine/config/initializers/30-redmine.rb:13:in `<top (required)>'
/usr/local/lib/ruby/gems/1.9/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:245:in `load'
/usr/local/lib/ruby/gems/1.9/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:245:in `block in load'
/usr/local/lib/ruby/gems/1.9/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:236:in `load_dependency'
/usr/local/lib/ruby/gems/1.9/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:245:in `load'
/usr/local/lib/ruby/gems/1.9/gems/railties-3.2.6/lib/rails/engine.rb:588:in `block (2 levels) in <class:Engine>'
/usr/local/lib/ruby/gems/1.9/gems/railties-3.2.6/lib/rails/engine.rb:587:in `each'
/usr/local/lib/ruby/gems/1.9/gems/railties-3.2.6/lib/rails/engine.rb:587:in `block in <class:Engine>'
/usr/local/lib/ruby/gems/1.9/gems/railties-3.2.6/lib/rails/initializable.rb:30:in `instance_exec'
/usr/local/lib/ruby/gems/1.9/gems/railties-3.2.6/lib/rails/initializable.rb:30:in `run'
/usr/local/lib/ruby/gems/1.9/gems/railties-3.2.6/lib/rails/initializable.rb:55:in `block in run_initializers'
/usr/local/lib/ruby/gems/1.9/gems/railties-3.2.6/lib/rails/initializable.rb:54:in `each'
/usr/local/lib/ruby/gems/1.9/gems/railties-3.2.6/lib/rails/initializable.rb:54:in `run_initializers'
/usr/local/lib/ruby/gems/1.9/gems/railties-3.2.6/lib/rails/application.rb:136:in `initialize!'
/usr/local/lib/ruby/gems/1.9/gems/railties-3.2.6/lib/rails/railtie/configurable.rb:30:in `method_missing'
/usr/local/www/apache22/data/redmine/config/environment.rb:14:in `<top (required)>'
/usr/local/lib/ruby/gems/1.9/gems/railties-3.2.6/lib/rails/application.rb:103:in `require'
/usr/local/lib/ruby/gems/1.9/gems/railties-3.2.6/lib/rails/application.rb:103:in `require_environment!'
/usr/local/lib/ruby/gems/1.9/gems/railties-3.2.6/lib/rails/application.rb:292:in `block (2 levels) in initialize_tasks'
/usr/local/lib/ruby/gems/1.9/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
/usr/local/lib/ruby/gems/1.9/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute'
/usr/local/lib/ruby/gems/1.9/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
/usr/local/lib/ruby/gems/1.9/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
/usr/local/lib/ruby/gems/1.9/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
/usr/local/lib/ruby/1.9/monitor.rb:211:in `mon_synchronize'
/usr/local/lib/ruby/gems/1.9/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/usr/local/lib/ruby/gems/1.9/gems/rake-0.9.2.2/lib/rake/task.rb:176:in `block in invoke_prerequisites'
/usr/local/lib/ruby/gems/1.9/gems/rake-0.9.2.2/lib/rake/task.rb:174:in `each'
/usr/local/lib/ruby/gems/1.9/gems/rake-0.9.2.2/lib/rake/task.rb:174:in `invoke_prerequisites'
/usr/local/lib/ruby/gems/1.9/gems/rake-0.9.2.2/lib/rake/task.rb:157:in `block in invoke_with_call_chain'
/usr/local/lib/ruby/1.9/monitor.rb:211:in `mon_synchronize'
/usr/local/lib/ruby/gems/1.9/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/usr/local/lib/ruby/gems/1.9/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
/usr/local/lib/ruby/gems/1.9/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
/usr/local/lib/ruby/gems/1.9/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block (2 levels) in top_level'
/usr/local/lib/ruby/gems/1.9/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
/usr/local/lib/ruby/gems/1.9/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block in top_level'
/usr/local/lib/ruby/gems/1.9/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/usr/local/lib/ruby/gems/1.9/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
/usr/local/lib/ruby/gems/1.9/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `block in run'
/usr/local/lib/ruby/gems/1.9/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/usr/local/lib/ruby/gems/1.9/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/usr/local/lib/ruby/gems/1.9/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>'
/usr/local/bin/rake:19:in `load'
/usr/local/bin/rake:19:in `<main>'
Tasks: TOP => redmine:plugins:migrate => environment
s8#
Why cannot load such file -- svn/client?
s8# svn --version
svn, version 1.7.3 (r1242825)
compiled Jun 21 2012, 15:26:38
Copyright (C) 2012 The Apache Software Foundation.
This software consists of contributions made by many people; see the NOTICE
file for more information.
Subversion is open source software, see http://subversion.apache.org/
The following repository access (RA) modules are available:
- ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
- handles 'http' scheme
- handles 'https' scheme - ra_svn : Module for accessing a repository using the svn network protocol.
- with Cyrus SASL authentication
- handles 'svn' scheme - ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
Where is my mistake?
Replies (3)
RE: It is possible install plugin libsvn in Redmine 2.0.3? - Added by William Roush over 12 years ago
As far as I can see, you have this as the most recent version:
https://github.com/DeX77/redmine-libsvn
Over a year old, which means it is most likely not Rails 3.0 compatible, so outside of you upgrading it yourself, nope.
RE: It is possible install plugin libsvn in Redmine 2.0.3? - Added by Daniel Munn over 12 years ago
With redmine 2.0 it uses bundler to resolve dependencies, you'll need to identify the gem requirements of the plugin and generate yourself a Gemfile in the plugin folder.
RE: It is possible install plugin libsvn in Redmine 2.0.3? - Added by William Roush over 12 years ago
Daniel Munn wrote:
With redmine 2.0 it uses bundler to resolve dependencies, you'll need to identify the gem requirements of the plugin and generate yourself a Gemfile in the plugin folder.
App is still written for Rails 2.0, so it still wont run.