froala / froala/editor-ruby-sdk-example
Hardcoded local path
- Dominant language
- Ruby
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
Open the Gemfile and inspect the Froala Editor SDK dependency at the bottom; then run PORT=3011 rails server to reproduce the hardcoded-path failure. Done means the example app no longer depends on /Users/me/work/wysiwyg-editor-ruby-sdk and starts without that error; also verify which gem the example is intended to use.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rails, ruby
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100