Giter Club home page Giter Club logo

Comments (7)

distler avatar distler commented on August 15, 2024
  1. I assume you followed the instructions here?
  2. Are you using version 0.30.1 or Github HEAD ?
  3. Could you say what bundle --version reports?
  4. If it's older than 2.0, then you may need to reinstall, but do a
    bundle install --path vendor/bundle
    
    instead of
    ruby bundle install --path vendor/bundle
    

from instiki.

turnersr avatar turnersr commented on August 15, 2024

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.

distler avatar distler commented on August 15, 2024

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.

turnersr avatar turnersr commented on August 15, 2024

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.

Screen Shot 2019-08-13 at 7 29 50 PM

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.

distler avatar distler commented on August 15, 2024

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.

distler avatar distler commented on August 15, 2024

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.

distler avatar distler commented on August 15, 2024

Closing for lack of user feedback.

from instiki.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.