Open maravillas opened 10 years ago
When I run the server locally, generally I start it up with:
$ lein ring server-headless
And if I go to http://localhost:3000/maravillas/5cc973d88a7c95daf456 it builds your gist just fine.
So the main difference with the server is that it builds into a standalone uberjar using:
$ JAVA_OPTS= LEIN_SNAPSHOTS_IN_RELEASE=1 lein ring uberjar
and then started with:
$ nohup java -jar target/programming-enchiladas-0.1.0-standalone.jar 2>&1 >> logs/programming-enchiladas.log &
When run like this, this causes the error you describe. Clearly there is something different in the way the two mechanisms are operating - possibly something to do with AOT compilation not working properly.
I've updated a lot of the old dependencies so we're pretty much up to date, and in the meantime, I've started the server using the lein ring server-headless
command, and your gist at http://programming-enchiladas.destructuring-bind.org/maravillas/5cc973d88a7c95daf456 is working as expected.
In the meantime, I'll try and determine what the exact cause.
Interesting. Switching the server command does seem to resolve the issue, at least. Thanks for a handy project!
See http://programming-enchiladas.destructuring-bind.org/maravillas/5cc973d88a7c95daf456, which is a copy (not a fork) of http://programming-enchiladas.destructuring-bind.org/swannodette/5903001. I receive the following error for any gist I create, even a minimal gist with only a namespace declaration.
Stack trace: