Skip to content

Instantly share code, notes, and snippets.

@natea
Created October 14, 2015 21:12
Show Gist options
  • Save natea/2598d65472ac0d2dc9f2 to your computer and use it in GitHub Desktop.
Save natea/2598d65472ac0d2dc9f2 to your computer and use it in GitHub Desktop.
TASK: [rbenv | install ruby {{ edxapp_ruby_version }}] ************************
failed: [localhost] => {"changed": true, "cmd": "rbenv install 1.9.3-p374", "delta": "0:01:21.411520", "end": "2015-10-14 21:11:06.675532", "rc": 1, "start": "2015-10-14 21:09:45.264012", "warnings": []}
stderr: Downloading yaml-0.1.6.tar.gz...
-> https://dqw8nmjcqpjn7.cloudfront.net/7da6971b4bd08a986dd2a61353bc422362bd0edcc67d7ebaac68c95f74182749
Installing yaml-0.1.6...
Installed yaml-0.1.6 to /edx/app/edxapp/.rbenv/versions/1.9.3-p374
Downloading ruby-1.9.3-p374.tar.gz...
-> https://dqw8nmjcqpjn7.cloudfront.net/0d0e32a3554867e3eddbb23fbf30a72c4748622e010c23e31302d899fc005574
Installing ruby-1.9.3-p374...
BUILD FAILED (Ubuntu 12.04 using ruby-build 20150928)
Inspect or clean up the working tree at /tmp/ruby-build.20151014210945.2994
Results logged to /tmp/ruby-build.20151014210945.2994.log
Last 10 log lines:
linking shared-object bigdecimal.so
make[2]: Leaving directory `/tmp/ruby-build.20151014210945.2994/ruby-1.9.3-p374/ext/bigdecimal'
compiling callback-7.c
compiling callback-8.c
linking shared-object date_core.so
make[2]: Leaving directory `/tmp/ruby-build.20151014210945.2994/ruby-1.9.3-p374/ext/date'
linking shared-object dl/callback.so
make[2]: Leaving directory `/tmp/ruby-build.20151014210945.2994/ruby-1.9.3-p374/ext/dl/callback'
make[1]: Leaving directory `/tmp/ruby-build.20151014210945.2994/ruby-1.9.3-p374'
make: *** [build-ext] Error 2
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/home/docker/edxapp.retry
localhost : ok=48 changed=22 unreachable=0 failed=1
The command '/bin/sh -c sudo ansible-playbook edxapp.yml -c local -e "EDXAPP_PYTHON_SANDBOX=false"' returned a non-zero code: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment