spree-contrib / spree_editor

Rich text editor for Spree with Image and File uploading in-place.
http://guides.spreecommerce.org
BSD 3-Clause "New" or "Revised" License
112 stars 183 forks source link

tinymce isn't compiled #6

Closed lukasvotypka closed 12 years ago

lukasvotypka commented 12 years ago

In development work all fine. But in production i have problem with serving tiny_mce.js

ActionView::Template::Error (admin/tinymce/tiny_mce.js isn't precompiled): 1: <%= javascript_include_tag 'admin/tinymce/tiny_mce.js' %> 2: <%= javascript_include_tag 'admin/tinymce/jquery.tinymce.js' %> 3: 4:

lukasvotypka commented 12 years ago

I use rails 3.1.1. and spree 0.70 My gemfile:

source 'http://rubygems.org'

gem 'rails', '3.1.1'

gem 'mysql2', '< 0.3.7'

gem 'spree' , :git => 'git://github.com/spree/spree.git'

#gem 'spree_static_content'
#gem 'spree_static_content', :path => 'spree_static_content'
gem "spree_static_content", :git => "git://github.com/spree/spree_static_content"
gem "spree_editor", :git => "git://github.com/spree/spree_editor.git"

gem 'dynamic_form'
gem "formtastic"

group :assets do
  gem 'sass-rails',   '~> 3.1.0'
  gem 'coffee-rails', '~> 3.1.0'
  gem 'uglifier', '>= 1.0.3'
end

gem 'jquery-rails'

group :test do
  # Pretty printed test output
  gem 'turn', :require => false
  gem 'minitest'
end
peterberkenbosch commented 12 years ago

Will update the extension for 0.70.X and namespace branch this week..

Thanks for reporting.

Peter Berkenbosch --------—-------—---------— Wat niet kan, is nog nooit gebeurd. -------—--------—-----------— Verstuurd vanaf mijn iPhone.

On 6 nov. 2011, at 15:30, "luigi-sk" reply@reply.github.com wrote:

In development work all fine. But in production i have problem with serving tiny_mce.js

ActionView::Template::Error (admin/tinymce/tiny_mce.js isn't precompiled): 1: <%= javascript_include_tag 'admin/tinymce/tiny_mce.js' %> 2: <%= javascript_include_tag 'admin/tinymce/jquery.tinymce.js' %> 3: 4:


Reply to this email directly or view it on GitHub: https://github.com/spree/spree_editor/issues/6

ghost commented 12 years ago

Same problem here, but with editor.css. Will wait for the update release.

peterberkenbosch commented 12 years ago

I found some inspiration here : https://github.com/spohlenz/tinymce-rails I will see if I need the complete gem our just get the precompiled stuff in this extension.. more will come asap..

romul commented 12 years ago

Fixed here: https://github.com/spree/spree_editor/commit/df95c2ddaa6e9989eca984fa3cbcf58d0377ac05

patrickmcelwee commented 12 years ago

This is still an issue in 0.70 ... I am issuing a pull request to eliminate the old tiny-mce assets from the 0-70-x branch

rickardx commented 11 years ago

I'm still getting this issue with the master branch using Spree 2.0

JDutil commented 11 years ago

@rickardx please open a new issue with steps to reproduce if your still experiencing this on master.