froala / froala/editor-ruby-sdk-example

Hardcoded local path

Đang mở
#18 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Ruby
Star
1
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Mở Gemfile và kiểm tra dependency của Froala Editor SDK ở cuối tệp; sau đó chạy PORT=3011 rails server để tái hiện lỗi hardcoded-path. Hoàn tất khi ứng dụng mẫu không còn phụ thuộc vào /Users/me/work/wysiwyg-editor-ruby-sdk và khởi động mà không gặp lỗi đó; đồng thời xác minh gem nào là gem mà ứng dụng mẫu được dự định sử dụng.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
rails, ruby
Lĩnh vực
backend
Loại issue
Lỗi
Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.