Closed walkwolf closed 8 years ago
First of all: which OS you use? Problem with require_patch
appear only on Windows or in case of old version of Ruby. So, please, provide me more information about installation. And anyway, most likely you have problem with environment of installation, not with plugin.
Thanks Loriowar.
Ha. I think i've cleared that up already.
I find below from https://wiki.bitnami.com/Applications/BitNami_Redmine#How_to_install_a_plugin_on_Redmine.3f
$ cd installdir
$ ./use_redmine
$ cd apps/redmine/htdocs
$ bundle install --without development test postgresql sqlite --no-deployment
$ bundle install --without development test postgresql sqlite --deployment
$ ruby bin/rake redmine:plugins RAILS_ENV=production
Default use the bitnami ./use_redmine ,then
bundle install --without development test postgresql sqlite --deployment
while gem install on the /home/redmine/redmine-3.2.0-0/ruby/lib/ruby/gems/2.0.0/gems
And deployment
while copy this installed to /home/redmine/redmine-3.2.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.0.0/gems
Then run ruby bin/rake redmine:plugins RAILS_ENV=production
It's work!!!
But I find a problem,maybe not.
It's require nokogiri ,so yum install libxml2 libxml2-devel
.
And while bundle proceed, it's prompt message
Fetching gem metadata from https://ruby.taobao.org/...........
Fetching version metadata from https://ruby.taobao.org/..
Resolving dependencies...
Could not find rbpdf-font-1.19.0 in any of the sources
I modify redmine_issues_tree/Gemfile ,add gem 'rbpdf-font', '~> 1.19.0'
first line.
Anyway ,it's work now . Good plugin ,thanks Loriowar.
Glad for you. Good luck!
Install bitnami_redmine-3.2.0-0 cd $install_home/redmine-3.2.0-0/ ./use_redmine cd $install_home/redmine-3.2.0-0/apps/redmine/htdocs/plugins git clone https://github.com/Loriowar/redmine_issues_tree.git gem install require_patch -v 0.1.0 gem install haml-rails rake redmine:plugins:migrate RAILS_ENV=production
Then I got