Skip to content

{ Category Archives } Uncategorized

Quick Tutorial: Bundling a merb application to a .war

Make sure you have the JRuby warbler gem installed.
Create a warble config file from the root directory of your merb application. The command should look something like this: jruby -S warble config. The file will be placed at config/warble.rb.
Edit line 55 of warble.rb to read: config.webxml.booter = :merb
Edit line 33 of warble.rb to read: config.gems = [”merb-core”,”merb-more”]. […]

Using Logging and Test::Unit together

If you use Tim Pease’s ruby Logging library in conjunction with Test::Unit, you must make sure to require ‘logging’ before you require ‘test/unit’. Both Logging and Test::Unit make use of Ruby’s at_exit method hook: Logging uses it to close any appenders (e.g. if you are writing a log to a file, it closes the file), and Test::Unit […]

Tagged , ,

OpenCms 7 XStandard WYSIWYG Module v0.6

This is an initial release of an XStandard WYSIWYG Module for OpenCms 7+. From the XStandard website:
XStandard is the leading standards-compliant plug-in WYSIWYG editor for desktop applications and browser-based content management systems (IE/Firefox/Safari/Opera). The editor generates clean XHTML Strict or 1.1, and uses CSS for formatting, to ensure the clean separation of content from presentation. The editor is […]

Tagged , ,