codykrieger / ace-rails-ap

The Ajax.org Cloud9 Editor (Ace) for the Rails 3.1+ asset pipeline.
MIT License
134 stars 63 forks source link

Slow asset pre-compilation on rails 3.2 #24

Open cesarizu opened 7 years ago

cesarizu commented 7 years ago

Hello, I'm using this gem and it takes several minutes to pre-compile the ace-rails-ap assets. I specially see:

Compiled set_ace_paths.js  (466916ms)  (pid 9424)
Compiled ace-rails-ap.js  (466953ms)  (pid 9424)

Is this expected? Where can I start debugging this issue?

codykrieger commented 7 years ago

@cesarizu Sorry, not sure—I don't use this in production anymore. If you figure it out, though, I'd gladly accept a Pull Request.

pbelouin-mpiwg commented 7 years ago

Hi @codykrieger , nice gem! out of curiosity what are you using now to integrate ace with your app? just load it from a CDN?

InfantAnto commented 7 years ago

I have installed the gem and included the require lines in application.js How to trigger the ACE editor in view in Rails app?