Skip to content

Instantly share code, notes, and snippets.

View NilsHaldenwang's full-sized avatar

Nils Haldenwang NilsHaldenwang

View GitHub Profile
rvm --trace package install readline
--trace package install readline
rvm 0.1.23 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]
+ [[ -z '' ]]
+ [[ ! -z '' ]]
+ [[ ! -z '' ]]
+ [[ ! -z '' ]]
+ [[ 3 -gt 0 ]]
ActionView::MissingTemplate in Dashboard#index
Showing app/views/dashboard/index.html.erb where line #2 raised:
Missing template apotomo/stateful_widget/display.erb in view path app/cells:app/cells/layouts:vendor/plugins/apotomo/app/cells
Extracted source (around line #2):
1: <h1>Dashboard#index</h1>
2: <%= render_widget 'dashboard_list' %>
rvm use 1.8.7
info: Using ruby 1.8.7 p302
rake
/usr/bin/rake:27:in `require': no such file to load -- rake (LoadError)
from /usr/bin/rake:27
# what i have
self method: "each" . docstring=: "See ruby Array#each";
self method: "==" . docstring=: "See ruby Array#==";
self method: "clear" . docstring=: "See ruby Array#clear";
# what i want
self method: "each" . docstring=: "See ruby Array#each";
self method: "==" . docstring=: "See ruby Array#==";
self method: "clear" . docstring=: "See ruby Array#clear";
grammar ERDL
rule rel_def_block
space 'Relationships' space '{' rel_def_seq '}' space <RelationShipBlockNode>
end
rule rel_def_seq
(relationship_definition)+ <RelationShipDefinitionSequenceNode>
end
rule relationship_definition
NUMBER=4
SPACE=5
T__7=7
T__6=6
'-'=7
'+'=6
nils:~/ERDL[master*]> irb
ruby-1.8.7-p302 > defined? bar
=> nil
ruby-1.8.7-p302 > bar = "a"
=> "a"
ruby-1.8.7-p302 > defined? bar
=> "local-variable"
ruby-1.8.7-p302 >
entityDef returns [ entity ]
: 'entity' entityName '{' {
entity = Entity.new($entityName.text,
$entityName.start.line)
}
(attrib = attribDef { entity << attrib } )+
'}'
;
An exception occurred at_exit handler
Error trying to compile /home/nils/.rvm/gems/rbx-head/gems/antlr3-1.8.2/lib/antlr3/tree.rb (Rubinius::CompileError)
Backtrace:
Rubinius::Compiler.compiler_error at /home/nils/.rvm/rubies/rbx-head/lib/compiler/compiler.rbc:11
Rubinius::Compiler.compile at /home/nils/.rvm/rubies/rbx-head/lib/compiler/compiler.rbc:48
Rubinius::CodeLoader#compile_file at kernel/delta/codeloader.rb:141
Rubinius::CodeLoader#load_file at kernel/delta/codeloader.rb:128
Rubinius::CodeLoader#require at kernel/common/codeloader.rb:39
Rubinius::CodeLoader.require at kernel/common/codeloader.rb:140
# Hi, I am a comment
a = r{regexp}
b = "string"
c = 'symbol:bol[]
d = 1_000
e = 10.05798712938