====== Ruby ====== ===== Docs ===== gem server ===== RoR on Linux ===== Packets: zlib-devel openssl openssl-devel readlines readlines-devel ./configure --prefix=/usr/local --enable-pthread --enable-shared # --with-readline-dir=/usr/local make make install ./configure --enable-shared --enable-pthread --prefix=/opt/ruby1.9 ... for binary in erb gem irb rake rdoc ri ruby; do ln -sf /opt/ruby1.9/bin/${binary} /usr/bin/${binary}19; done === SSL === Ruby source files (ruby-x.x.x/ext/openssl) ruby extconf.rb make make install ==== Snippets ==== begin rescue => e puts e.backtrace end ===== Exception Hierarchy ===== * Exception * fatal (used internally by Ruby) * NoMemoryError * ScriptError * LoadError * NotImplementedError * SyntaxError * SignalException * Interrupt * StandardError * ArgumentError * IOError * EOFError * IndexError * LocalJumpError * NameError * NoMethodError * RangeError * FloatDomainError * RegexpError * RuntimeError * SecurityError * SystemCallError * system-dependent exceptions (Errno::xxx) * ThreadError * TypeError * ZeroDivisionError * SystemExit * SystemStackError ===== Code ===== http://github.com/nofxx/xxpub ====== source(s) ====== [[http://www.flexiblerails.com/]] [[http://www.refreshinglyblue.com/2007/6/13/ruby-on-rails-ssl-ispconfig-apache-mongrel]] [[http://www.refreshinglyblue.com/2007/7/20/setting-up-subversion-and-apache-for-ruby-on-rails-development]] [[http://www.akitaonrails.com/]] [[http://ruby-br.org/]] [[http://kb.reflectivesurface.com/br/tutoriais/railsDiversaoLucro/]] [[http://www.railshostinginfo.com/blog/2007/07/13/how-to-get-ruby-openssl-to-work-on-centos/]]