Rails 2.3.8 tiny mce 问题 - 未定义方法“uses_tiny_mce”

发布于 2024-11-29 17:23:16 字数 215 浏览 2 评论 0原文

我在使用小型 mce 的应用程序中遇到了问题。 所有宝石版本& ruby 版本在我的系统上没问题,但它给了我错误 =未定义的方法`uses_tiny_mce'

这里我安装了tiny_mce gem。配置正确,但是还是有问题。

请帮忙。

在此处输入图像描述

I am facing an issue in my application with tiny mce.
All the gem version & ruby version is OK on my system, but it is giving me error
= undefined method `uses_tiny_mce'

Here i installed the tiny_mce gem. COnfigured it correctely, but still there is an issue.

Please help.

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

厌倦 2024-12-06 17:23:16

您是否包含

config.gem 'tiny_mce'

config/environment.rb 中?

我过去也使用过这个宝石,但已经停止使用它了。我认为这使我的 Rails 应用程序的设置和部署变得复杂。从那时起我就只使用TinyMCE编辑器本身了。由于它是 100% javascript,因此它不涉及任何 Ruby 代码,从而使事情变得更好组织。

Did you include

config.gem 'tiny_mce'

in config/environment.rb?

I have used this gem in the past too, but have stopped using it. I figured it complicated the setup and deployment of my Rails apps. Since then I have just used the TinyMCE editor by itself. Since it is 100% javascript, it does not touch any Ruby code which keeps things better organized.

千秋岁 2024-12-06 17:23:16

我没有使用它作为插件。
我已按照 http://enginey 中给出的步骤进行操作

。 googlecode.com/svn/trunk/vendor/plugins/tiny_mce/README.rdoc

步骤:

脚本/插件安装git://github.com/kete/tiny_mce.git
rake tiny_mce:安装

我的问题得到解决。

I was not using this as a plugin.
I have followed the steps given in the,

http://enginey.googlecode.com/svn/trunk/vendor/plugins/tiny_mce/README.rdoc

Steps :

script/plugin install git://github.com/kete/tiny_mce.git
rake tiny_mce:install

my issue got resolved.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文