Skip to content

Instantly share code, notes, and snippets.

@ku1ik
Created June 5, 2012 21:24
Show Gist options
  • Save ku1ik/2878102 to your computer and use it in GitHub Desktop.
Save ku1ik/2878102 to your computer and use it in GitHub Desktop.
code/ascii.io (puma*) % ./script/rails c
A syntax error has occurred:
duplicate block argument name
near line /home/kill/.rvm/gems/rbx-head/gems/draper-0.11.1/lib/draper/base.rb:216, column 64
Code:
self.class.send :define_method, method do |*args, &block|
^
Backtrace:
Rubinius::Melbourne(Rubinius::Melbourne19)#syntax_error at /home/kill/.rvm/rubies
/rbx-head/runtime/19
/melbourne.rbc:68
Rubinius::Melbourne(Rubinius::Melbourne19)#parse_file at /home/kill/.rvm/rubies/rbx-head
/runtime/19/melbourne.rbc:84
Rubinius::Compiler::FileParser#parse at /home/kill/.rvm/rubies/rbx-head/runtime/19
/compiler/stages.rbc:235
Rubinius::Compiler::Parser(Rubinius::Compiler::FileParser)#run at /home/kill/.rvm/rubies
/rbx-head/runtime/19
/compiler
/stages.rbc:217
Rubinius::Compiler#run at /home/kill/.rvm/rubies/rbx-head/runtime/19
/compiler/compiler.rbc:374
Rubinius::Compiler.compile at /home/kill/.rvm/rubies/rbx-head/runtime/19
/compiler/compiler.rbc:88
Rubinius::CodeLoader#compile_file at kernel/delta/codeloader.rb:166
Rubinius::CodeLoader#load_file at kernel/delta/codeloader.rb:147
Rubinius::CodeLoader#require at kernel/common/codeloader.rb:124
Rubinius::CodeLoader.require at kernel/common/codeloader.rb:201
Kernel(Object)#require at kernel/common/kernel.rb:631
Object#__script__ at /home/kill/.rvm/gems/rbx-head/gems
/draper-0.11.1/lib/draper.rb:3
Rubinius::CodeLoader.require at kernel/common/codeloader.rb:207
Kernel.require at kernel/common/kernel.rb:631
{ } in Bundler::Runtime#require at /home/kill/.rvm/gems/rbx-head@global/gems
/bundler-1.1.4/lib/bundler/runtime.rb:68
Array#each at kernel/bootstrap/array.rb:68
{ } in Bundler::Runtime#require at /home/kill/.rvm/gems/rbx-head@global/gems
/bundler-1.1.4/lib/bundler/runtime.rb:66
Array#each at kernel/bootstrap/array.rb:68
Bundler::Runtime#require at /home/kill/.rvm/gems/rbx-head@global/gems
/bundler-1.1.4/lib/bundler/runtime.rb:55
Bundler.require at /home/kill/.rvm/gems/rbx-head@global/gems
/bundler-1.1.4/lib/bundler.rb:119
Object#__script__ at config/application.rb:13
Rubinius::CodeLoader.require at kernel/common/codeloader.rb:207
Kernel(Object)#require at kernel/common/kernel.rb:631
Object#__script__ at /home/kill/.rvm/gems/rbx-head/gems
/railties-3.2.1/lib/rails/commands.rb:39
Rubinius::CodeLoader.require at kernel/common/codeloader.rb:207
Kernel(Object)#require at kernel/common/kernel.rb:631
Object#__script__ at script/rails:6
Rubinius::CodeLoader#load_script at kernel/delta/codeloader.rb:67
Rubinius::CodeLoader.load_script at kernel/delta/codeloader.rb:109
Rubinius::Loader#script at kernel/loader.rb:640
Rubinius::Loader#main at kernel/loader.rb:844
code/ascii.io (puma*) %
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment