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
69
It's Not Ruby, But…
bryce
0
49
Ruby 2.5: What's New and What's Cool
bryce
0
63
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
バイブスあるコーディングで ~PHP~ 便利ツールをつくるプラクティス
uzulla
1
330
『リコリス・リコイル』に学ぶ!! 〜キャリア戦略における計画的偶発性理論と変わる勇気の重要性〜
wanko_it
1
490
新しいモバイルアプリ勉強会(仮)について
uetyo
1
250
QA x AIエコシステム段階構築作戦
osu
0
270
Dart 参戦!!静的型付き言語界の隠れた実力者
kno3a87
0
190
Comparing decimals in Swift Testing
417_72ki
0
170
コーディングは技術者(エンジニア)の嗜みでして / Learning the System Development Mindset from Rock Lady
mackey0225
2
420
0から始めるモジュラーモノリス-クリーンなモノリスを目指して
sushi0120
0
280
AIコーディングエージェント全社導入とセキュリティ対策
hikaruegashira
16
9.7k
Understanding Ruby Grammar Through Conflicts
yui_knk
1
100
20250808_AIAgent勉強会_ClaudeCodeデータ分析の実運用〜競馬を題材に回収率100%の先を目指すメソッドとは〜
kkakeru
0
150
バイブコーディング × 設計思考
nogu66
0
110
Featured
See All Featured
Become a Pro
speakerdeck
PRO
29
5.5k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
1k
The Invisible Side of Design
smashingmag
301
51k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Agile that works and the tools we love
rasmusluckow
329
21k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
50
5.5k
RailsConf 2023
tenderlove
30
1.2k
Navigating Team Friction
lara
188
15k
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