Sha256: bc5c07d9b9479c0f2f886f34888f5d2761a750be0690495c6dd58887b2a411a8
Contents?: true
Size: 554 Bytes
Versions: 4
Compression:
Stored size: 554 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 "#{path} #{a} #{args.join(',')} #{template}" puts "rails #{args.join(' ')} -m #{template}" system "rails #{args.join(' ')} -m #{template}" exit
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
somatics3-generators-0.0.7 | bin/somatics |
somatics3-generators-0.0.6 | bin/somatics |
somatics3-generators-0.0.5 | bin/somatics |
somatics3-generators-0.0.4 | bin/somatics |