spohlenz / tinymce-rails

Integration of TinyMCE with the Rails asset pipeline
Other
815 stars 256 forks source link

TinyMCE4 - Undefined method 'relative_url_root' #96

Closed archonic closed 11 years ago

archonic commented 11 years ago

NoMethodError: undefined method 'relative_url_root' for <Rails::Application::Configuration:0x00000004072e58> (in /usr/local/rvm/gems/ruby-1.9.2-p180/bundler/gems/tinymce-rails-d1d00315fa67/app/assets/javascripts/tinymce/preinit.js.erb)

I peaked at that file and I don't know how I would track down more info. Could this error be due to using the same tinymce.yml as for the tinymce 3.x?

Update: I copied the tinymce.yml from sandbox and no luck.

spohlenz commented 11 years ago

Which version of Rails are you using? If it's Rails 3.1.x like I think it might be, then this is indeed a regression I need to fix. Thanks for reporting.

archonic commented 11 years ago

3.1.10. Thanks for your time!

archonic commented 11 years ago

You da man. It's working! Just need to finagle some plugins.