Friday, March 20, 2009

Chapter 44: Sinatra Course #1

  1. Read Sinatra Interview. http://rubylearning.com/blog/2009/03/20/interview-ryan-tomayko-on-sinatra/
  2. Subscribed to Sinatra Forums and printed out forums emails I missed.
  3. Downloaded Sinatra ebook and printed it out.
  4. Started reading ebook. Installed Sinatra: [~] $ gem install sinatra (p.16)
    Successfully installed rack-0.9.1
    Successfully installed sinatra-0.9.1.1
    2 gems installed
    Installing ri documentation for rack-0.9.1...
    Installing ri documentation for sinatra-0.9.1.1...
    Installing RDoc documentation for rack-0.9.1...
    Installing RDoc documentation for sinatra-0.9.1.1...
  5. Then installed builder and haml gems. [~] $ gem install builder haml (p.16)
    Successfully installed builder-2.1.2
    Successfully installed haml-2.0.9
    2 gems installed
    Installing ri documentation for builder-2.1.2...
    ERROR: While generating documentation for builder-2.1.2
    ... MESSAGE: Unhandled special: Special: type=17, text=""
    ... RDOC args: --ri --op C:/cygdrive/c/deepdive/InstantRails-2.0-win/ruby/doc/build
    er-2.1.2/ri --title Builder -- Easy XML Building --main README --line-numbers --qui
    et lib CHANGES Rakefile README doc/releases/builder-1.2.4.rdoc doc/releases/builder
    -2.0.0.rdoc doc/releases/builder-2.1.1.rdoc
    (continuing with the rest of the installation)
    Installing ri documentation for haml-2.0.9...
    ERROR: While generating documentation for haml-2.0.9
    ... MESSAGE: Unhandled special: Special: type=17, text=""
    ... RDOC args: --ri --op C:/cygdrive/c/deepdive/InstantRails-2.0-win/ruby/doc/haml-
    2.0.9/ri --title Haml --main README.rdoc --exclude lib/haml/buffer.rb --line-number
    s --inline-source --quiet lib FAQ MIT-LICENSE VERSION README.rdoc REVISION
    (continuing with the rest of the installation)
    Installing RDoc documentation for builder-2.1.2...
    Installing RDoc documentation for haml-2.0.9...
  6. Installed mongrel. [~] $ gem install mongrel (p.16)
    Successfully installed mongrel-1.1.5-x86-mswin32-60
    1 gem installed
    Installing ri documentation for mongrel-1.1.5-x86-mswin32-60...
    Installing RDoc documentation for mongrel-1.1.5-x86-mswin32-60...
  7. Ran: gem specification mongrel (p.17) and got 155 wc-lines of output. See: http://www.pastie.org/422175
  8. Downloaded sqlite3.def, sqlite3.dll, and sqlite3.exe and put them in Ruby's bin directory. (p.17)
  9. Then I install sqlite3-ruby gem: gem install sqlite3-ruby -v=1.2.3 (p.18)
  10. Successfully installed sqlite3-ruby-1.2.3-x86-mswin32
    1 gem installed
    Installing ri documentation for sqlite3-ruby-1.2.3-x86-mswin32...
    Installing RDoc documentation for sqlite3-ruby-1.2.3-x86-mswin32...
  11. Finally installed activerecord. $ gem install activerecord (p. 18)
    Successfully installed activesupport-2.3.2
    Successfully installed activerecord-2.3.2
    2 gems installed
    Installing ri documentation for activesupport-2.3.2...
    Installing ri documentation for activerecord-2.3.2...
    Installing RDoc documentation for activesupport-2.3.2...
    Installing RDoc documentation for activerecord-2.3.2...
  12. Finished with "Unit 1" of Sinatra Course.

No comments:

Post a Comment