summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-03-23 23:51:59 +0900
committerRandy Morgan <[email protected]>2012-03-23 23:51:59 +0900
commitcd6fb747bbf2915f92f1fb0169e7f54d87aa1915 (patch)
treec27deeda7e8309bca913e1e65ac333cd35f1223f /examples
parent98c420f1810add2411a9bdeca0947f3a7515ab8b (diff)
downloadcaxlsx-cd6fb747bbf2915f92f1fb0169e7f54d87aa1915.tar.gz
caxlsx-cd6fb747bbf2915f92f1fb0169e7f54d87aa1915.zip
Explicitly state $LOAD_PATH in example
Diffstat (limited to 'examples')
-rw-r--r--examples/example.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example.rb b/examples/example.rb
index 36fe6b37..2c0f5fc1 100644
--- a/examples/example.rb
+++ b/examples/example.rb
@@ -1,6 +1,6 @@
#!/usr/bin/env ruby -w -s
# -*- coding: utf-8 -*-
-$:.unshift "#{File.dirname(__FILE__)}/../lib"
+$LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../lib"
require 'axlsx'
p = Axlsx::Package.new