{"id":20683505,"url":"https://github.com/eggy115/ruby","last_synced_at":"2025-04-22T12:22:39.001Z","repository":{"id":239269574,"uuid":"622270974","full_name":"Eggy115/Ruby","owner":"Eggy115","description":"Ruby","archived":false,"fork":false,"pushed_at":"2023-04-18T19:11:04.000Z","size":611,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-20T15:13:28.752Z","etag":null,"topics":["ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Eggy115.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["Eggy115"],"patreon":"Eggy115","open_collective":"Eggy115","ko_fi":"Eggy115","tidelift":"Eggy115","community_bridge":"Eggy115","liberapay":"Eggy115","issuehunt":"Eggy115","otechie":"Eggy115","lfx_crowdfunding":null,"custom":["https://www.youtube.com/Eggy115","https://github.com/Eggy115"]}},"created_at":"2023-04-01T16:08:15.000Z","updated_at":"2023-04-04T11:23:13.000Z","dependencies_parsed_at":"2024-05-11T06:02:44.473Z","dependency_job_id":null,"html_url":"https://github.com/Eggy115/Ruby","commit_stats":null,"previous_names":["eggy115/ruby"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eggy115%2FRuby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eggy115%2FRuby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eggy115%2FRuby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eggy115%2FRuby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Eggy115","download_url":"https://codeload.github.com/Eggy115/Ruby/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232646350,"owners_count":18555273,"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":["ruby"],"created_at":"2024-11-16T22:16:47.447Z","updated_at":"2025-01-05T21:48:52.292Z","avatar_url":"https://github.com/Eggy115.png","language":"Ruby","funding_links":["https://github.com/sponsors/Eggy115","https://patreon.com/Eggy115","https://opencollective.com/Eggy115","https://ko-fi.com/Eggy115","https://tidelift.com/funding/github/Eggy115","https://funding.communitybridge.org/projects/Eggy115","https://liberapay.com/Eggy115","https://issuehunt.io/r/Eggy115","https://otechie.com/Eggy115","https://www.youtube.com/Eggy115","https://github.com/Eggy115"],"categories":[],"sub_categories":[],"readme":"# Ruby\n\n[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)\n\nThis repository contains a collection of Ruby programs and scripts.\n\n## Table of Contents\n- [What is Ruby](#what-is-ruby)   \n- [Installation](#installation)\n  - [Installing Ruby](#installing-ruby)    \n    - [Windows](#windows)\n    - [Linux](#linux)\n    - [macOS](#macOS)  \n  - [Installing Repository](#installing-repository)  \n- [Usage](#usage)\n  - [Running Ruby Programs](#running-ruby-programs)\n  - [Using Bundler](#using-bundler)\n- [Contributing](#contributing)\n- [License](#license)\n\n## What is Ruby\n\nRuby is a dynamic, object-oriented programming language that is popular among developers for its simplicity and productivity. It was created in the mid-1990s by Yukihiro Matsumoto, and is known for its elegant syntax and expressive nature.\n\nRuby is a high-level language, meaning that it abstracts away many low-level details like memory management and type declarations. This makes it easy to write code quickly and to read and understand other people's code. Ruby is also dynamically typed, meaning that the types of variables and expressions are determined at runtime rather than compile time.\n\nRuby has a powerful standard library, and a vibrant ecosystem of third-party libraries and tools, which makes it easy to accomplish many common programming tasks. It is often used for web development, especially with the popular Ruby on Rails framework, as well as for scripting and automation, game development, and more.\n\n## Installation\n\n### Installing Ruby\n\nThese are the general steps to install Ruby on different platforms. However, the exact steps may vary depending on the specific operating system and version you are using. It's always a good idea to refer to the official documentation for your platform to get more detailed installation instructions.\n\n#### Windows\n\n1. Download the Ruby installation executable from the official Ruby website.\n2. Run the downloaded file and follow the installation instructions.\n3. Once the installation is complete, you can use any text editor or IDE (Integrated Development Environment) to write and compile Ruby code.\n\n#### Linux\n\n1. Install Ruby using the package manager for your Linux distribution. For example, on Ubuntu, you can use the following command:\n\n```\nsudo apt-get install ruby\n```\n\n2. Once Ruby is installed, you can use any text editor or IDE to write and compile Ruby code.\n\n#### macOS\n\n1. macOS comes with Ruby pre-installed. However, you may want to install a more recent version of Ruby. The easiest way to do this is to use a package manager like Homebrew. Open a terminal and run the following command:\n\n```\nbrew install ruby\n```\n\n2. Once Ruby is installed, you can use any text editor or IDE to write and compile Ruby code.\n\nAlternatively, you can also download the Ruby installation package for macOS from the official Ruby website and follow the installation instructions.\n\n### Installing Repository\n\nYou can download individual files, copy \u0026 paste code, or clone the repository\n\n```\ngit clone https://github.com/Eggy115/Ruby.git\n```\n      \n## Usage\n\n### Running Ruby Programs\n\n1. Clone the repository. If you have written your own programs, save the program with a `.rb` file extension.\n2. Open a terminal or command prompt and navigate to the directory where the Ruby program is saved.\n3. Run the following command to run the Ruby program:\n\n```\nruby program_name.rb\n```\n\nReplace program_name with the name of your Ruby program.\nThis will execute your Ruby program.\n\n\n### Bundler\n\nAlternatively, you can use Bundler, Ruby's built-in package manager and dependency manager, to manage dependencies and run your Ruby program. Here are the steps:\n\n1. Create a new Ruby project using Bundler by running the following command in a terminal:\n\n```\nbundle init\n```\n\nThis will create a `Gemfile` in your current directory.\n\n2. Open the Gemfile and add any dependencies that your Ruby program requires. For example:\n\n```\nsource \"https://rubygems.org\"\ngem \"httparty\"\n```\n\nThis will add the httparty gem to your project.\n\n3. Install the dependencies by running the following command in a terminal:\n\n```\nbundle install\n```\n\nThis will install any dependencies specified in your Gemfile.\n\n4. Write your Ruby program and save it with a `.rb` file extension.\n5. Use Bundler to run your program by running the following command in a terminal:\n\n```\nbundle exec ruby program_name.rb\n```\n\nThis will execute your Ruby program with the dependencies specified in your Gemfile.\n\n## Contributing\n\nContributions are always welcome! Follow these steps to contribute:\n\n1. Fork the repository and make your changes. \n2. Submit a pull request with your changes.\n3. Create an issue if you find a bug or have a feature request.\n\nPlease make sure to adhere to the [code of conduct](CODE_OF_CONDUCT.md) and the [contributing guidelines](CONTRIBUTING.md).\n\n## License\n\nThis repository is licensed under the [GPLv3 License](https://www.gnu.org/licenses/gpl-3.0.html). See the [LICENSE](LICENSE) file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feggy115%2Fruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feggy115%2Fruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feggy115%2Fruby/lists"}