Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Getting Started with Ruby and Rails
Search
Bryce "BonzoESC" Kerley
December 05, 2011
Programming
7
500
Getting Started with Ruby and Rails
Decided I could stand to go over how I set rbenv, pow, and such all set up on a new computer.
Bryce "BonzoESC" Kerley
December 05, 2011
Tweet
Share
More Decks by Bryce "BonzoESC" Kerley
See All by Bryce "BonzoESC" Kerley
Ruby in 2020
bryce
1
110
Rails and the Internet of Things
bryce
1
68
It's Not Ruby, But…
bryce
0
49
Ruby 2.5: What's New and What's Cool
bryce
0
62
docker for rubyists
bryce
0
110
Would You Like To Make A Game?
bryce
0
52
WebSockets and ActionCable
bryce
0
83
How I Learned to Stop Worrying and Like RSpec
bryce
0
77
How Do Computers Even Work?
bryce
1
180
Other Decks in Programming
See All in Programming
レガシーシステムの機能調査・開発におけるAI利活用
takuya_ohtonari
0
610
なぜ適用するか、移行して理解するClean Architecture 〜構造を超えて設計を継承する〜 / Why Apply, Migrate and Understand Clean Architecture - Inherit Design Beyond Structure
seike460
PRO
1
540
データの民主化を支える、透明性のあるデータ利活用への挑戦 2025-06-25 Database Engineering Meetup#7
y_ken
0
290
Cline指示通りに動かない? AI小説エージェントで学ぶ指示書の書き方と自動アップデートの仕組み
kamomeashizawa
1
570
イベントストーミング図からコードへの変換手順 / Procedure for Converting Event Storming Diagrams to Code
nrslib
1
240
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
170
来たるべき 8.0 に備えて React 19 新機能と React Router 固有機能の取捨選択とすり合わせを考える
oukayuka
2
830
地方に住むエンジニアの残酷な現実とキャリア論
ichimichi
5
1.1k
git worktree × Claude Code × MCP ~生成AI時代の並列開発フロー~
hisuzuya
1
370
AIネイティブなプロダクトをGolangで挑む取り組み
nmatsumoto4
0
120
A comprehensive view of refactoring
marabesi
0
970
ktr0731/go-mcpでMCPサーバー作ってみた
takak2166
0
170
Featured
See All Featured
Docker and Python
trallard
44
3.4k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.8k
BBQ
matthewcrist
89
9.7k
How to Ace a Technical Interview
jacobian
277
23k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
5.8k
Thoughts on Productivity
jonyablonski
69
4.7k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
700
Faster Mobile Websites
deanohume
307
31k
Mobile First: as difficult as doing things right
swwweet
223
9.7k
Transcript
Getting Started with Ruby and Rails Bryce Kerley, Ruby Brigade
November 21, 2011 Sunday, November 20, 11
What I Like Today rbenv ruby-build pow Sunday, November 20,
11
rbenv Simple Ruby Version Management http://git.io/rbenv Sunday, November 20, 11
ruby-build Compile and Install Ruby http://git.io/rbbuild Sunday, November 20, 11
pow Zero-config Rack Server for Mac http://pow.cx Sunday, November 20,
11
Opinion Ruby 1.8.7 is dead Ruby 1.9.2 is good Ruby
1.9.3 is better Sunday, November 20, 11
Opinion Bundler rocks Sunday, November 20, 11
Opinion Don’t Use Windows Sunday, November 20, 11
Operating Systems Mac OS X 10.7 Lion Ubuntu 11.10 Oneiric
Ocelot Sunday, November 20, 11
Lion Sunday, November 20, 11
Lion 1.Install GCC 2.Install Homebrew 3.Install rbenv and ruby-build 4.Install
ruby 1.9.3 5.Install pow Sunday, November 20, 11
Lion: Install GCC Install GCC Without Xcode http://git.io/osxgcc Sunday, November
20, 11
What About Xcode Xcode 4.2 only includes LLVM GCC Ruby
core team doesn’t support LLVM GCC Sunday, November 20, 11
Lion 1.Install GCC 2.Install Homebrew 3.Install rbenv and ruby-build 4.Install
ruby 1.9.3 5.Install pow Sunday, November 20, 11
Lion: Install Homebrew Package Manager for OS X http://git.io/homebrew Sunday,
November 20, 11
Lion: Install Homebrew 1. Open Terminal 2. /usr/bin/ruby -e "$(curl
-fsSL https://raw.github.com/gist/323731)" 3. Enter your password 4. brew update Sunday, November 20, 11
Lion: Install Homebrew Sunday, November 20, 11
Lion 1.Install GCC 2.Install Homebrew 3.Install rbenv and ruby-build 4.Install
ruby 1.9.3 5.Install pow Sunday, November 20, 11
Lion: rbenv & ruby-build 1. brew update 2. brew install
rbenv 3. brew install ruby-build Sunday, November 20, 11
Lion 1.Install GCC 2.Install Homebrew 3.Install rbenv and ruby-build 4.Install
ruby 1.9.3 5.Install pow Sunday, November 20, 11
Lion: Installing Ruby 1. rbenv install 1.9.3-p0 2. rbenv global
1.9.3-p0 Sunday, November 20, 11
Lion 1.Install GCC 2.Install Homebrew 3.Install rbenv and ruby-build 4.Install
ruby 1.9.3 Sunday, November 20, 11
Lion: Pow 1. curl get.pow.cx | sh 2. cd yourapp
3. ln -s `pwd` ~/.pow Sunday, November 20, 11
Ubuntu Sunday, November 20, 11
Ubuntu 1.Install dependencies 2.Install rbenv 3.Install ruby-build 4.Install ruby Sunday,
November 20, 11
Ubuntu: Dependencies sudo apt-get install curl zlib1g-dev libssl-dev libreadline6-dev libncursesw5-dev
libxml2 libxml2-dev libxslt1-dev libsqlite3-dev nodejs git Sunday, November 20, 11
Ubuntu 1.Install dependencies 2.Install rbenv 3.Install ruby-build 4.Install ruby Sunday,
November 20, 11
Ubuntu: rbenv 1. git clone https://github.com/sstephenson/ rbenv.git .rbenv 2. echo
‘export PATH=”$HOME/.rbenv/bin:$PATH”’ >> ~/.bashrc 3. echo ‘eval “$(rbenv init -)”’ >> ~/.bashrc 4. exec $SHELL Sunday, November 20, 11
Ubuntu 1.Install dependencies 2.Install rbenv 3.Install ruby-build 4.Install ruby Sunday,
November 20, 11
Ubuntu: ruby-build 1. git clone https://github.com/sstephenson/ ruby-build.git 2. cd ruby-build
3. sudo ./install.sh Sunday, November 20, 11
Ubuntu 1.Install dependencies 2.Install rbenv 3.Install ruby-build 4.Install ruby Sunday,
November 20, 11
Ubuntu: Installing Ruby 1. rbenv install 1.9.3-p0 2. rbenv global
1.9.3-p0 Sunday, November 20, 11
Ubuntu 1.Install dependencies 2.Install rbenv 3.Install ruby-build 4.Install ruby Sunday,
November 20, 11
Living With It Sunday, November 20, 11
Living With rbenv After installing rubies or gems: rbenv rehash
Sunday, November 20, 11
Living With rbenv Per-project Ruby Version rbenv local ree-1.8.7 Sunday,
November 20, 11
Living With rbenv Per-Shell Ruby Version rbenv shell ree-1.8.7 Sunday,
November 20, 11
Living With rbenv List Installed Rubies rbenv versions Sunday, November
20, 11
Living With Bundler Install Dependencies bundle install Sunday, November 20,
11
Living With Bundler Update Dependencies bundle update Sunday, November 20,
11
Living With Bundler Alias “bundle exec” to “be” alias be=”bundle
exec” Sunday, November 20, 11
Living With Bundler Love and version control your Gemfile Only
version control Gemfile.lock if you’re deploying to Heroku Sunday, November 20, 11
Rack App Servers Zero-config, Mac-only pow curl get.pow.cx | sh
Sunday, November 20, 11
Rack App Servers Otherwise: unicorn Put it in your Gemfile,
bundle exec unicorn Sunday, November 20, 11
Rack App Servers If you love configuration passenger For Apache
or Nginx Sunday, November 20, 11
Databases It’s already set up sqlite3 Seriously, check the Gemfile
in a new Rails app Sunday, November 20, 11
Databases The Best postgres Heroku uses this Sunday, November 20,
11
Postgres Caveats Install with Homebrew on Mac, and you may
have to remove some files from /usr/bin At least: createdb, psql, pg_ctl Sunday, November 20, 11
Links These slides: http://db.tt/EDrpfQzu rbenv: http://git.io/rbenv ruby-build: http://git.io/ruby-build pow: http://pow.cx
bundler: http://gembundler.com Sunday, November 20, 11