Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/string/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby rails生成ckeditor:install--orm=active\u record--backend=active\u storag未工作rails 5_Ruby_Ruby On Rails 5_Ckeditor5 - Fatal编程技术网

Ruby rails生成ckeditor:install--orm=active\u record--backend=active\u storag未工作rails 5

Ruby rails生成ckeditor:install--orm=active\u record--backend=active\u storag未工作rails 5,ruby,ruby-on-rails-5,ckeditor5,Ruby,Ruby On Rails 5,Ckeditor5,我想在我的项目中使用带有活动存储的ckeditor,但当我使用orm活动记录和活动存储生成并安装ckeditor时,它会创建一个初始值设定项,但不会创建任何迁移文件 Running via Spring preloader in process 23128 create config/initializers/ckeditor.rb route mount Ckeditor::Engine => '/ckeditor' Could not find "active_re

我想在我的项目中使用带有活动存储的ckeditor,但当我使用orm活动记录和活动存储生成并安装ckeditor时,它会创建一个初始值设定项,但不会创建任何迁移文件

Running via Spring preloader in process 23128
  create  config/initializers/ckeditor.rb
   route  mount Ckeditor::Engine => '/ckeditor'
   Could not find "active_record/active_storage/ckeditor/asset.rb" in 
   any of your source paths. Your current source paths are: 
   /home/arif/Development/Test 
   Project/cable_test/lib/templates/ckeditor/install
   /home/arif/.rvm/gems/ruby-2.4.2/gems/ckeditor- 
   4.1.3/lib/generators/ckeditor/templates

所以我也遇到了这个问题,在浏览了代码之后,我想我只是在没有像docs这样的标志的情况下运行生成器。如果遇到此问题,只需在没有标志的情况下运行生成器
rails g ckeditor:install
。此外,您还需要查看这些文件并确保您的模型匹配


编辑:从这篇文章开始,活动存储似乎只在主分支上可用。

您解决了这个问题吗?有同样的问题