danmunn / redmine_dmsf

Fork of svn repository for redmine_dmsf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Latest plugin version on windows: problematic dependency 'xapian-ruby'

deining opened this issue · comments

I have redmine instances running both on Linux and Windows. Yersterday, I sucessfully upgraded a Linux based Redmine instance to version 5.1.0. Afterwards, I upgraded redmine_dmsf plugin without any problems, everything ran smoothly.
Today I successfully upgraded a Windows based Redmine instance to version 5.1.0. While trying to upgrade installed redmine_dmsf plugin, I ran into trouble since bundle install choked on newly added gem xapian-ruby:

> gem install xapian-ruby
Using rubygems directory: C:/Users/xxx/.local/share/gem/ruby/3.2.0
Temporarily enhancing PATH for MSYS/MINGW...
Building native extensions. This could take a while...
ERROR:  Error installing xapian-ruby:
        ERROR: Failed to build gem native extension.
 ...

As indicated here installing xapian-ruby on Windows seems to be no trivial task at all. I don't mind running the redmine_dmsf plugin on my Windows instance without xapian, but it seems xapian-ruby is now indispensable for running the plugin with latest releases. Is that true? Or ist there any way to install and run the plugin without xapian-ruby gem in place? I don't want to loose my DMS and all its contents on my Windows instance while upgrading Redmine to latest version 5.1.0.

Could you test the devel branch please. There is a fix for Windows.

Could you test the devel branch please. There is a fix for Windows.

Thanks for your quick reply. Great to see that there is a fix already. All I had to do is to issue:

bundle install config set --local without test development xapian

Afterwards, startup of my instance with redmine_dmsf plugin succeeded.

Looking forward to the official release of this version and to the subsequent documentation of the option to disable xapian!