script/generate in newjs-1.3.2 vs script/generate in newjs-1.3.3
- old
+ new
@@ -1,6 +1,6 @@
#!/usr/bin/env ruby
-APP_ROOT = File.join(File.dirname(__FILE__), '..')
+APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
begin
require 'rubigen'
rescue LoadError
require 'rubygems'