Permalink
Browse files

Move draft to index.html

  • Loading branch information...
jhbabon committed Nov 21, 2012
1 parent c7fdbfe commit a69405c48135c634a2aa07889a6f5229ea5a698f
Showing with 142 additions and 93 deletions.
  1. +0 −87 draft.md
  2. +142 −6 public/index.html
View
@@ -1,87 +0,0 @@
-# the interpreter
- * many interpreters
- * most important:
- * MRI (Matz's Ruby Interpreter): 1.8.7, 1.9.3, 2.0.0-preview1
- * standard interpreter.
- * REE: only 1.8.7 compatible. Discontinued.
- * JRuby: can execute java inside ruby. threading.
- * Rubinius: "provide a rich, high-performance environment for running Ruby code". threading. Byte code VM.
- * we use MRI 1.9.3
-
-# version manager
- * you can install many interpreters or different versions of an interpreter.
- * you can switch the interpreter.
- * you can test your app against various interpreters.
- * most importants:
- * RVM
- * rbenv
-
-## RVM
- * the first one.
- * a lot of people use it.
- * constant development.
- * you can:
- * install many versions of ruby.
- * switch and a manage them.
- * gemsets.
- * ruby per project.
- * more...
- * you have a GUI for Mac: http://unfiniti.com/software/mac/jewelrybox/
- * it's a beast: redefines some shell functions (like `cd`).
- * needs to install extra packages to install the ruby versions, instead of using the packages in the system.
-
-## rbenv
- * same principles as RVM: manage and control ruby versions.
- * does not install it, only manages.
- * configurable via plugins:
- * install: with ruby-build
- * gemsets
- * it is easier.
- * more UNIX.
- * faster
- * i have no errors since i started using it
-
-# gem
- * part of the ruby interpreter.
- * package system for ruby.
- * share and install all kind of libs.
- * "A gem is a packaged Ruby application or library. It has a name (e.g. rake) and a version (e.g. 0.4.16)"
- * if you use a manager, each versions install its own gems.
- * basic gems: bundler and rake.
- * config file.
-
-# irb
- * part of the ruby interpreter.
- * quick and easy way to execute ruby code.
- * useful for testing.
- * example
-
-# bundler
-## the basic.
- * it is a gem.
- * manage all the dependencies of your app.
- * resolves the "dependency hell".
- * two key files:
- * Gemfile: declare all the needed gems.
- * Gemfile.lock: bundle sets all the versions and dependencies.
- * install and update gems
- * add all the gems in the Gemfile available in the load path
-## tips and tricks
- * use groups.
- * use --path
- * use bin
- * example
-
-# rake
- * it is a gem.
- * the `make` of ruby.
- * de facto system to create small tasks.
- * has its own DSL.
- * example.
-
-# rails?
- * something about rails cli.
- * something about rails libs.
-
-# mini app with sinatra
- * hello world?
View
@@ -28,16 +28,152 @@
<!-- Begin slides -->
- <section id="init" class="slide">
- <h1>Slide</h1>
+ <section id="title" class="slide">
+ <h1>Ruby Development Stack</h1>
</section>
- <section id="boot" class="slide">
- <h1>Content</h1>
+ <section id="interpreters" class="slide">
+ <h2>Ruby interpreters</h2>
+ <ul>
+ <li>MRI (Matz's Ruby Interpreter): 1.8.7, 1.9.3, 2.0.0-preview1
+ <ul>
+ <li>standard interpreter.</li>
+ </ul></li>
+ <li>REE: only 1.8.7 compatible. Discontinued.</li>
+ <li>JRuby: can execute java inside ruby. threading.</li>
+ <li>Rubinius: "provide a rich, high-performance environment for running Ruby code". threading. Byte code VM.</li>
+ </ul>
</section>
- <section class="slide">
- <h1>Here</h1>
+ <section id="version-managers"class="slide">
+ <h2>Version manager</h2>
+ <ul>
+ <li>you can install many interpreters or different versions of an interpreter.</li>
+ <li>you can switch the interpreter.</li>
+ <li>you can test your app against various interpreters.</li>
+ <li>most importants:
+ <li>RVM</li>
+ <li>rbenv</li>
+ </ul>
+ </section>
+
+ <section id="rvm" class="slide">
+ <h2>RVM</h2>
+ <ul>
+ <li class="slide">the first one.</li>
+ <li class="slide">a lot of people use it.</li>
+ <li class="slide">constant development.</li>
+ <li class="slide">you can:
+ <ul>
+ <li class="slide">install many versions of ruby.</li>
+ <li class="slide">switch and a manage them.</li>
+ <li class="slide">gemsets.</li>
+ <li class="slide">ruby per project.</li>
+ <li class="slide">more...</li>
+ </ul>
+ </li>
+ <li class="slide">you have a GUI for Mac: http://unfiniti.com/software/mac/jewelrybox/</li>
+ <li class="slide">it's a beast: redefines some shell functions (like <code>cd</code>).</li>
+ <li class="slide">needs to install extra packages to install the ruby versions, instead of using the packages in the system.</li>
+ </ul>
+ </section>
+
+ <section class="slide" id="rbenv">
+ <h2>rbenv</h2>
+
+ <ul>
+ <li>same principles as RVM: manage and control ruby versions.</li>
+ <li>does not install it, only manages.</li>
+ <li>configurable via plugins:
+ <ul>
+ <li>install: with ruby-build</li>
+ <li>gemsets</li>
+ </ul></li>
+ <li>it is easier.</li>
+ <li>more UNIX.</li>
+ <li>faster</li>
+ <li>i have no errors since i started using it</li>
+ </ul>
+ </section>
+
+ <section class="slide" id="gem">
+ <h2>gem</h2>
+
+ <ul>
+ <li>part of the ruby interpreter.</li>
+ <li>package system for ruby.</li>
+ <li>share and install all kind of libs.</li>
+ <li>"A gem is a packaged Ruby application or library. It has a name (e.g. rake) and a version (e.g. 0.4.16)"</li>
+ <li>if you use a manager, each versions install its own gems.</li>
+ <li>basic gems: bundler and rake.</li>
+ <li>config file.</li>
+ </ul>
+ </section>
+
+ <section class="slide" id="irb">
+ <h2>irb</h2>
+
+ <ul>
+ <li>part of the ruby interpreter.</li>
+ <li>quick and easy way to execute ruby code.</li>
+ <li>useful for testing.</li>
+ <li>example</li>
+ </ul>
+ </section>
+
+ <section class="slide" id="bundler-1">
+ <h2>Bundler: the basics</h2>
+
+ <ul>
+ <li>it is a gem.</li>
+ <li>manage all the dependencies of your app.</li>
+ <li>resolves the "dependency hell".</li>
+ <li>two key files:
+ <ul>
+ <li>Gemfile: declare all the needed gems.</li>
+ <li>Gemfile.lock: bundle sets all the versions and dependencies.</li>
+ </ul></li>
+ <li>install and update gems</li>
+ <li><p>add all the gems in the Gemfile available in the load path</p></li>
+ </ul>
+ </section>
+
+ <section class="slide" id="bundler-2">
+ <h2>Bundler: tips</h2>
+ <ul>
+ <li><p>use groups.</p></li>
+ <li>use --path</li>
+ <li>use bin</li>
+ <li>example</li>
+ </ul>
+ </section>
+
+ <section class="slide" id="rake">
+ <h2>rake</h2>
+
+ <ul>
+ <li>it is a gem.</li>
+ <li>the <code>make</code> of ruby.</li>
+ <li>de facto system to create small tasks.</li>
+ <li>has its own DSL.</li>
+ <li>example.</li>
+ </ul>
+ </section>
+
+ <section class="slide" id="rails">
+ <h2>rails?</h2>
+
+ <ul>
+ <li>something about rails cli.</li>
+ <li>something about rails libs.</li>
+ </ul>
+ </section>
+
+ <section class="slide" id="app">
+ <h2>mini app with sinatra</h2>
+ <ul>
+ <li>hello world?</li>
+ </ul>
</section>
<!-- End slides. -->

0 comments on commit a69405c

Please sign in to comment.