froala / froala/editor-ruby-sdk-example

Hardcoded local path

未关闭
#18 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Ruby
星标
1
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

I've been unable to get the Froala gem working for me, and so I thought I'd try the example app so I could eliminate a lot of variables and also have a model to look at (in case anything was missing from the README for that gem).

When I cloned this repo and tried running it, I found that it has hardcoded local paths. As far as I can see, there's no good reason for that.

```
$ PORT=3011 rails server
The path `/Users/me/work/wysiwyg-editor-ruby-sdk` does not exist.
```

The problem is in the Gemfile, right at the bottom:

```
# Froala Editor SDK
gem 'froala-editor-sdk', path: '/Users/me/work/wysiwyg-editor-ruby-sdk'
```

Also, is `froala-editor-sdk` just an old version of `wysiwyg-rails`? Since I don't see `wysiwyg-rails` listed in the Gemfile here, I'm guessing that that's the case.

贡献指南

这个仓库没有索引到贡献指南

调研方向

打开 Gemfile 并检查底部的 Froala Editor SDK 依赖;然后运行 PORT=3011 rails server,以复现硬编码路径导致的失败。完成的标准是示例应用不再依赖 /Users/me/work/wysiwyg-editor-ruby-sdk,并且能够在不出现该错误的情况下启动;同时确认示例应用预期使用的是哪个 gem。

由索引模型根据 Issue 内容生成。

评估

技术栈
rails, ruby
领域
backend
Issue 类型
缺陷
难度
1/5
预计耗时
1 小时以内
活跃度
停滞
描述清晰度
描述清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。