adding leveldb install steps to before_install
updated ruby version file to make rvm happy for travis ci