www/ruby-erubis 2.7.0nb1 NetBSD
Fast and extensible eRuby implementation which supports multi-language
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- mit
- Categories
- www, ruby
- Package size
- 318.1 KiB, 1625.0 KiB installed
Description
Erubis is an implementation of eRuby. It has the following features.
* Very fast, almost three times faster than ERB and even 10% faster than eruby * Multi-language support (Ruby/PHP/C/Java/Scheme/Perl/Javascript) * Auto escaping support * Auto trimming spaces around '<% %>' * Embedded pattern changeable (default '<% %>') * Enable to handle Processing Instructions (PI) as embedded pattern (ex. '<?rb ... ?>') * Context object available and easy to combine eRuby template with YAML datafile * Print statement available * Easy to extend and customize in subclass * Ruby on Rails support
Erubis is implemented in pure Ruby. It requires Ruby 1.8 or higher. Erubis now supports Ruby 1.9.
Install
Binary package:
pkgin install ruby33-erubis
From pkgsrc:
cd /usr/pkgsrc/www/ruby-erubis && make install clean
Dependencies
Run dependencies 1
Required by 1
Configuration
No options to configure.
- Service scripts
- none
- Flavors
ruby34-erubis-2.7.0nb1,ruby40-erubis-2.7.0nb1