class Agilib::Composer::Command
Public Instance Methods
composer(name)
click to toggle source
# File lib/agilib/composer/command.rb, line 14 def composer(name) Agilib::Composer.options = options # Instala uma aplicação Rails system("rails new #{name} --skip-bundle --skip-test-unit -d mysql -m #{Agilib::Composer.template_runner}") end
setup()
click to toggle source
# File lib/agilib/composer/command.rb, line 22 def setup() say("\n\nInstalando RVM\n\n\n") system("curl -sSL https://get.rvm.io | bash -s stable") system("source ~/.profile") say("\n\nInstalando Ruby\n\n") system("rvm install 2.1.0") say("\n\nInstando a gem Bundler") system("gem install bundler") end