Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Ruby In 60 Minutes

Ruby In 60 Minutes

Presentation on Ruby to the Aberdeen .Net User Group in August 2012

Colin Gemmell

August 27, 2012
Tweet

Other Decks in Programming

Transcript

  1. Ruby in 60 minutes Colin Gemmell Monday, 27 August 12

  2. 3 main tools • Interpreter • Interactive ruby console (IRB)

    • Rubygems Monday, 27 August 12
  3. MRI Ruby • Matz Ruby Interpreter • Created by Yukihiro

    Matsumoto • Released in 1995 • Template for all other rubies • Mainly written in C • Used until 1.8 http://flic.kr/p/86xJ97 Monday, 27 August 12
  4. YARV Ruby • Yet another Ruby VM • Created by

    Koichi Sasada • Replaced MRI in version 1.9 • Brought faster execution time http://flic.kr/p/4DyFam Monday, 27 August 12
  5. JRuby • Runs on the JVM • Access to all

    Java libraries and functions • Faster than MRI • Proper threading • Some gems may not work Monday, 27 August 12
  6. IRONRuby • Ruby on the CLR • No longer supported

    by microsoft • Stuck on 1.8 Monday, 27 August 12
  7. Interactive Ruby Console Monday, 27 August 12

  8. Ruby Gems • Package manager for ruby • Around 43,100

    (rubygems.org) • Of which a third are probably useful Monday, 27 August 12
  9. Other tool • Text editor • Ruby Debugger • Bundler

    • Pry • RVM / RBenv Monday, 27 August 12
  10. Demo - Github Scorer • Task a JSON feed for

    a github repoistory • Score users based on their actions • Score card is as follows • 1 point - watch repo • 2 points - fork repo • 5 points - comment on an issue • 5 points - comment on a commit • 10 points - make a pull request • 20 points - push to the repository Monday, 27 August 12
  11. Ruby in 60 minutes Colin Gemmell Twitter: @colin_gemmell Email: pythonandchips@gmail.com

    Monday, 27 August 12