Caso tenha recebido uma mensagem de erro ao tentar usar o comando $ bundle install , como essa: There was an error while trying to write to `/home/michael/.bundle/cache/compact_index/rubygems.org.443.29b0360b937aa4d161703e6160654e47/versions`. It is likely that you need to grant write permissions for that path. Abra um terminal e digite o seguinte comando: $ sudo chown -R $(whoami):$(whoami) /home/michael/.bundle/ Obs: Lembre-se de alterar o caminho do diretório (negrito).
Um bog onde posto tutoriais sobre linux e tecnologia.