refactor install.rb and add source bashrc
Merge branch 'master' into ubuntu