Your SlideShare is downloading. ×
Rubykaigi 2010 babushka lightning talk
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Rubykaigi 2010 babushka lightning talk

1,101
views

Published on

Published in: Technology

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,101
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
5
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. !"#$%& Sunday, 29 August 2010
  • 2. Sunday, 29 August 2010
  • 3. Sunday, 29 August 2010
  • 4. Sunday, 29 August 2010
  • 5. Sunday, 29 August 2010
  • 6. Sunday, 29 August 2010
  • 7. Sunday, 29 August 2010
  • 8. Sunday, 29 August 2010
  • 9. ‘ruby_kaigi’.camelize.should == ‘RubyKaigi’ Sunday, 29 August 2010
  • 10. ‘ruby_kaigi’.camelize.should == ‘RubyKaigi’ Sunday, 29 August 2010
  • 11. ‘ruby_kaigi’.camelize.should == ‘RubyKaigi’ def camelize gsub(//(.?)/) { "::#{$1.upcase}" }.gsub(/(?:^|_)(.)/) { $1.upcase } end Sunday, 29 August 2010
  • 12. Sunday, 29 August 2010
  • 13. Sunday, 29 August 2010
  • 14. Sunday, 29 August 2010
  • 15. Sunday, 29 August 2010
  • 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. ! 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. Sunday, 29 August 2010
  • 19. ! ruby --version ruby 1.8.7 … ! rvm use 1.9.2 Using ruby 1.9.2 p0 Sunday, 29 August 2010
  • 20. shell(‘ruby --version’)['ruby 1.9.2p0'] shell('rvm use 1.9.2') Sunday, 29 August 2010
  • 21. met? { shell('ruby --version')['ruby 1.9.2p0'] } shell('rvm use 1.9.2') Sunday, 29 August 2010
  • 22. met? { shell('ruby --version')['ruby 1.9.2p0'] } meet { shell('rvm use 1.9.2') } Sunday, 29 August 2010
  • 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. Sunday, 29 August 2010
  • 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. 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. 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. dep 'Cucumber.tmbundle' do source 'git://github.com/bmabey/cucumber- tmbundle.git' end Sunday, 29 August 2010
  • 29. Sunday, 29 August 2010
  • 30. dep 'database migrated' do requires 'benhoskings:app bundled' met? { … } meet { … } end Sunday, 29 August 2010
  • 31. git://github.com/ benhoskings /babushka-deps Sunday, 29 August 2010
  • 32. git://github.com/freelancing-god /babushka-deps Sunday, 29 August 2010
  • 33. !"'"()&*'%'++ Sunday, 29 August 2010