kemal woe

Rogers-MacBook:kemal_server rdp$ ./dev_go_ssl

attempting to load server to https://localhost:3000

building

Error in kemal_server.cr:3: while requiring “kemal”

require “kemal”

^

in lib/kemal/src/kemal.cr:4: can’t find file ‘tempfile’

If you’re trying to require a shard:

– Did you remember to run `shards install`?

– Did you make sure you’re running the compiler in the same directory as your shard.yml?

require “tempfile”

 

meant “bump your kemal version so it works with newer crystal”

One thought on “kemal woe”

  1. 168. def initialize(@id : String)
    169.
    170. @ints = Hash(String, Int32).new
    171.
    172. @bigints = Hash(String, Int64).new
    173.
    174. @strings = Hash(String, String).new
    175.
    176. @floats = Hash(String, Float64).new
    177.
    178. @bools = Hash(String, Bool).new
    179.
    180. @objects = Hash(String, Kemal::Session::StorableObject::StorableObjectContainer).new
    181.
    182. end
    183.

    undefined method ‘epoch_ms’ for Time
    Rerun with –error-trace to show a complete error trace.
    attempting to load server to https://localhost:3000
    building

    meant “update to newer version of kemal so it works with newer crystal”

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.