spohlenz / tinymce-rails

Integration of TinyMCE with the Rails asset pipeline
Other
814 stars 257 forks source link

rake assets:precompile breaks in tinymce-rails-imageupload 3.5.8.5 and TinyMCE-rails 3.5.8.3 #120

Closed carljhoover closed 10 years ago

carljhoover commented 10 years ago

Gem versions:

tinymce-rails-imageupload 3.5.8.5 TinyMCE-rails 3.5.8.3

Asset settings in production.rb (in the event they are relevant):

config.serve_static_assets = false config.assets.css_compressor = :sass config.assets.compile = false config.assets.digest = true

I get the following error each time I attempt to run RAILS_ENV=production rake assets:precompile

Seems like the fix is as simple as passing the additional argument, but I wasn't sure if there was something else going on giving the assets being set on the above line.

Hope you have time to take a quick look! Thanks.

rake aborted! wrong number of arguments (2 for 3) /Users/carljhoover/.rvm/gems/ruby-1.9.3-p392/gems/tinymce-rails-3.5.8.3/lib/tinymce/rails/asset_installer.rb:6:in initialize' /Users/carljhoover/.rvm/gems/ruby-1.9.3-p392/gems/tinymce-rails-imageupload-3.5.8.5/lib/tasks/tinymce-uploadimage-assets.rake:13:innew' /Users/carljhoover/.rvm/gems/ruby-1.9.3-p392/gems/tinymce-rails-imageupload-3.5.8.5/lib/tasks/tinymce-uploadimage-assets.rake:13:in block in <top (required)>' /Users/carljhoover/.rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:ineval' /Users/carljhoover/.rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in `

' Tasks: TOP => assets:precompile (See full trace by running task with --trace)

carljhoover commented 10 years ago

My profuse apologies. Had both repositories open and posted in the wrong window.