{"action":"opened","issue":{"url":"https://api.github.com/repos/andreychernih/railsbox/issues/21","labels_url":"https://api.github.com/repos/andreychernih/railsbox/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/andreychernih/railsbox/issues/21/comments","events_url":"https://api.github.com/repos/andreychernih/railsbox/issues/21/events","html_url":"https://github.com/andreychernih/railsbox/issues/21","id":68820084,"number":21,"title":"rbenv: cannot rehash","user":{"login":"ychaker","id":29512,"avatar_url":"https://avatars.githubusercontent.com/u/29512?v=3","gravatar_id":"","url":"https://api.github.com/users/ychaker","html_url":"https://github.com/ychaker","followers_url":"https://api.github.com/users/ychaker/followers","following_url":"https://api.github.com/users/ychaker/following{/other_user}","gists_url":"https://api.github.com/users/ychaker/gists{/gist_id}","starred_url":"https://api.github.com/users/ychaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ychaker/subscriptions","organizations_url":"https://api.github.com/users/ychaker/orgs","repos_url":"https://api.github.com/users/ychaker/repos","events_url":"https://api.github.com/users/ychaker/events{/privacy}","received_events_url":"https://api.github.com/users/ychaker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-16T01:01:25Z","updated_at":"2015-04-16T01:01:25Z","closed_at":null,"body":"Hi,\r\nI'm running into a problem using `rbenv`:\r\n\r\n```\r\n==> samplit: TASK: [ruby | Add brightbox/ruby-ng repository] *******************************\r\n==> samplit: skipping: [127.0.0.1]\r\n==> samplit:\r\n==> samplit: TASK: [ruby | Install ruby] ***************************************************\r\n==> samplit: skipping: [127.0.0.1]\r\n==> samplit:\r\n==> samplit: TASK: [ruby | Detect rvm binary] **********************************************\r\n==> samplit: skipping: [127.0.0.1]\r\n==> samplit:\r\n==> samplit: TASK: [ruby | Detect rvm installer] *******************************************\r\n==> samplit: skipping: [127.0.0.1]\r\n==> samplit:\r\n==> samplit: TASK: [ruby | Detect current rvm version] *************************************\r\n==> samplit: skipping: [127.0.0.1]\r\n==> samplit:\r\n==> samplit: TASK: [ruby | Install rvm installer] ******************************************\r\n==> samplit: skipping: [127.0.0.1]\r\n==> samplit:\r\n==> samplit: TASK: [ruby | Configure rvm installer] ****************************************\r\n==> samplit: skipping: [127.0.0.1]\r\n==> samplit:\r\n==> samplit: TASK: [ruby | Import GPG keys] ************************************************\r\n==> samplit: skipping: [127.0.0.1]\r\n==> samplit:\r\n==> samplit: TASK: [ruby | Install rvm] ****************************************************\r\n==> samplit: skipping: [127.0.0.1]\r\n==> samplit:\r\n==> samplit: TASK: [ruby | Update rvm] *****************************************************\r\n==> samplit: skipping: [127.0.0.1]\r\n==> samplit:\r\n==> samplit: TASK: [ruby | Configure rvm] **************************************************\r\n==> samplit: skipping: [127.0.0.1]\r\n==> samplit:\r\n==> samplit: TASK: [ruby | Detect if rubies are installed] *********************************\r\n==> samplit: skipping: [127.0.0.1] => (item=2.1.2)\r\n==> samplit:\r\n==> samplit: TASK: [ruby | Install rubies] *************************************************\r\n==> samplit: skipping: [127.0.0.1] => (item={u'skipped': True, u'changed': False})\r\n==> samplit:\r\n==> samplit: TASK: [ruby | Install rubies (non-binary)] ************************************\r\n==> samplit: skipping: [127.0.0.1] => (item={u'skipped': True, u'changed': False})\r\n==> samplit:\r\n==> samplit: TASK: [ruby | Detect default ruby version] ************************************\r\n==> samplit: skipping: [127.0.0.1]\r\n==> samplit:\r\n==> samplit: TASK: [ruby | Select default ruby] ********************************************\r\n==> samplit: skipping: [127.0.0.1]\r\n==> samplit:\r\n==> samplit: TASK: [ruby | Symlink ruby related binaries on the system path] ***************\r\n==> samplit: skipping: [127.0.0.1] => (item=bundle)\r\n==> samplit: skipping: [127.0.0.1] => (item=bundler)\r\n==> samplit: skipping: [127.0.0.1] => (item=erb)\r\n==> samplit: skipping: [127.0.0.1] => (item=executable-hooks-uninstaller)\r\n==> samplit: skipping: [127.0.0.1] => (item=gem)\r\n==> samplit: skipping: [127.0.0.1] => (item=irb)\r\n==> samplit: skipping: [127.0.0.1] => (item=rake)\r\n==> samplit: skipping: [127.0.0.1] => (item=rdoc)\r\n==> samplit: skipping: [127.0.0.1] => (item=ri)\r\n==> samplit: skipping: [127.0.0.1] => (item=ruby)\r\n==> samplit: skipping: [127.0.0.1] => (item=testrb)\r\n==> samplit:\r\n==> samplit: TASK: [ruby | Create rvm.sh] **************************************************\r\n==> samplit: skipping: [127.0.0.1]\r\n==> samplit:\r\n==> samplit: TASK: [ruby | Install libffi-dev] *********************************************\r\n==> samplit: ok: [127.0.0.1]\r\n==> samplit:\r\n==> samplit: TASK: [ruby | Clone rbenv repository to ~/.rbenv] *****************************\r\n==> samplit: ok: [127.0.0.1]\r\n==> samplit:\r\n==> samplit: TASK: [ruby | Create rbenv.sh] ************************************************\r\n==> samplit: ok: [127.0.0.1]\r\n==> samplit:\r\n==> samplit: TASK: [ruby | Create plugins directory] ***************************************\r\n==> samplit: ok: [127.0.0.1]\r\n==> samplit:\r\n==> samplit: TASK: [ruby | Install plugins] ************************************************\r\n==> samplit: ok: [127.0.0.1] => (item={'git': 'https://github.com/sstephenson/ruby-build.git', 'name': 'ruby-build', 'version': 'master'})\r\n==> samplit:\r\n==> samplit: TASK: [ruby | Check if ruby installed] ****************************************\r\n==> samplit: changed: [127.0.0.1]\r\n==> samplit:\r\n==> samplit: TASK: [ruby | Install ruby] ***************************************************\r\n==> samplit: skipping: [127.\r\n==> samplit: 0.0.1]\r\n==> samplit:\r\n==> samplit: TASK: [ruby | Set global ruby version] ****************************************\r\n==> samplit: changed: [127.0.0.1]\r\n==> samplit:\r\n==> samplit: TASK: [ruby | Rehash rbenv] ***************************************************\r\n==> samplit: failed: [127.0.0.1] => {\"changed\": true, \"cmd\": [\"/home/vagrant/.rbenv/bin/rbenv\", \"rehash\"], \"delta\": \"0:00:00.013844\", \"end\": \"2015-04-16 00:15:08.194019\", \"rc\": 1, \"start\": \"2015-04-16 00:15:08.180175\", \"warnings\": []}\r\n==> samplit: stderr: rbenv: cannot rehash: /home/vagrant/.rbenv/shims/.rbenv-shim exists\r\n==> samplit:\r\n==> samplit: FATAL: all hosts have already failed -- aborting\r\n==> samplit:\r\n==> samplit: PLAY RECAP ********************************************************************\r\n==> samplit:            to retry, use: --limit @/home/vagrant/site.retry\r\n==> samplit:\r\n==> samplit: 127.0.0.1                  : ok=82   changed=49   unreachable=0    failed=1\r\nThe SSH command responded with a non-zero exit status. Vagrant\r\nassumes that this means the command failed. The output for this command\r\nshould be in the log above. Please read the output to determine what\r\nwent wrong.\r\n```\r\n\r\nThis is the box if it helps: https://railsbox.io/boxes/7237e5591058\r\n\r\nAny idea how to fix this?"}}