Sha256: 16ef084aecec97deef198e32a29d923d9d7625dfb6c018e9cc3698054460fcab

Contents?: true

Size: 440 Bytes

Versions: 4

Compression:

Stored size: 440 Bytes

Contents

require_relative '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

4 entries across 4 versions & 1 rubygems

Version Path
six-updater-web-0.14.3 lib/six-updater-web/_rake.rb
six-updater-web-0.14.2 lib/six-updater-web/_rake.rb
six-updater-web-0.14.1 lib/six-updater-web/_rake.rb
six-updater-web-0.13.6 lib/six-updater-web/_rake.rb