please choosego to mobile | Continue to access the PC version
View: 804|Reply: 1

RPZero2 Ruby Install Error (Ubuntu)

[Copy link]

2

threads

3

posts

27

credits

Novice

Rank: 1

credits
27
Published in 2022-9-12 06:44:26 | Show all floors |Read mode
This post was finally edited by daBee at 2022-9-11 17:45

Tried to install Ruby through rbenv, and for an error:


  1. [Sun Sep 11 18:15:24 orangepi@orange ~/build/ruby-build] rbenv install -l
  2. rbenv install 3.1.2
  3. 2.6.10
  4. 2.7.6
  5. 3.0.4
  6. 3.1.2
  7. jruby-9.3.7.0
  8. mruby-3.1.0
  9. picoruby-3.0.0
  10. rbx-5.0
  11. truffleruby-22.2.0
  12. truffleruby+graalvm-22.2.0

  13. Only latest stable releases for each Ruby implementation are shown.
  14. Use 'rbenv install --list-all / -L' to show all local versions.
  15. To follow progress, use 'tail -f /tmp/ruby-build.20220911181526.33835.log' or pass --verbose
  16. Downloading ruby-3.1.2.tar.gz...
  17. -> https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.2.tar.gz
  18. error: failed to download ruby-3.1.2.tar.gz

  19. BUILD FAILED (Ubuntu 22.04 using ruby-build 20220910.1)

  20. Inspect or clean up the working tree at /tmp/ruby-build.20220911181526.33835.fxdJXT
  21. Results logged to /tmp/ruby-build.20220911181526.33835.log

  22. Last 10 log lines:
  23. /tmp/ruby-build.20220911181526.33835.fxdJXT ~/build/ruby-build
  24. curl: (23) Failure writing output to destination
  25. [Sun Sep 11 18:15:28 orangepi@orange ~/build/ruby-build] cat /tmp/ruby-build.20220911181526.33835.log
  26. /tmp/ruby-build.20220911181526.33835.fxdJXT ~/build/ruby-build
  27. curl: (23) Failure writing output to destination
  28. [Sun Sep 11 18:15:47 orangepi@orange ~/build/ruby-build]
Copy code


Not sure what to do next.  Tried again, same error.

Anybody have any ideas?  Cheers

2

threads

3

posts

27

credits

Novice

Rank: 1

credits
27
 Author| Published in 2022-9-18 15:11:39 | Show all floors
Compiled my own.  This board is a little too quiet.  
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list