Can't run the server - Error

Hi there,

I’ve just create a new middleman project but I get that error :

WARN: Unresolved specs during Gem::Specification.reset:
mime-types (>= 1.16)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
/Users/davidlegault/CODE/my_new_project not found

(my-new-project is in the CODE folder).

Thanks !

Have you tried prepending your command with bundle exec? For example, to start the server:

$ cd /Users/davidlegault/CODE/my_new_project
$ bundle exec middleman server

yes thanks @joshukraine , it’s working now with " bundle exec middlman server " ! I dont know why the command middleman server doesnt work.

I’m having the same issue. This is a nice workaround. But how can I actually fix it?

I tried downgrading some gems, and it worked for some. But I still have some warnings

I guess it’s probably something with your ruby setup. Do you have Gemfile?

I’m also having this issue. Please report if anyone resolves it.

A permanent fix for issues caused by multiple versions of the same gem on your computer is to create a binstub and use it, bundle exec * would also work. You can create binstubs for middleman by running the command bundle binstub middleman-cli and then running the middleman commands by using bin/middleman