You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please complete the following fields as applicable:
What version of the DMPRoadmap code are you running? (e.g. v2.2.0)
4.1.1+portage-4.2.3
Encountered behaviour:
When executing commands like rails c or rails s, etc., the following terminal output is encountered in all environments:
Copying Bootstrap glyphicons to the public directory ...
Copying TinyMCE skins to the public directory ...
The corresponding code exists within config/initializers/assets.rb:
# Bootstrap and TinyMCE expect their files to live in a specific place, so copy them overputs"Copying Bootstrap glyphicons to the public directory ..."source_dir=Dir.glob(Rails.root.join('node_modules','bootstrap','fonts','glyphicons-halflings-regular.*'))destination_dir=Rails.root.join('public','fonts','bootstrap')FileUtils.mkdir_p(destination_dir)FileUtils.cp_r(source_dir,destination_dir)puts"Copying TinyMCE skins to the public directory ..."source_dir=Dir.glob(Rails.root.join('node_modules','tinymce','skins','ui','oxide'))destination_dir=Rails.root.join('public','tinymce','skins')FileUtils.mkdir_p(destination_dir)FileUtils.cp_r(source_dir,destination_dir)
Remedy:
Move this aforementioned code outside of config/initializers/ (Perhaps it'd be best if it was only executed as part of rails assets:precompile?).
The text was updated successfully, but these errors were encountered:
Please complete the following fields as applicable:
What version of the DMPRoadmap code are you running? (e.g. v2.2.0)
4.1.1+portage-4.2.3
Encountered behaviour:
rails c
orrails s
, etc., the following terminal output is encountered in all environments:The corresponding code exists within
config/initializers/assets.rb
:Remedy:
Move this aforementioned code outside of
config/initializers/
(Perhaps it'd be best if it was only executed as part ofrails assets:precompile
?).The text was updated successfully, but these errors were encountered: