Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
朱晨
@tankzhuchen
Member
NO. 36682 / 2018-12-19

[email protected]
3 Topics / 10 Replies
0 Followers
1 Following
1 Favorites
No GitHub.
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 安装 ckeditor 富文档,报错:couldn't find file 'ckeditor/init' with type 'application/javascript' at April 09, 2019

    @yfscret 目前还出现了一个问题,部署上去以后没有显示编辑器,编辑器的位置是空白的

  • cap production deploy 自动化部署报错数据表格已经存在,该如何解?! at April 09, 2019

    已经解决,cap 部署时遇到的远程 pg 数据库重复问题

    1、首先登陆到远端 root 账户,输入su - postgres 是这样显示的

    2、我尝试dropdb 数据库名称去删除数据库,报错正在被其他用户访问

    dropdb: database removal failed: ERROR:  database "rails_recipes" is being accessed by other users
    DETAIL:  There is 1 other session using the database.
    

    3、输入psql使用 psql 登陆数据库,输入select pg_terminate_backend(pid) from pg_stat_activity where DATNAME = '数据库名称';不知道在哪里谷歌到的,反正删掉了所有链接😅 然后换了数据库的命令行删除数据库DROP DATABASE 数据库名称; 搞定退出

    然后新建新的数据库,继续 cap 自动部署,部署成功。

  • cap production deploy 自动化部署报错数据表格已经存在,该如何解?! at April 09, 2019

    新手,表示看不懂呀

  • 安装 ckeditor 富文档,报错:couldn't find file 'ckeditor/init' with type 'application/javascript' at April 08, 2019

    搞定了,感谢!2 楼的有用,我把 gem 换成 gem 'ckeditor', '4.2.4'

关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English