Comments (7)
- I assume you followed the instructions here?
- Are you using version 0.30.1 or Github HEAD ?
- Could you say what
bundle --version
reports? - If it's older than 2.0, then you may need to reinstall, but do a
instead of
bundle install --path vendor/bundle
ruby bundle install --path vendor/bundle
from instiki.
I followed those instructions. I tried both master branch from GitHub as well as the latest release. I get the same error.
bundle --version
Bundler version 2.0.2
from instiki.
Well, you evidently have an older (pre-2.0) version of Bundler installed at /Library/Ruby/Site/2.3.0/
. I don't know how it go there (my Mojave installation doesn't have one), but I am reluctant to tell you to get rid of it.
Instead, you might try doing gem install bundler
which should upgrade the version of Bundler seen by your system ruby to 2.0.x.
from instiki.
So, I was able to get the server started on MacOs:
bundle exec instiki build
But now I have very odd errors on the wiki page that my changes can't overwrite. I attached a screenshot.
This is also very oddly the exact same type of error when I use the following Dockerfile:
FROM ubuntu:18.04
RUN apt-get update
RUN apt-get install -y ruby ruby-dev ri ruby-openssl ruby-sqlite3 rake libxslt1-dev ruby-libxml libsqlite3-dev libxml2-dev swig flex bison git
WORKDIR /wiki/
RUN git clone https://github.com/parasew/instiki.git
WORKDIR /wiki/instiki/
RUN ruby bundle install --path vendor/bundle
EXPOSE 2500
CMD ["./instiki"]
Here the log information:
bundle exec instiki build
=> Booting Thin
=> Rails 2.3.18 application starting on http://0.0.0.0:2500
=> Call with -d to detach
=> Ctrl-C to shutdown server
Thin web server (v1.7.2 codename Bachmanity)
Maximum connections set to 1024
Listening on 0.0.0.0:2500, CTRL+C to stop
Processing WikiController#index (for 127.0.0.1 at 2019-08-13 19:29:34) [GET]
Redirected to http://0.0.0.0:2500/wiki/show/HomePage
Completed in 65ms (DB: 0) | 302 Found [http://0.0.0.0/]
Processing WikiController#index (for 127.0.0.1 at 2019-08-13 19:29:34) [GET]
Redirected to http://0.0.0.0:2500/wiki/show/HomePage
Completed in 65ms (DB: 0) | 302 Found [http://0.0.0.0/]
Processing WikiController#show (for 127.0.0.1 at 2019-08-13 19:29:34) [GET]
Parameters: {"web"=>"wiki", "id"=>"HomePage"}
Reading page 'HomePage' from web 'wiki'
Page 'HomePage' found
Cached fragment hit: views/wiki/show/HomePage (0.5ms)
Filter chain halted as [#<ActionController::Filters::AroundFilter:0x00007fd27bee0228 @kind=:filter, @method=#<Proc:0x00007fd27bee0520@/Users/wintermute/instiki/vendor/rails/actionpack/lib/action_controller/caching/actions.rb:64>, @identifier=nil, @options={:only=>#<Set: {"show", "published", "authors", "tex", "s5", "print", "recently_revised", "list", "file_list", "source", "history", "revision", "atom_with_content", "atom_with_headlines", "atom_with_changes"}>, :if=>#<Proc:0x00007fd27bee0728@/Users/wintermute/instiki/app/controllers/wiki_controller.rb:15>, :unless=>nil}>] did_not_yield.
Completed in 5ms (View: 0, DB: 0) | 200 OK [http://0.0.0.0/wiki/show/HomePage]
Processing WikiController#show (for 127.0.0.1 at 2019-08-13 19:29:34) [GET]
Parameters: {"web"=>"wiki", "id"=>"HomePage"}
Reading page 'HomePage' from web 'wiki'
Page 'HomePage' found
Cached fragment hit: views/wiki/show/HomePage (0.5ms)
Filter chain halted as [#<ActionController::Filters::AroundFilter:0x00007fd27bee0228 @kind=:filter, @method=#<Proc:0x00007fd27bee0520@/Users/wintermute/instiki/vendor/rails/actionpack/lib/action_controller/caching/actions.rb:64>, @identifier=nil, @options={:only=>#<Set: {"show", "published", "authors", "tex", "s5", "print", "recently_revised", "list", "file_list", "source", "history", "revision", "atom_with_content", "atom_with_headlines", "atom_with_changes"}>, :if=>#<Proc:0x00007fd27bee0728@/Users/wintermute/instiki/app/controllers/wiki_controller.rb:15>, :unless=>nil}>] did_not_yield.
Completed in 5ms (View: 0, DB: 0) | 200 OK [http://0.0.0.0/wiki/show/HomePage]
Thank you!
from instiki.
So, wait,
bundle exec instiki build
"works", but
./instiki
doesn't?
And what exactly is happening when you try to edit/save a page?
from instiki.
But now I have very odd errors on the wiki page that my changes can't overwrite. I attached a screenshot.
Apparently, this is an incompatibility with the Grammarly browser extension.
from instiki.
Closing for lack of user feedback.
from instiki.
Related Issues (20)
- Invalid search expressions lead to internal error HOT 1
- View Original Page Source when Editing Page HOT 7
- Search result page broken (not valid xml) HOT 1
- Emojis in wiki pages not working when editing page HOT 5
- MySQL UTF8 not working after DB restore HOT 3
- Redirection to localhost HOT 3
- Heroku Install Error HOT 18
- Interweb links not working with [[!include web:pagename]] HOT 2
- Re: Interweb links not working with [[!include web:pagename]] HOT 5
- Minor tweaks to improve page creation workflow HOT 3
- Simple way to disable MathJax? HOT 2
- Edit on Heroku deploy results in "undefinedundefined" on sub pages HOT 2
- SVG creation does not work, Instiki 0.30.2(MML+), Heroku, HOT 6
- Running Instiki with Ruby 3.0 HOT 5
- Cache expiration race conditions HOT 15
- Missing index for wiki_references causes high loading times HOT 3
- Broken page cache expiration logic HOT 9
- Instiki Gemfile broken after release of Rack 3 HOT 2
- Dockerfile fails to build HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from instiki.