Guest User

Untitled

a guest
Feb 19th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. $ ruby --version
  2. ruby 1.8.6 (2007-06-07 patchlevel 36) [universal-darwin9.0]
  3. $ curl ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p71.tar.gz | tar xz
  4. % Total % Received % Xferd Average Speed Time Time Time Current
  5. Dload Upload Total Spent Left Speed
  6. 100 4692k 100 4692k 0 0 47090 0 0:01:42 0:01:42 --:--:-- 32309
  7. $ cd ruby-1.8.7-p71/
  8. $ ./configure
  9. [...]
  10. creating config.h
  11. configure: creating ./config.status
  12. config.status: creating Makefile
  13. $ make test
  14. [...]
  15. test succeeded
  16. ruby-1.8.7-p71 $ sudo make install
  17. Password:
  18. ./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb ./instruby.rb --make="make" --dest-dir="" --extout=".ext" --mflags="" --make-flags="" --data-mode=0644 --prog-mode=0755 --installed-list .installed.list --mantype="doc"
  19. installing binary commands
  20. installing command scripts
  21. installing library scripts
  22. installing headers
  23. installing manpages
  24. installing extension objects
  25. installing extension scripts
  26. $ ruby --version
  27. ruby 1.8.6 (2007-06-07 patchlevel 36) [universal-darwin9.0]
  28. $ ./ruby --version
  29. ruby 1.8.7 (2008-08-08 patchlevel 71) [i686-darwin9.0.0]
  30. $ mate Makefile
  31. $ /usr/local/bin/ruby --version
  32. ruby 1.8.7 (2008-08-08 patchlevel 71) [i686-darwin9.0.0]
  33. $ sudo rm
  34. $ sudo rm `which ruby`
  35. $ which ruby
  36. /usr/local/bin/ruby
  37. $ ruby --version
  38. ruby 1.8.7 (2008-08-08 patchlevel 71) [i686-darwin9.0.0]
Add Comment
Please, Sign In to add comment