Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 1.24 KB

README.md

File metadata and controls

43 lines (26 loc) · 1.24 KB

IrubyGem

iruby_gem is a pack of lines of code used to install gems in a Ruby program on the fly, especially in a IRuby notebook, or IRB/Pry console.

Installation

Add this line to your application's Gemfile:

gem 'iruby_gem'

And then execute:

$ bundle

Or install it yourself as:

$ gem install iruby_gem

Usage

require 'iruby_gem'

gem_install("some_gem", "~> 0.2.1")
# Or shortly for a lazy guy
gem_i("some_gem", "~> 0.2.1")
# and you can omit the version restriction if you don't need it
gem_i("some_gem")

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/gingerhot/iruby_gem. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the IrubyGem project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.