Error consistency
Refactor install_command_spec
Fix install_command_spec
Comply with ruby < 1.9