diff --git a/README.rdoc b/README.rdoc index 1a403b1..78ab4f8 100644 --- a/README.rdoc +++ b/README.rdoc @@ -44,6 +44,16 @@ while binaries for libxslt and libexslt areprovided in the libxslt-ruby bindings. +Installation from source: + +ruby ext/libxslt/extconf.rb +make +sudo make install + +gem build libxslt-ruby.gemspec +gem install libxslt-ruby-1.1.1.gem + + == USAGE For in-depth information about using libxslt-ruby please refer diff --git a/libxslt-ruby.gemspec b/libxslt-ruby.gemspec index e821967..87de130 100644 --- a/libxslt-ruby.gemspec +++ b/libxslt-ruby.gemspec @@ -1,4 +1,5 @@ # encoding: utf-8 +require 'date' # Determine the current version of the software version = File.read('ext/libxslt/version.h').match(/\s*RUBY_LIBXSLT_VERSION\s*['"](\d.+)['"]/)[1]