RubyGems Navigation menu

relative 1.0.3

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).

Gemfile
          gem 'relative', '~> 1.0.3'
  
  
  
  
  
  
  

install
          gem install relative
  
  
  
  
  
  
  

Total downloads 35,045

For this version 30,508

Required Ruby Version: None

Links:

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)