{"action":"created","issue":{"url":"https://api.github.com/repos/ciconia/lydown/issues/58","labels_url":"https://api.github.com/repos/ciconia/lydown/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/ciconia/lydown/issues/58/comments","events_url":"https://api.github.com/repos/ciconia/lydown/issues/58/events","html_url":"https://github.com/ciconia/lydown/issues/58","id":119013024,"number":58,"title":"Looks like a confusion in getting arguments","user":{"login":"AlesTsurko","id":8686568,"avatar_url":"https://avatars.githubusercontent.com/u/8686568?v=3","gravatar_id":"","url":"https://api.github.com/users/AlesTsurko","html_url":"https://github.com/AlesTsurko","followers_url":"https://api.github.com/users/AlesTsurko/followers","following_url":"https://api.github.com/users/AlesTsurko/following{/other_user}","gists_url":"https://api.github.com/users/AlesTsurko/gists{/gist_id}","starred_url":"https://api.github.com/users/AlesTsurko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlesTsurko/subscriptions","organizations_url":"https://api.github.com/users/AlesTsurko/orgs","repos_url":"https://api.github.com/users/AlesTsurko/repos","events_url":"https://api.github.com/users/AlesTsurko/events{/privacy}","received_events_url":"https://api.github.com/users/AlesTsurko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-11-26T10:18:41Z","updated_at":"2015-11-28T15:31:56Z","closed_at":null,"body":"Hi! I'm trying to check out installation and when I evaluate ```lydown --version```, I'm getting this error:\r\n\r\n```\r\n{\"format\"=>:pdf, \"path\"=>\"--version\", \"source_filename\"=>\"--version\", \"output_filename\"=>\"--version\"}\r\nProcessing score...\r\n/Library/Ruby/Gems/2.0.0/gems/lydown-0.10.0/lib/lydown/work.rb:56:in `process_work_files': Could not read --version (LydownError)\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/lydown-0.10.0/lib/lydown/work.rb:20:in `initialize'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/lydown-0.10.0/lib/lydown/cli/compiler.rb:174:in `new'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/lydown-0.10.0/lib/lydown/cli/compiler.rb:174:in `create_work_from_opts'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/lydown-0.10.0/lib/lydown/cli/compiler.rb:24:in `process'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/lydown-0.10.0/lib/lydown/cli/commands.rb:64:in `compile'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/lydown-0.10.0/bin/lydown:5:in `<top (required)>'\r\n\tfrom /usr/local/bin/lydown:23:in `load'\r\n\tfrom /usr/local/bin/lydown:23:in `<main>'\r\n```\r\n\r\nSomething similar I get, when I'm trying to compile a lydown file:\r\n\r\n```\r\nAles:Desktop alestsurko$ lydown -O --pdf HelloWorld.lydown\r\n{\"format\"=>:pdf, \"open_target\"=>true, \"path\"=>\"--pdf\", \"source_filename\"=>\"--pdf\", \"output_filename\"=>\"--pdf\"}\r\nProcessing score...\r\n/Library/Ruby/Gems/2.0.0/gems/lydown-0.10.0/lib/lydown/work.rb:56:in `process_work_files': Could not read --pdf (LydownError)\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/lydown-0.10.0/lib/lydown/work.rb:20:in `initialize'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/lydown-0.10.0/lib/lydown/cli/compiler.rb:174:in `new'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/lydown-0.10.0/lib/lydown/cli/compiler.rb:174:in `create_work_from_opts'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/lydown-0.10.0/lib/lydown/cli/compiler.rb:24:in `process'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/lydown-0.10.0/lib/lydown/cli/commands.rb:64:in `compile'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/lydown-0.10.0/bin/lydown:5:in `<top (required)>'\r\n\tfrom /usr/local/bin/lydown:23:in `load'\r\n\tfrom /usr/local/bin/lydown:23:in `<main>'\r\n```"},"comment":{"url":"https://api.github.com/repos/ciconia/lydown/issues/comments/160311143","html_url":"https://github.com/ciconia/lydown/issues/58#issuecomment-160311143","issue_url":"https://api.github.com/repos/ciconia/lydown/issues/58","id":160311143,"user":{"login":"ciconia","id":291,"avatar_url":"https://avatars.githubusercontent.com/u/291?v=3","gravatar_id":"","url":"https://api.github.com/users/ciconia","html_url":"https://github.com/ciconia","followers_url":"https://api.github.com/users/ciconia/followers","following_url":"https://api.github.com/users/ciconia/following{/other_user}","gists_url":"https://api.github.com/users/ciconia/gists{/gist_id}","starred_url":"https://api.github.com/users/ciconia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ciconia/subscriptions","organizations_url":"https://api.github.com/users/ciconia/orgs","repos_url":"https://api.github.com/users/ciconia/repos","events_url":"https://api.github.com/users/ciconia/events{/privacy}","received_events_url":"https://api.github.com/users/ciconia/received_events","type":"User","site_admin":false},"created_at":"2015-11-28T15:31:56Z","updated_at":"2015-11-28T15:31:56Z","body":"I figured out what the problem is. You have a version of Ruby prior to 2.1.0. I pushed version 0.12.3 which I tested on Ruby 2.0.0, so you should be good. I wouldn't recommend running lydown with an older version of Ruby.\r\n\r\nSo you should be good to go now, but please be aware that you should update your <code>helloworld</code> file. The example in the README was outdated (the lydown syntax has since changed slightly with regard to relative octaves and accidentals). Here's the updated example:\r\n\r\n```lydown\r\n\\key:D \\time:2/4\r\n4d''\\\"Hello world!\" 6cbag 3fgag6fd 4e\r\n```\r\n\r\nLet me know if this solves the problem for you."}}