nofxx / subtitle_it

Download, edit and create subtitles. Supports various formats.
MIT License
35 stars 9 forks source link

don't run #5

Closed wilkerlucio closed 12 years ago

wilkerlucio commented 13 years ago

Hi,

When I try to run subtitle_it Im getting this error:

/Users/wilkerlucio/.rvm/gems/ruby-1.9.2-p180/bin/subtitle_it:19:in `load': /Users/wilkerlucio/.rvm/gems/ruby-1.9.2-p180/gems/nofxx-subtitle_it-0.7.7/bin/subtitle_it:37: formal argument cannot be a constant (SyntaxError)
...he supported ones.") { |OPTIONS[:lang]| }
...                               ^
/Users/wilkerlucio/.rvm/gems/ruby-1.9.2-p180/gems/nofxx-subtitle_it-0.7.7/bin/subtitle_it:37: syntax error, unexpected '[', expecting '|'
...e supported ones.") { |OPTIONS[:lang]| }
...                               ^
/Users/wilkerlucio/.rvm/gems/ruby-1.9.2-p180/gems/nofxx-subtitle_it-0.7.7/bin/subtitle_it:40: formal argument cannot be a constant
          "Format to convert to") { |OPTIONS[:format]| }
                                            ^
/Users/wilkerlucio/.rvm/gems/ruby-1.9.2-p180/gems/nofxx-subtitle_it-0.7.7/bin/subtitle_it:40: syntax error, unexpected '[', expecting '|'
          "Format to convert to") { |OPTIONS[:format]| }
                                             ^
/Users/wilkerlucio/.rvm/gems/ruby-1.9.2-p180/gems/nofxx-subtitle_it-0.7.7/bin/subtitle_it:43: formal argument cannot be a constant
          "Delay to add/remove") { |OPTIONS[:delay]| }
                                           ^
/Users/wilkerlucio/.rvm/gems/ruby-1.9.2-p180/gems/nofxx-subtitle_it-0.7.7/bin/subtitle_it:43: syntax error, unexpected '[', expecting '|'
          "Delay to add/remove") { |OPTIONS[:delay]| }
                                            ^
  from /Users/wilkerlucio/.rvm/gems/ruby-1.9.2-p180/bin/subtitle_it:19:in `<main>'

Any missing configuration (but it seems really weird to use [] into a block parameter...)?

nofxx commented 12 years ago

Fixed in v1.9.0.