Remove unused variable 'document'
Ignore rvm related files