First steps towards cleaning up bin/ruby-ls and getting rid of some magic numbers