RubyGems.org

relative

1.0.2

The relative library enhances Ruby's core and standard libraries to support naming, opening, and reading files relative to the Ruby file currently being interpreted (the contents of the __ FILE __ identifier). This functionality is especially useful in embedded Ruby (eruby, erb, erubis, etc.) where absolute paths or paths relative to the interpreter's current working directory are problematic (due to file system structures and working directories varying across platforms and web servers).

installgem install relative -v 1.0.2
Authors

DesigningPatterns

34,923 total downloads 1,900 for this version
Owners

A5cc1adb7512c5eb66b38c01cf72d2e2B954a23971e0267a15f87f4fc1990e074177100c7295da55efdcfacc005b9d4a

Gemfile
gem 'relative', '~> 1.0.2'
Versions
  1. 1.0.3 January 17, 2010 (9 KB)
  2. 1.0.2 June 27, 2008 (8.5 KB)
  3. 1.0.1 June 26, 2008 (8.5 KB)
  4. 1.0.0 June 26, 2008 (8.5 KB)
Runtime Dependencies
  1. hoe >= 1.6.0