Giter VIP home page Giter VIP logo

Comments (6)

ZiggStardust avatar ZiggStardust commented on August 24, 2024

Any solution to this ?

from middleman-deploy.

karlfreeman avatar karlfreeman commented on August 24, 2024

Unfortunately I don't right now. Its a little tricky to debug as I'm not on windows. It looks like its somewhere between middleman-deploy and middleman. Does this fail only when middleman-deploy is added to the Gemfile? Also does this only happen when running middleman build (eg middleman server still works?)

from middleman-deploy.

KingwenChow avatar KingwenChow commented on August 24, 2024

I'm also getting the same error.

Gemfile:

# If you have OpenSSL installed, we recommend updating
# the following line to use "https"
source "http://rubygems.org"

gem "middleman", "~> 3.3.3"
gem "middleman-blog", "~> 3.5.3"
gem "middleman-livereload", "~> 3.3.4"
gem "middleman-deploy", "~>0.2.4"
gem "middleman-syntax", "~> 2.0.0"
gem "builder"
gem "tzinfo-data"
gem "nokogiri"
gem "redcarpet", "~> 3.1.2"
gem "wdm", :platform => [:mswin, :mingw]

$ gem install bundler
$ bundle install
$ bundle exec middleman

No error occurred.

But open http://localhost:4567/

File Not Found
/

With middleman-gh-pages instead middleman-deploy ,
everything goes well.

Diff Gemfile.lock
diff

from middleman-deploy.

KingwenChow avatar KingwenChow commented on August 24, 2024

Resolved by
Remove ptools to prevent breaking the path related logics in middleman

http://localhost:4567/ It's working now

[#62]

from middleman-deploy.

mweirauch avatar mweirauch commented on August 24, 2024

Any update on this? It's driving me nuts running middleman server on a repo in a shared linux windows environment. Allthough I can confirm the "solution" from @KingwenChow works.

from middleman-deploy.

tgdev avatar tgdev commented on August 24, 2024

The above solution from @KingwenChow doesn't work for me. I thought it was a gem issue so cleared all my local gems then reinstalled sass, compass and bundler before re-running bundle install on my project.

Here's my gem file...

source "http://rubygems.org"

# Middleman modules
gem "middleman", "~> 3.3.3"
gem "middleman-blog", "~> 3.5.3"
gem "middleman-livereload", "~> 3.3.4"
gem "middleman-minify-html"
gem "middleman-smusher"
gem 'middleman-deploy', '~> 1.0'

gem "wdm", :platforms => [:mswin, :mingw]
gem "tzinfo-data", platforms: [:mswin, :mingw]

# For blog posts using markdown syntax
gem "kramdown"

# For feed.xml.builder
gem "builder"

If I remove middleman-deploy from my gemfile, delete my Gemfile.lock and run bundle install, running bundle exec middleman build works fine.

I'm on windows 7 fyi

from middleman-deploy.

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.