{"id":15792844,"url":"https://github.com/ukoloff/rufus-lua-win","last_synced_at":"2025-05-07T10:46:45.117Z","repository":{"id":20476914,"uuid":"23754649","full_name":"ukoloff/rufus-lua-win","owner":"ukoloff","description":"Provides Lua binary on Windows","archived":false,"fork":false,"pushed_at":"2021-11-06T22:39:38.000Z","size":1141,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-25T00:55:57.000Z","etag":null,"topics":["appveyor","lua","luadist","ruby","rufus","windows"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ukoloff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-07T07:12:59.000Z","updated_at":"2016-04-02T15:03:07.000Z","dependencies_parsed_at":"2022-07-31T21:18:07.220Z","dependency_job_id":null,"html_url":"https://github.com/ukoloff/rufus-lua-win","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ukoloff%2Frufus-lua-win","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ukoloff%2Frufus-lua-win/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ukoloff%2Frufus-lua-win/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ukoloff%2Frufus-lua-win/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ukoloff","download_url":"https://codeload.github.com/ukoloff/rufus-lua-win/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229610715,"owners_count":18098428,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["appveyor","lua","luadist","ruby","rufus","windows"],"created_at":"2024-10-04T23:05:27.329Z","updated_at":"2024-12-13T20:26:46.069Z","avatar_url":"https://github.com/ukoloff.png","language":"Ruby","readme":"# Rufus::Lua::Win\n\n[![Build status](https://ci.appveyor.com/api/projects/status/s9nfaskbbq2t3c4f?svg=true)](https://ci.appveyor.com/project/ukoloff/rufus-lua-win)\n[![Gem Version](https://badge.fury.io/rb/rufus-lua-win.svg)](http://badge.fury.io/rb/rufus-lua-win)\n\nProvides Lua binary on Windows.\n\nEmbedding Lua into Ruby on Windows has two issues:\n\n  1. There is no standard binary distributive for Lua\n  2. Lua way of searching for libraries (rocks) fails\n\nSo, this gem embeds binary Lua (from LuaDist)\nand patches package.path and package.cpath.\n\n## Installation\n\nYou don't need to download, install or compile any Lua distribution.\nJust add this line to your application's Gemfile:\n\n    gem 'rufus-lua-win'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install rufus-lua-win\n\n## Usage\n\nAdd two lines to Gemfile (in *that* order):\n\n    gem 'rufus-lua-win' if Gem.win_platform?\n    gem 'rufus-lua'\n\nRufus::Lua::Win will setup environment variables, so Rufus::Lua could load.\n\nIf not using bundler, just:\n\n```ruby\nrequire 'rufus/lua/win' if Gem.win_platform?\nrequire 'rufus/lua'\n\ns=Rufus::Lua::State.new\ns.eval \"require 'lpeg'\"\n...\n```\n\n## Lua Path\n\nRufus::Lua::Win overrides standard Lua search paths to point to its own\nLua libraries.\n\nPaths like `./?.lua` or `./?.dll` are excluded, since they are not very useful\nin embedded environment.\n\nIf you like to `require` your own files inside Rufus::Lua - put them in\nseparate folder and add it to package.path (or package.cpath).\n\n## Credits\n\n  * [Lua](http://www.lua.org/)\n  * [LuaDist](http://luadist.org/)\n  * [Rufus::Lua](https://github.com/jmettraux/rufus-lua)\n  * [AppVeyor](http://www.appveyor.com/)\n\n## See also\n\n  * [Rufus::Lua::Moon](https://github.com/ukoloff/rufus-lua-moon) to use MoonScript\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fukoloff%2Frufus-lua-win","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fukoloff%2Frufus-lua-win","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fukoloff%2Frufus-lua-win/lists"}