lib/rubigen.rb in rubigen-1.3.4 vs lib/rubigen.rb in rubigen-1.4.0
- old
+ new
@@ -1,16 +1,17 @@
-$:.unshift(File.dirname(__FILE__))
+$:.unshift(File.dirname(__FILE__)) unless
+ $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
begin
require 'active_support'
rescue LoadError
require 'rubygems'
gem 'activesupport'
require 'active_support'
end
module RubiGen
- VERSION = '1.3.4'
+ VERSION = '1.4.0'
end
require 'rubigen/base'
require 'rubigen/lookup'
require 'rubigen/commands'