An open API service indexing awesome lists of open source software.

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

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