spohlenz / tinymce-rails

Integration of TinyMCE with the Rails asset pipeline
Other
816 stars 258 forks source link

Editor not working after upgrading from Ruby 1.9.3 to 2.0.0 #97

Closed john-bessire closed 11 years ago

john-bessire commented 11 years ago

I had the TinyMCE editor working with Ruby 1.9.3 and Rails 3.2.6.

After upgrading to Ruby 2.0.0 the TinyMCE editor is no longer visible but the textarea box is still visible.

------------- Web page ------------------ <%= text_area_tag :editor, "", :class => "tinymce", :rows => 40, :cols => 120 %> <%= tinymce %>

---------------application.js ------------------ //= require jquery //= require jquery_ujs //= require bootstrap //= require_tree . //= require tinymce-jquery

------------- Gemfile --------------------- source 'https://rubygems.org'

ruby "2.0.0" gem 'rails', '3.2.6' gem 'bootstrap-sass', '2.0.0' gem 'bcrypt-ruby', '3.0.1' gem 'faker', '1.0.1' gem 'will_paginate', '3.0.3' gem 'bootstrap-will_paginate', '0.0.6' gem 'tinymce-rails'

group :development do gem 'sqlite3', '1.3.5' gem 'annotate', '~> 2.4.1.beta' end

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

gem 'jquery-rails'

group :test, :development do gem 'rspec-rails', '~> 2.10.0' gem 'guard-rspec', '0.5.5' gem 'guard-spork', '0.3.2' gem 'spork', '0.9.0' end

group :test do gem 'capybara', '1.1.2' gem 'factory_girl_rails', '1.4.0' gem 'cucumber-rails', '1.2.1', require: false gem 'database_cleaner', '0.7.0' end

group :production do gem 'pg', '0.12.2' end

spohlenz commented 11 years ago

I believe you'll have to upgrade to Rails 3.2.13 for Ruby 2.0 support (see http://weblog.rubyonrails.org/2013/2/27/Rails-3-2-13-rc1-has-been-released/).

john-bessire commented 11 years ago

It was the rails version and 3.2.13 works.