Rails 2.3.8 tiny mce 问题 - 未定义方法“uses_tiny_mce”
我在使用小型 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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您是否包含
在 config/environment.rb 中?
我过去也使用过这个宝石,但已经停止使用它了。我认为这使我的 Rails 应用程序的设置和部署变得复杂。从那时起我就只使用TinyMCE编辑器本身了。由于它是 100% javascript,因此它不涉及任何 Ruby 代码,从而使事情变得更好组织。
Did you include
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.
我没有使用它作为插件。
我已按照 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.