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

私のRubyの始め方

kasacchiful
April 06, 2013
560

 私のRubyの始め方

NDS#31 でしゃべりました。私がRubyを始めたきっかけと方法です。

kasacchiful

April 06, 2013
Tweet

More Decks by kasacchiful

Transcript

  1. ࠷ۙͷRubyϓϩμΫτ • Ruby 2.0 • Ruby on Rails 4.0ʢ΋͏͙͢ʣ •

    Rake 10.0 • RubyGems 2.0 • RSpec 3.0 • RDoc 4.0 • etc. ࡢ೥͔ΒΞοϓάϨʔυ͕૬͙࣍ ⇒ࠓɺνϟϨϯδ͢Δ࣌ظʂ
  2. ษڧձ • @͍ͨ͞Μ ͷRuby / Railsษڧձ • ʮFour Days on

    Railsʯ • ౰࣌͸Ruby 1.8.6 / Rails 1.2ͩͬͨʢͱهԱ͍ͯ͠Δʣ
  3. ษڧձ • Ruby Business CommonsͷRailsษڧձ • NICOͷRailsݚमɺOSC • Ruby 2.0

    / Rails 4.0 ηϛφʔ • Niigata.rb / Niigata.LL • NDSʹࢀՃͨ͠ͷ΋ɺษڧձ͕͖͔͚ͬʂ
  4. ؀ڥߏங • Mac / Linuxɿඪ४ύοέʔδΛೖΕͯΈΔ • rvm / rbenv Ͱ࠷৽Ruby

    2.0ΛೖΕ·͠ΐ • rvm / rbenv ͷํ͕ศརʢͱ͍͏͔ͬͪ͜࢖͑ʂʣ • WindowsɿActiveScriptRuby ͱ͔ One-Click Installerͱ͔ͰೖΕ ͯΈΔ • pikͱ͍͏ͷ΋͋ΔΑ • WindowsͰಈ͔ͳ͍ϥΠϒϥϦ΋݁ߏ͋ΔͷͰ஫ҙ ࠓͳΒ Ruby 2.0Λ΍Γ·͠ΐ͏ʂ
  5. ։ൃωλ • Rails։ൃͰֶͼ·ͨ͠ʂ • gem install rails • WebΞϓϦέʔγϣϯϑϨʔϜϫʔΫ •

    ϑϧελοΫʢඞཁͳ΋ͷ͸ͦΖ͍ͬͯΔʣ • MVC • DRYɺCoCɺRESTful
  6. ։ൃωλ • ʮFour Days on RailsʯʢRails 1ͷ࣌୅ʣ • ʮRailsʹΑΔΞδϟΠϧWebΞϓϦέʔγϣϯ ։ൃʯʢୈ4൛͕ग़͍ͯΔʣ

    • ʮ͸͡ΊΑ͏Ruby on Railsʯʢωλతʹ͸ྑ࣭ʣ • ʮRails3ϨγϐϒοΫʯʢࠔͬͨͱ͖ʹʣ