modified the code to include usr-bin-ruby