Permalink
Browse files

- fixed requires (e-tobi)

[git-p4: depot-paths = "//src/ParseTree/dev/": change = 5801]
  • Loading branch information...
1 parent a6e9b1f commit 03679a39b8f703d29aea9a5414d5ae3feb8f132b @zenspider zenspider committed Aug 9, 2010
Showing with 4 additions and 4 deletions.
  1. +1 −1 bin/parse_tree_abc
  2. +1 −1 bin/parse_tree_deps
  3. +1 −1 bin/parse_tree_show
  4. +1 −1 lib/parse_tree.rb
View
2 bin/parse_tree_abc
@@ -14,7 +14,7 @@ end
PARSE_TREE_ABC=true
-begin require 'rubygems' rescue LoadError end
+begin; require 'rubygems'; rescue LoadError; end
require 'sexp'
require 'parse_tree'
require 'sexp_processor'
View
2 bin/parse_tree_deps
@@ -6,7 +6,7 @@ ObjectSpace.each_object(Module) { |klass| old_classes << klass } if defined? $a
require 'pp'
-begin require 'rubygems' rescue LoadError end
+begin; require 'rubygems'; rescue LoadError; end
require 'parse_tree'
require 'sexp_processor'
View
2 bin/parse_tree_show
@@ -1,7 +1,7 @@
#!/usr/local/bin/ruby -ws
require 'pp'
-begin require 'rubygems' rescue LoadError end
+begin; require 'rubygems'; rescue LoadError; end
require 'parse_tree'
require 'sexp'
View
2 lib/parse_tree.rb
@@ -5,7 +5,7 @@
raise LoadError, "ParseTree isn't needed with rubinius" if
defined? RUBY_ENGINE and RUBY_ENGINE == "rbx"
-require 'rubygems'
+begin; require 'rubygems'; rescue LoadError; end
require 'inline'
require 'unified_ruby'

0 comments on commit 03679a3

Please sign in to comment.