scottmuc / yari

Yet Another Ruby Installer
Other
36 stars 5 forks source link

Need to certify that devkit installed successfully and report to user if not #17

Closed aikhelis closed 4 years ago

aikhelis commented 12 years ago

The message from "dk.rb install" is not easily spottable when you run yari. So sometimes it is misleading and not clear whether everything went ok. Steps to repro - run yari from C:\Windows\System32. Somehow config.yml will remain unchanged by rubyinstaller.ps1 in this location and thus will not contain path to the installed Ruby.

Can we add verification after devkit installation, e.g. check that the following file exists: \lib\ruby\site_ruby\devkit.rb. Or catch exceptions coming from dk.rb if it is feasible. Should any issues - that should be reported to user in Red as this is a stopper issue.