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

Inploy binary doesn't work with custom templates #24

Open
rafmagana opened this issue Feb 10, 2011 · 2 comments
Open

Inploy binary doesn't work with custom templates #24

rafmagana opened this issue Feb 10, 2011 · 2 comments

Comments

@rafmagana
Copy link

I'm in a rails 3 project and I added a lib/inploy/template/my_template.rb file, if I run the rake tasks it works, but if I try to fire the "inploy update" command it says:

deploy.rb:36:in `configure_from'
...
no such file to load -- inploy/templates/my_template.rb (LoadError)

Is this a not yet implemented feature, a bug or I'm doing something wrong? where should I place my custom templates and servers?

@dcrec1
Copy link
Owner

dcrec1 commented Feb 11, 2011

Hi Rafael,

did you put your template file in

lib/inploy/template/my_template.rb or
lib/inploy/templates/my_template.rb ?

In the case you put it in the first path, I think this is the problem.

Please check this and tell me if things didn't go ok.

@rafmagana
Copy link
Author

No, in the comment I had a typo, the actual path is lib/inploy/templates/my_template.rb, so I have my template in the path you said is the right one, besides, the actual name of my template is a one-word name like abc.rb, the modules inside the template are:

module Inploy
    module Templates
        module Abc

any idea?

thanks!

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

2 participants