Cloud9 IDE/Lua
Jump to navigation
Jump to search
Cloud9 may be used for Lua development, but by default the Lua development environment is not installed. This is indicated by the following error when running a .lua file:
bash: line 1: ...lua: No such file or directory
To install the Lua development environment on Cloud9, enter the following commands at the bash prompt. If you don't see a bash prompt, open a New Terminal window.
sudo apt-get update
sudo apt-get -y install lua5.2
To add a new runner for Lua files, use the following configuration. Save the new runner as Lua.run
.
{
"cmd" : ["lua", "$file", "$args"],
"info" : "Running $file_name",
"selector" : "source.lua"
}