GutenYe/optimism — Issue #10: won't load on 1.8.7?
Author: jrochkind
Created: 2011-10-20 18:23:22+00:00
State: open

Successfully installed optimism-3.0.2

ruby-1.8.7-p352 :003 > require 'optimism'
SyntaxError: /home/rochkind/.rvm/gems/ruby-1.8.7-p352@umlaut2/gems/optimism-3.0.2/lib/optimism/parser.rb:184: undefined (?...) sequence: /
(?
(\A|\n)[^\n]+<<-OPTIMISM_EOF[0-9]+
(
(?!<<-OPTIMISM_EOF|OPTIMISM_EOF).
|
\g
)*
OPTIMISM_EOF[0-9]+
)/
from /home/rochkind/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /home/rochkind/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /home/rochkind/.rvm/gems/ruby-1.8.7-p352@umlaut2/gems/optimism-3.0.2/lib/optimism.rb:11
from /home/rochkind/.rvm/gems/ruby-1.8.7-p352@umlaut2/gems/optimism-3.0.2/lib/optimism.rb:8:in `each'
from /home/rochkind/.rvm/gems/ruby-1.8.7-p352@umlaut2/gems/optimism-3.0.2/lib/optimism.rb:8
from /home/rochkind/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:58:in `gem_original_require'
from /home/rochkind/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:58:in `require'
from (irb):3

What version of ruby do you actually write for? I like your design of Optimism, but it seems to frequently stop working!