docx_converter | Ruby gem converting Word docx files into html or LaTeX | Document Editor library
kandi X-RAY | docx_converter Summary
kandi X-RAY | docx_converter Summary
Ruby gem converting Word docx files into html or LaTeX via the Kramdown syntax
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of docx_converter
docx_converter Key Features
docx_converter Examples and Code Snippets
Community Discussions
Trending Discussions on docx_converter
QUESTION
TL;DR:
I should have used the docx gem and not the (older) docx_converter. This seems much more compatible with Rails 5.2.
I'm learning rails and have a working application. However, when I add the gem docx_converter to my Gemfile (so I can convert Word files to markdown to work on further), the server fails to launch.
The application has three models: Company, which has_many Users, which has_many Projects. (Users is controlled by Devise, and Company has_many Projects through Users.) When a user creates a project, they can upload a file to that project using active_storage, and it's stored on disk in my dev environment (which is what I'm concerned with here).
I have no problem with any of the above - I can create users and projects, and add and remove files from the projects.
However, if I add gem 'docx_converter'
to my Gemfile and run bundle update
, I can no longer run the rails server. Immediately before this action, all is fine. Immediately after, the server won't run and the traceback (last few lines) is:
ANSWER
Answered 2019-May-06 at 15:47bootsnap
may have a role to play in all of this since it messes with the startup of Rails. Try making sure all spring processes are cleaned up ps -ef | grep spring
. Remove bootsnap
gem and bundle install
. Then try to start the server again rails s
.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install docx_converter
On a UNIX-like operating system, using your system’s package manager is easiest. However, the packaged Ruby version may not be the newest one. There is also an installer for Windows. Managers help you to switch between multiple Ruby versions on your system. Installers can be used to install a specific or multiple Ruby versions. Please refer ruby-lang.org for more information.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page