Skip to content
This repository has been archived by the owner on Jun 12, 2020. It is now read-only.

Middleman error #4

Open
ValkyrieUK opened this issue Feb 24, 2016 · 1 comment
Open

Middleman error #4

ValkyrieUK opened this issue Feb 24, 2016 · 1 comment

Comments

@ValkyrieUK
Copy link

I installed and ran and it gave back:

╭─valkyrieuk@valkyrieuk-MacBook ~/src/laptop_builder ‹ruby-2.0.0›
╰─$ be ruby app.rb p 1 ↵
Faraday::Builder is now Faraday::RackBuilder.
/Users/valkyrieuk/.rvm/gems/ruby-2.0.0-p643/gems/middleman-cli-4.1.1/lib/middleman-cli/build.rb:43:in build': Error: Could not find a Middleman project config, perhaps you are in the wrong folder? (Thor::Error) from /Users/valkyrieuk/.rvm/gems/ruby-2.0.0-p643/bundler/gems/static_auth_gem-920fe14cc024/lib/static_auth/cli/commands.rb:9:inbuild_middleman'
from app.rb:9:in `

'

@otaiga
Copy link
Member

otaiga commented Feb 26, 2016

Hi @ValkyrieUK what does your config.ru look like ?
If you are not using middleman .. then you wouldn't need :

# Build the static site when the app boots
StaticAuth::Cli::Commands.build_middleman

otherwise this will try to build a static site on rackup.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants