added code to environment.rb for rvm dep issue