I’m not sure if this is actually a bug or my misunderstanding of the
feature. I’m trying to use the maven_gemify.rb code (“borrowing” some of
the in-process integration with Maven to do some cool stuff, actually
and I had thought that the code intended to automatically use the
ruby-maven gem if it was installed. However, I just get the “can not
find maven3 installation. install ruby-maven with…” error.
Looking at the code it looks like you still have to add the bin
directory of the ruby-maven gem to your PATH for it to be detected. Is
that intentional? If so I’m not sure why the code looks for the gem in
the first place since it also has a “mvn” binary and works perfectly
well as a regular Maven installation.
If nothing else the error message is deceptive since just installing the
gem won’t resolve the issue by itself.