Use environment variable to set ruby version

Otherwise, the version will only be set when the current working
directory is inside the home directory.
Start dropbox on login