bin/prime in motion-prime-1.0.6 vs bin/prime in motion-prime-1.0.7
- old
+ new
@@ -5,11 +5,11 @@
require_relative '../motion-prime/version'
class App
include Methadone::Main
include Methadone::CLILogging
include Methadone::SH
-
+
main do |command, *opts|
case command.to_sym
when :new then create_base(*opts)
when :bootstrap then create_bootstrap(*opts)
when :generate then generate(*opts)
@@ -50,10 +50,10 @@
info "Command: bundle install"
sh "cd ./#{name}; bundle install"
info "Command: pod setup"
sh "cd ./#{name}; pod setup"
info "Command: rake pod:install"
- sh "cd ./#{name}; rake pod:install"
+ sh "cd ./#{name}; bundle exec rake pod:install"
end
def self.generate(resource, name)
require_relative '../generators/generator'
MotionPrime::Generator.factory(resource).generate(name)
\ No newline at end of file