Hi, 
I hope you have solved the problem, but if not:
I've this error, the solution to me was to add in pom.xml this:
<jruby.version>9.1.17.0  </jruby.version>
And then run sudo mvn clean package -Dmirage2.on = true



El sábado, 21 de agosto de 2021 a las 13:35:26 UTC-3, Jose Texier escribió:

> Hello everybody
>
> I'm trying to install DSpace V6.3 on my "production server" with the 
> Mirage2 theme but I get a problem. In the installation of the "production 
> server" without Mirage 2 I had no problems.
>
> The installation in the "development server" went well, both in the DSpace 
> with Mirage2 and the normal one.
>
> The error that I get on the production server is this:
> Running "compass: prod" (compass) task
> Warning: Command failed: compass --version
> /usr/lib/ruby/2.7.0/rubygems.rb:275:in `find_spec_for_exe ': can't find 
> gem compass (> = 0.a) with executable compass (Gem :: GemNotFoundException)
>         from /usr/lib/ruby/2.7.0/rubygems.rb:294:in `activate_bin_path '
>         from / usr / local / bin / compass: 23: in `<main> '
>  Use --force to continue.
>
> Aborted due to warnings.
> ...
> ...
> [INFO] ----------------------------------------------- 
> -------------------------
> [INFO] Reactor Summary for DSpace Parent Project 6.3:
> [INFO]
> [INFO] DSpace Parent Project .............................. SUCCESS [0.660 
> s]
> [INFO] DSpace Services Framework :: API and Implementation SUCCESS [2,503 
> s]
> [INFO] DSpace Kernel :: API and Implementation ............ SUCCESS [9,842 
> s]
> [INFO] DSpace Addon Modules ............................... SUCCESS [0.005 
> s]
> [INFO] DSpace Kernel :: Additions and Local Customizations SUCCESS [0.241 
> s]
> [INFO] DSpace XML-UI (Manakin) ............................ SUCCESS [4.729 
> s]
> [INFO] DSpace XML-UI Mirage2 Theme ........................ SUCCESS [0.127 
> s]
> [INFO] DSpace XML-UI Mirage2 Theme :: Local Customizations FAILURE [20,789 
> s]
> [INFO] DSpace XML-UI (Manakin) :: Local Customizations .... SKIPPED
> [INFO] DSpace JSP-UI ...................................... SKIPPED
> ...
> ...
> [ERROR] Failed to execute goal com.soebes.maven.plugins: 
> iterator-maven-plugin: 0.3: iterator (default) on project xmlui-mirage2: 
> Command execution failed .: Process exited with an error: 6 (Exit value: 6 
> ) -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the 
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, 
> please read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> [ERROR] mvn <args> -rf: xmlui-mirage2
>
>
>
> The command in linux that I am using is:
> mvn clean package -Dmirage2.on = true -Dmirage2.deps.included = false
>
> And the versions of the packages I have are:
> npm -v
> 3.10.3
> nvm --version
> 0.38.0
> node -v
> V10.19.0
> ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux-gnu]
> bower 1.8.12
> Sass 3.3.14 (Maptastic Maple)
> Compass 1.0.1 (Polaris)
> grunt-cli v1.3.2
> grunt v1.0.4
>
> The pom.xml in "dspace/modules/xmlui-mirage2/pom.xml" has this:
>         <sass.version> 3.3.14 </sass.version>
>         <compass.version> 1.0.1 </compass.version>
>         <node.version> 10.19.0 </node.version>
>         <npm.version> 3.10.3 </npm.version>
>
>
>
> Also try installing with Dmirage2.deps.included to true:
> mvn clean package -Dmirage2.on = true -Dmirage2.deps.included = false
>
> And I get this error:
> ...
> ...
> [WARNING] ERROR: Error installing 
> /home/ubuntu/.m2/repository/rubygems/chunky_png/1.4.0/chunky_png-1.4.0.gem:
> [WARNING] chunky_png requires Ruby version> = 2.0.
> [INFO] Successfully installed rb-fsevent-0.11.0
> [WARNING] ERROR: Error installing 
> /home/ubuntu/.m2/repository/rubygems/rb-inotify/0.10.1/rb-inotify-0.10.1.gem:
> [WARNING] rb-inotify requires Ruby version> = 2.2.
> [WARNING] ERROR: Error installing 
> /home/ubuntu/.m2/repository/rubygems/ffi/1.15.3/ffi-1.15.3.gem:
> [WARNING] ffi requires Ruby version> = 2.3.
> [INFO] 6 gems installed
>
>
> Any suggestions to be able to do the installation on the "production 
> server" for DSpace V6.3 with Mirage2.
>
> Thanks.
> Jose Texier
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-community/f3dce5d2-3ec4-4afd-a765-1a963b013d42n%40googlegroups.com.

Reply via email to