lib/csd.rb in csd-0.1.11 vs lib/csd.rb in csd-0.1.12
- old
+ new
@@ -29,10 +29,10 @@
#
def respond_to_incomplete_arguments
if !Applications.current and ARGV.include?('update')
# Updating the AI
UI.info "Updating the AI to the newest version".green.bold
- Cmd.run "sudo gem update csd", :announce_pwd => false, :verbose => true
+ Cmd.run "sudo gem update csd --no-ri --no-rdoc", :announce_pwd => false, :verbose => true
exit # The only smooth status code 0 exit in this whole application :)
else
choose_application unless Applications.current
choose_action unless Options.valid_action?
end