Defect #632

Theme discovery doesn't work under JRuby on Rails war structure

Added by Milton Taylor over 5 years ago. Updated about 2 years ago.

Status:NewStart date:2008-02-12
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Ruby support
Target version:-
Affected version:devel Resolution:

Description

themes.rb makes an assumption that the themes css files will be located in the public folder which is at the same level as the app folder. However, in a JRuby on Rails war structure, the public files are actually located in the root of the WAR, whereas most of the other rails app components are under \WEB_INF.

A workaround is to copy the themes folder into \WEB_INF\public which allows the theme discovery to work.


Related issues

Related to Patch #5404: Fix Redmine tests for JRuby 1.4.x and 1.5.0 Closed 2010-04-29

Associated revisions

Revision 3710
Added by Jean-Philippe Lang about 3 years ago

Fixes theme discovery under JRuby on Rails war structure (#632, #5404).

History

#1 Updated by Toshi MARUYAMA about 2 years ago

  • Category changed from UI to Ruby support

Also available in: Atom PDF