Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #311 from aziz/patch-1

making script/extension work when you're out of script folder (in ruby 1.9)
  • Loading branch information...
commit f25e91e3a29b386e055e07be2ab41b6fd5699db7 2 parents 252d410 + bd8fd30
Jim Gay saturnflyer authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  script/extension
2  script/extension
@@ -1,5 +1,5 @@
#!/usr/bin/env ruby
-require File.dirname(__FILE__) + "/../config/boot"
+require File.expand_path('../../config/boot', __FILE__)
require 'radiant/extension/script'
Radiant::Extension::Script.execute ARGV
Please sign in to comment.
Something went wrong with that request. Please try again.