consular-iterm icon indicating copy to clipboard operation
consular-iterm copied to clipboard

Cannot execute script

Open optixx opened this issue 13 years ago • 4 comments

When i create an script i cannot execute it afterwards:


[david@box] ~ % consular edit test                                                                                                                                                                               create  .config/consular/test.term
[david@box] ~ % consular start  test                                                                                                                                                                       
/Library/Ruby/Gems/1.8/gems/consular-1.0.2/lib/consular/dsl.rb:34:in `read': No such file or directory - ~/.config/consular/test.term (Errno::ENOENT)
    from /Library/Ruby/Gems/1.8/gems/consular-1.0.2/lib/consular/dsl.rb:34:in `initialize'
    from /Library/Ruby/Gems/1.8/gems/consular-1.0.2/lib/consular/core.rb:20:in `new'
    from /Library/Ruby/Gems/1.8/gems/consular-1.0.2/lib/consular/core.rb:20:in `initialize'
    from /Library/Ruby/Gems/1.8/gems/consular-iterm-1.0.1/lib/consular/iterm.rb:40:in `initialize'
    from /Library/Ruby/Gems/1.8/gems/consular-1.0.2/lib/consular/cli.rb:35:in `new'
    from /Library/Ruby/Gems/1.8/gems/consular-1.0.2/lib/consular/cli.rb:35:in `start'
    from /Library/Ruby/Gems/1.8/gems/consular-1.0.2/lib/consular/cli.rb:255:in `call'
    from /Library/Ruby/Gems/1.8/gems/consular-1.0.2/lib/consular/cli.rb:255:in `message_unless_file'
    from /Library/Ruby/Gems/1.8/gems/consular-1.0.2/lib/consular/cli.rb:35:in `start'
    from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in `send'
    from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
    from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
    from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
    from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
    from /Library/Ruby/Gems/1.8/gems/consular-1.0.2/bin/consular:13
    from /usr/bin/consular:19:in `load'
    from /usr/bin/consular:19

optixx avatar Nov 27 '11 12:11 optixx

Is this still an issue? Did you check to see you saved the file? Seems that the file doesn't exist from the output.

achiurizo avatar Jan 04 '12 20:01 achiurizo

Can't say. Had fresh a install to 10.7 where consular worked out of the box.

optixx avatar Jan 05 '12 09:01 optixx

This issue is when you override the config.global_path, using a relative will cause this issue.

adrian-chang avatar Jan 27 '12 23:01 adrian-chang

Yes, this seems to fix the issue.

jasontclark avatar Nov 14 '13 20:11 jasontclark