Sha256: 3283be379b8c8caa4b2c51fc19da701df512a35fd7478d4c1f5c03806b92501b
Contents?: true
Size: 594 Bytes
Versions: 4
Compression:
Stored size: 594 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 args.unshift('new') if args[0] != 'new' # 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 & 2 rubygems
Version | Path |
---|---|
somatics3-0.0.10 | bin/somatics |
somatics3-generators-0.0.10 | bin/somatics |
somatics3-generators-0.0.9 | bin/somatics |
somatics3-generators-0.0.8 | bin/somatics |