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

Fails to work on app/foo where foo is not "views" #31

Open
p opened this issue May 16, 2013 · 0 comments
Open

Fails to work on app/foo where foo is not "views" #31

p opened this issue May 16, 2013 · 0 comments
Labels

Comments

@p
Copy link
Contributor

p commented May 16, 2013

I have an application using https://github.com/kevgo/sections_rails. Trying to run i15r app/sections produces:

/home/rvm/.rvm/gems/ruby-2.0.0-p0/gems/i15r-0.5.1/lib/i15r.rb:43:in `file_path_to_message_prefix': No app. subfolders were found to determine prefix. Path is /home/rvm/apps/foo/app/sections/foo/edit/_edit.html.haml (I15R::AppFolderNotFound)
    from /home/rvm/.rvm/gems/ruby-2.0.0-p0/gems/i15r-0.5.1/lib/i15r.rb:60:in `internationalize_file'
    from /home/rvm/.rvm/gems/ruby-2.0.0-p0/gems/i15r-0.5.1/lib/i15r.rb:80:in `block in internationalize!'
    from /home/rvm/.rvm/gems/ruby-2.0.0-p0/gems/i15r-0.5.1/lib/i15r.rb:80:in `each'
    from /home/rvm/.rvm/gems/ruby-2.0.0-p0/gems/i15r-0.5.1/lib/i15r.rb:80:in `internationalize!'
    from /home/rvm/.rvm/gems/ruby-2.0.0-p0/gems/i15r-0.5.1/bin/i15r:46:in `'
    from /home/rvm/.rvm/gems/ruby-2.0.0-p0/bin/i15r:23:in `load'
    from /home/rvm/.rvm/gems/ruby-2.0.0-p0/bin/i15r:23:in `'
    from /home/rvm/.rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:in `eval'
    from /home/rvm/.rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:in `'

There should be either a way for me to specify what the app root is, or i15r should determine that by itself, perhaps by traversing the tree up until it finds an "app" directory.

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

No branches or pull requests

1 participant