Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add lib/ to load path.

Allows you to run script directly in shell instead of via gem.
  • Loading branch information...
commit cb50e67f76ca1a64cc024118e62dbd2f427ba20a 1 parent a0e1a8c
@airblade authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  bin/magic_encoding
View
2  bin/magic_encoding 100644 → 100755
@@ -2,6 +2,8 @@
# A simple tool to prepend magic comments for encoding to multiple ".rb" files
+$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib')
+
require 'magic_encoding'
AddMagicComment.process(ARGV)
Please sign in to comment.
Something went wrong with that request. Please try again.