lib/minglr.rb in schubert-minglr-1.3.5 vs lib/minglr.rb in schubert-minglr-1.3.8
- old
+ new
@@ -1,19 +1,9 @@
MINGLR_ENV = "normal" unless defined?(MINGLR_ENV)
require 'rubygems'
-begin
- require 'activesupport'
-rescue LoadError
- puts "activesupport is not available. In order to run minglr, you must: sudo gem install activesupport"
- exit 1
-end
-begin
- require 'activeresource'
-rescue LoadError
- puts "activeresource is not available. In order to run minglr, you must: sudo gem install activeresource"
- exit 1
-end
+require 'activeresource'
+require 'activesupport'
require 'optparse'
prefix = File.join(File.dirname(__FILE__), "minglr")
require File.join(prefix, "action")
require File.join(prefix, "options_parser")
\ No newline at end of file