Fixed prompt ruby version on linux.
Added missing fi to end if statement.