Posted By

jwaldeck on 02/14/11


Tagged

installation


Versions (?)

Installing RoR


 / Published in: Ruby
 

ruby-lang.org

  1. cd ~ (home directory)
  2. cd ../..
  3. ls -la (lists files)
  4. CMD + K (clear screen)
  5. echo $SHELL
  6. BASH => "Born Again SHELL"
  7. which "name" => location of file
  8. echo $PATH
  9. Edit Path => nano .bash_profile
  10.  
  11. Customize bash:
  12.  
  13. PS1="\u$ "
  14. alias ll="ls -lahG"
  15.  
  16. export PATH="/usr/local/bin:/usr/local/sbin:usr/local/mysql/bin:$PATH"
  17.  
  18. <! -- DONE -->
  19.  
  20. cat .bash_profile (lists contents)
  21. Install XCODE on the Mac
  22. gcc -v (lists the version of Mac programmings)
  23.  
  24. <!-- Installing Ruby -->
  25. ruby-lang.org

Report this snippet  

You need to login to post a comment.