Rubykaigi 2010 babushka lightning talk

1,288 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,288
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
7
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Rubykaigi 2010 babushka lightning talk

  1. 1. !"#$%& Sunday, 29 August 2010
  2. 2. Sunday, 29 August 2010
  3. 3. Sunday, 29 August 2010
  4. 4. Sunday, 29 August 2010
  5. 5. Sunday, 29 August 2010
  6. 6. Sunday, 29 August 2010
  7. 7. Sunday, 29 August 2010
  8. 8. Sunday, 29 August 2010
  9. 9. ‘ruby_kaigi’.camelize.should == ‘RubyKaigi’ Sunday, 29 August 2010
  10. 10. ‘ruby_kaigi’.camelize.should == ‘RubyKaigi’ Sunday, 29 August 2010
  11. 11. ‘ruby_kaigi’.camelize.should == ‘RubyKaigi’ def camelize gsub(//(.?)/) { "::#{$1.upcase}" }.gsub(/(?:^|_)(.)/) { $1.upcase } end Sunday, 29 August 2010
  12. 12. Sunday, 29 August 2010
  13. 13. Sunday, 29 August 2010
  14. 14. Sunday, 29 August 2010
  15. 15. Sunday, 29 August 2010
  16. 16. ! ruby --version ruby 1.8.7 … ! rvm use 1.9.2 Using ruby 1.9.2 p0 ! ruby --version ruby 1.9.2p0 … Sunday, 29 August 2010
  17. 17. ! ruby --version ruby 1.8.7 … ! rvm use 1.9.2 Using ruby 1.9.2 p0 ! ruby --version ruby 1.9.2p0 … Sunday, 29 August 2010
  18. 18. Sunday, 29 August 2010
  19. 19. ! ruby --version ruby 1.8.7 … ! rvm use 1.9.2 Using ruby 1.9.2 p0 Sunday, 29 August 2010
  20. 20. shell(‘ruby --version’)['ruby 1.9.2p0'] shell('rvm use 1.9.2') Sunday, 29 August 2010
  21. 21. met? { shell('ruby --version')['ruby 1.9.2p0'] } shell('rvm use 1.9.2') Sunday, 29 August 2010
  22. 22. met? { shell('ruby --version')['ruby 1.9.2p0'] } meet { shell('rvm use 1.9.2') } Sunday, 29 August 2010
  23. 23. dep 'ruby 1.9.2 in use' do met? { shell('ruby --version')['ruby 1.9.2p0'] } meet { shell('rvm use 1.9.2') } end Sunday, 29 August 2010
  24. 24. Sunday, 29 August 2010
  25. 25. dep 'ruby 1.9.2 in use' do requires '1.9.2 rvm ruby’ met? { shell('ruby --version')['ruby 1.9.2p0'] } meet { shell('rvm use 1.9.2') } end Sunday, 29 August 2010
  26. 26. dep '1.9.2 rvm ruby’ do requires 'rvm’ met? { shell('rvm list')['ruby-1.9.2-p0'] } meet { shell('rvm install 1.9.2') } end Sunday, 29 August 2010
  27. 27. dep 'rvm’ do met? { which 'rvm' } meet { shell 'bash -c "`curl http:// rvm.beginrescueend.com/releases/rvm- install-head`"' } end Sunday, 29 August 2010
  28. 28. dep 'Cucumber.tmbundle' do source 'git://github.com/bmabey/cucumber- tmbundle.git' end Sunday, 29 August 2010
  29. 29. Sunday, 29 August 2010
  30. 30. dep 'database migrated' do requires 'benhoskings:app bundled' met? { … } meet { … } end Sunday, 29 August 2010
  31. 31. git://github.com/ benhoskings /babushka-deps Sunday, 29 August 2010
  32. 32. git://github.com/freelancing-god /babushka-deps Sunday, 29 August 2010
  33. 33. !"'"()&*'%'++ Sunday, 29 August 2010

×