Skip to content

Instantly share code, notes, and snippets.

@maximvl
Created March 8, 2015 18:39
Show Gist options
  • Save maximvl/a0716e2814db0c0256f6 to your computer and use it in GitHub Desktop.
Save maximvl/a0716e2814db0c0256f6 to your computer and use it in GitHub Desktop.
red 050 fails to start repl
./red-050
*** Driver Internal Error: Script Error : Cannot use lesser? on date! value
*** Where: run-console
*** Near: [if any [
not exists? exe
(modified? exe) < modified? bin
] [
console: %environment/console/
write script read-cache console/console.red
write temp-dir/help.red read-cache console/help.red
write temp-dir/input.red read-cache console/input.red
opts: make system-dialect/options-class [
link?: yes
unicode?: yes
config-name: to word! default-target
build-basename: %console
build-prefix: temp-dir
red-help?: yes
]
opts: make opts select load-targets opts/config-name
print "Pre-compiling Red console..."
result: red/compile script opts
system-dialect/compile/options/loaded script opts result/1
delete script
delete temp-dir/help.red
delete temp-dir/input.red
if all [Windows? not lib?] [
print "Please run red.exe again to access the console."
quit/return 1
]
]
exe:
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment