Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot execute script #3

Open
optixx opened this issue Nov 27, 2011 · 4 comments
Open

Cannot execute script #3

optixx opened this issue Nov 27, 2011 · 4 comments

Comments

@optixx
Copy link

optixx commented Nov 27, 2011

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
@achiurizo
Copy link
Owner

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

@optixx
Copy link
Author

optixx commented Jan 5, 2012

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

@adrian-chang
Copy link

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

@jasontclark
Copy link

Yes, this seems to fix the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants