update to ruby 2.1; use .ruby-version instead of .rvmrc and silence warnings of top level class variable access