Rubinius is an implementation of the Ruby programming language, in Ruby!
Rubinius includes in it's core:
- A bytecode virtual machine
- A parser
- A bytecode compiler
source :rubygems | |
group :development do | |
gem "heroku", "1.19.1" | |
gem "rake", "0.8.7" | |
gem "mongrel", "1.2.0.pre2" | |
gem "jquery-rails", "0.2.7" | |
gem "looksee", "1.0.2" | |
gem "wirble", "0.1.3" |
└─▪ mysql.server start | |
Starting MySQL | |
.................................................................................................... ERROR! The server quit without updating PID file (/usr/local/var/mysql/Kurtis-Rainbolt-Greenes-Mac-mini.local.pid). |
Mongoid now supports multiple additional database connections on a per-model basis. Note that the "databases" entry in the configuration is only for ADDITIONAL databases - the primary master still is configured as usual:
defaults: &defaults
host: localhost
slaves:
- host: localhost
port: 27018
- host: localhost
port: 27019
databases:
Dapper Dan aims to be a very simple block DSL in Ruby for writing HTML documents. Instead of using alien syntaxes or dealing with embedded HTML, Dapper Dan lets you do what you know: Ruby. HTML tags are Ruby methods, tag elements are passed Ruby Hashes, and children are in blocks. Dapper Dan also provides some useful substitutions for the regular tag names, and fun little features.
Examples
You say, "Test Test" | |
Programmer Error. Please tell Nuku what you typed, and the following message. | |
pose-broadcaster(#69), line 42; EXEC->broadcast-loop: System Stack Overflow | |
System stack backtrace: | |
256) pose-broadcaster(#69) line 43, in function broadcast-loop(): | |
42: next broadcast-loop | |
[repeats 249 times] | |
7) pose-broadcaster(#69) line 47, in function gen-broadcaster(): | |
46: loc @ exits broadcast-loop | |
6) cmd-say(#92) line 37, in function broadcast(): |
$ ruby -e 'p Time.now' && bundler && ruby -e 'p Time.now' | |
2011-06-04 16:54:46 -0700 | |
Fetching source index for http://rubygems.org/ | |
^C | |
Quitting... | |
2011-06-05 04:56:18 -0700 |
Pre with lang="langauge-name": | |
``` ruby | |
puts "Hello!" | |
``` | |
Code with class="language-name": | |
~~~ { ruby } | |
puts "Hello!" |
#!/usr/bin/env ruby | |
compile '/style/extra/*' do | |
# Nothing | |
end | |
compile '/style/*' do | |
filter :sass, { :style => :compressed } | |
end |
┌─[±][master ✓][rubinius] | |
└─▪ rake | |
(in /Users/krainboltgreene/repo/ruby/rubinius) | |
/Users/krainboltgreene/.rvm/rubies/ruby-1.9.2-p180/bin/ruby vm/codegen/field_extract.rb vm/builtin/object.hpp vm/builtin/integer.hpp vm/builtin/fixnum.hpp vm/builtin/array.hpp vm/builtin/bignum.hpp vm/builtin/executable.hpp vm/builtin/access_variable.hpp vm/builtin/alias.hpp vm/builtin/block_environment.hpp vm/builtin/block_as_method.hpp vm/builtin/bytearray.hpp vm/builtin/io.hpp vm/builtin/channel.hpp vm/builtin/module.hpp vm/builtin/class.hpp vm/builtin/compiledmethod.hpp vm/builtin/data.hpp vm/builtin/dir.hpp vm/builtin/exception.hpp vm/builtin/float.hpp vm/builtin/immediates.hpp vm/builtin/iseq.hpp vm/builtin/list.hpp vm/builtin/lookuptable.hpp vm/builtin/ffi_pointer.hpp vm/builtin/methodtable.hpp vm/builtin/nativefunction.hpp vm/builtin/packed_object.hpp vm/builtin/randomizer.hpp vm/builtin/regexp.hpp vm/builtin/staticscope.hpp vm/builtin/string.hpp vm/builtin/symbol.hpp vm/builtin/thread.hpp vm/builtin/tuple.hpp vm/builtin |