Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Latest commit

 

History

History
63 lines (39 loc) · 1.03 KB

preparation.md

File metadata and controls

63 lines (39 loc) · 1.03 KB

開発環境の確認


ここでやること

  • ruby はいってる?
  • エディタ入ってる?
  • REPL使える?

ruby はいってる?

$ rbenv versions
  system
* 2.1.0 (set by /Users/luckypool/.anyenv/envs/rbenv/version)

$ which gem
/Users/luckypool/.anyenv/envs/rbenv/shims/gem

$ which bundle
/Users/luckypool/.anyenv/envs/rbenv/shims/bundle

入ってない場合は ここ とか ここ とか参考にしてみてください


エディタ入ってる?

emacs, vim, or RubyMine?


REPL

対話型の実行環境使える?

irb もいいけど pry が良いよ

$ gem install pry
$ pry
[1] pry(main)> puts 'hello, ruby!'
hello, ruby!
=> nil

なくても良いけどあると便利

http://kapeli.com/dash

API Documentation Browser


Are you ready? :)