Sha256: 21c33494ccd09c10285a2529b90291d6df9ef59b12404ba956ba5da3c968e2ab

Contents?: true

Size: 431 Bytes

Versions: 9

Compression:

Stored size: 431 Bytes

Contents

require 'common'

Dir.chdir(File.dirname(__FILE__)) do
	load 'Rakefile'
	#begin
#	  require 'rake'
#	rescue LoadError
#	  require 'rubygems'
#	  require 'rake'
#	end
  #Rake.application.run

  # TODO: This doesn't load the Rails initializer always, thus can be using wrong db or whatever (at least for db:create)
  arg = ARGV.clone
  ARGV.clear
  arg.each do |entry|
    Rake.application[entry].invoke
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
six-updater-web-0.13.5 lib/_rake.rb
six-updater-web-0.13.4 lib/_rake.rb
six-updater-web-0.13.3 lib/_rake.rb
six-updater-web-0.13.2 lib/_rake.rb
six-updater-web-0.13.1 lib/_rake.rb
six-updater-web-0.12.7 lib/_rake.rb
six-updater-web-0.12.6 lib/_rake.rb
six-updater-web-0.12.5 lib/_rake.rb
six-updater-web-0.12.4 lib/_rake.rb