https://github.com/sixarm/sixarm_ruby_gemini
SixArm.com » Ruby » Gemini gem initialization and install helper
https://github.com/sixarm/sixarm_ruby_gemini
gem ruby
Last synced: over 1 year ago
JSON representation
SixArm.com » Ruby » Gemini gem initialization and install helper
- Host: GitHub
- URL: https://github.com/sixarm/sixarm_ruby_gemini
- Owner: SixArm
- License: other
- Created: 2010-10-18T20:49:25.000Z (over 15 years ago)
- Default Branch: main
- Last Pushed: 2023-09-15T19:28:12.000Z (almost 3 years ago)
- Last Synced: 2025-02-06T00:25:16.129Z (over 1 year ago)
- Topics: gem, ruby
- Language: Ruby
- Homepage: http://sixarm.com
- Size: 250 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# SixArm.com → Ruby →
Gemini is a gem initialization helper
* Doc:
* Gem:
* Repo:
## Introduction
Simple gem management methods.
For docs go to
Want to help? We're happy to get pull requests.
## Install
### Gem
To install this gem in your shell or terminal:
gem install sixarm_ruby_gemini
### Gemfile
To add this gem to your Gemfile:
gem 'sixarm_ruby_gemini'
### Require
To require the gem in your code:
require 'sixarm_ruby_gemini'
## Examples
Is a gem installed?
Gemini.installed?(:name=>'foo',:version=>'2.0.0')
=> true
Install as needed:
Gemini.install(:name=>'foo',:version=>'2.0.0')
=> install passenger 2.0.0 if necessary
Find matching gems:
Gemini.find(:name=>'foo')
=> all gemspecs with name 'foo'
Gemini.find(:name=>'foo',:version=>version_requiremens)
=> all gemspecs with name 'foo' that match the requirments