Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
ERROR NotImplementedError: fork() #278
ERROR NotImplementedError: fork() function is unimplemented on this machine
Can this be fixed or bypassed on Windows 7?
@sebastjan-hribar Hello and thanks for reporting this. Lotus uses a reloadable container (
That means you won't be able to use code reloading on Windows. To get your application running, please use
I'm closing this, feel free to reopen, if you're still experiencing problems.
I know this has been long closed, @sebastjan-hribar; I found a way to mimic shotgun as closely as possible:
gem install restart
Put in your Gemfile:
gem 'wdm', '>= 0.1.0' if Gem.win_platform?
Run in cmd.exe or whatever shell you are using
restart bundle exec lotus server --no-code-reloading < nul
It is anything but pretty. The restart gem polls for changes in the working directory or subdirectory's, terminates the current process and runs it again. You flood the input channel with
Myself I use a different technique.
start bundle exec lotus server --no-code-reloading < nul
Now open a shell in your root directory
It will open a new shell with your server. When you want to re-load the code, just close the prompt and call