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

Not working in production #110

Open kruby opened 9 years ago

kruby commented 9 years ago

I am unable to get spree_editor to work in production. Running Ruby 2.2.3, Rails 4.2.4 and Spree 3.0 Stable-branch. In development everything is fine. Any clues.

Gem file looks like this: gem 'rails', '4.2.4' gem 'mysql2'

gem 'sass-rails', '~> 5.0' gem 'uglifier', '>= 1.3.0' gem 'coffee-rails', '~> 4.1.0' gem 'therubyracer', platforms: :ruby

gem 'jquery-rails' gem 'turbolinks' gem 'jbuilder', '~> 2.0' gem 'sdoc', '~> 0.4.0', group: :page_facing_up: gem 'spree_editor', github: 'spree-contrib/spree_editor', branch: '3-0-stable'

gem 'ckeditor', github: 'galetahub/ckeditor'

gem 'spree_static_content', github: 'spree/spree_static_content', branch: '3-0-stable'

gem "spree_product_zoom", :github => "spree/spree_product_zoom", branch: '3-0-stable'

group :development, :test do gem 'byebug' end

group :development do gem 'web-console', '~> 2.0' gem 'spring' end

gem 'spree', '3.0.4' gem 'spree_gateway', github: 'spree/spree_gateway', branch: '3-0-stable' gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: '3-0-stable'

amit-dhoundiyal commented 5 years ago

I also face the same issue in the production environment during image uploading the image is not uploaded using the ckeditor got the following error -: ActionController::RoutingError (No route matches [GET] "/ckeditor_assets/pictures/

Please help.