zendesk/curly

Generator fails to run in Rails 5.0.1

exegeteio opened this issue · 2 comments

I'm trying to get Curly running in a brand new project as a proof of concept for a larger project, and I cannot get the generators to run. Specifically, it's failing on a generate scaffold (edited for brevity):

$ rails g scaffold post title body published:boolean
Running via Spring preloader in process 2278
  invoke  active_record
  invoke  resource_route
    error    curly [not found]
  invoke    jbuilder
  create      app/views/posts/index.json.jbuilder
  create      app/views/posts/show.json.jbuilder
  create      app/views/posts/_post.json.jbuilder

No other mention of curly is output. In the end, there are no .html.curly files created in the app/views folder. Any suggestions for how to get this working?

I'm running Rails 5.0.1, curly-templates 2.6.2, and Ruby 2.4.0p0 (latest from Homebrew). Only thing I could find remotely related was a problem with spring, so I tried killing that off, and even running in a Docker container.

Thanks in advance for any help.

After reviewing deeper, this isn't actually an offered feature. Closing issue.

dasch commented

@exegete46 if you would be willing to contribute a PR with the generator code I'd be happy to merge it :-)