https://github.com/itachi1621/ruby-project-creation-script
This is a simple shell script that automates the process of creating a new Ruby project and initializing Git repository.
https://github.com/itachi1621/ruby-project-creation-script
bash bash-script ruby shell shell-script
Last synced: about 2 months ago
JSON representation
This is a simple shell script that automates the process of creating a new Ruby project and initializing Git repository.
- Host: GitHub
- URL: https://github.com/itachi1621/ruby-project-creation-script
- Owner: itachi1621
- License: mit
- Created: 2023-03-31T21:49:29.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-31T22:57:06.000Z (over 3 years ago)
- Last Synced: 2025-09-03T15:49:51.735Z (10 months ago)
- Topics: bash, bash-script, ruby, shell, shell-script
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ruby Project Creation Script
This is a simple shell script that automates the process of creating a new Ruby project and initializing Git repository.
## Requirements
1. Git installed on your system
2. Ruby installed on your system
## Usage
1. Clone this repository or download the `ruby_project_make.sh` script.
2. Open a terminal and navigate to the directory where you want to create your project.
3. Place `ruby_project_make.sh` script in that directory
4. Run the script using one the following commands:
**i.** If you want to create using an argument for the project name,
run the following command:
```
sh /path/to/ruby_project_make.sh project_name
```
**or**
**i.** If you want to create using a prompt for the project name, run the following command:
```
sh /path/to/ruby_project_make.sh
```
**ii.** Follow the prompt to enter your `project name`
### Following actions will then happen:
1. The script will create a new directory named with `project_name`
2. Initialize a Git repository
3. Set repository branch to `main`
4. Create a `README.md` file with the `project name` as its contents.
5. Create a empty `LICENCE` file.
6. Create a `.gitignore` file
7. Create a empty ruby file with the name `project_name.rb`
You can start working on your project by opening the project directory in your favorite code editor.
## License
This script is released under the MIT License. Feel free to modify and use it however you like.