Sha256: 19b3bdfd6ef8234c1928269d254af9ea214051dfc617270dd4c8a96722c9518b
Contents?: true
Size: 504 Bytes
Versions: 8
Compression:
Stored size: 504 Bytes
Contents
#!/usr/bin/env ruby lib = File.expand_path(File.dirname(__FILE__) + '/../lib') $LOAD_PATH.unshift(lib) if File.directory?(lib) && !$LOAD_PATH.include?(lib) template_path = File.expand_path(File.dirname(__FILE__) + '/../templates') # require 'somatics' args = ARGV.dup ARGV.clear path = args.shift.strip rescue '.' # a = File.expand_path(path) template = File.join(template_path,'somatics.rb') puts "rake rails:template LOCATION=#{template}" system "rake rails:template LOCATION=#{template}" exit
Version data entries
8 entries across 8 versions & 2 rubygems