Skip to content

Commit

Permalink
Added note about using absolute paths to rootdir rdoc
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//src/RubyInline/dev/": change = 10576]
  • Loading branch information
zenspider committed Mar 31, 2016
1 parent fe05a6b commit 112e6ad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/inline.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ def self.registered_inline_classes
#
# Perform a check in that other to see if the environment is defined
# and if so, use it. only try this on Windows.
#
# Note, depending on how you're using this (eg, a rails app in
# production), you probably want to use absolute paths.

def self.rootdir
env = ENV['INLINEDIR'] || ENV['HOME']
Expand Down

0 comments on commit 112e6ad

Please sign in to comment.