Search code examples
middleman

What does this error while running 'middleman' mean?


I came across this middleman package and tried to run it with bundle exec middleman server but get this back in the terminal...

The source :rubygems is deprecated because HTTP requests are insecure. Please change your source to 'https://rubygems.org' if possible, or 'http://rubygems.org' if not.

== The Middleman is loading
== Port 4567 is unavailable. Either close the instance of Middleman already running on 4567 or start this Middleman on a new port with: --port=4568

Thanks in advance!


Solution

  • I found the answer in the middleman forum... if you do:

    lsof -i: <Port number> Enter your Port # here; In my case 4567"

    The above, will output a PID #, then if you enter that in the below

    kill -9 <PID here>

    You'll be able to restart your server.