Closed lukasvotypka closed 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
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:
I add lines below to config config.assets.precompile += ['admin/tinymce/tiny_mce.js', 'admin/tinymce/jquery.tinymce.js']
Now I can run admin interface in production mode and tinymce is compiled. Spree editor stil not working. TinyMCE generate probably bad links to other included js files.
Reply to this email directly or view it on GitHub: https://github.com/spree/spree_editor/issues/6
Same problem here, but with editor.css. Will wait for the update release.
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..
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
I'm still getting this issue with the master branch using Spree 2.0
@rickardx please open a new issue with steps to reproduce if your still experiencing this on master.
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:
I add lines below to config config.assets.precompile += ['admin/tinymce/tiny_mce.js', 'admin/tinymce/jquery.tinymce.js']
Now I can run admin interface in production mode and tinymce is compiled. Spree editor stil not working. TinyMCE generate probably bad links to other included js files.