Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gingerhot/iruby_gem
Install gems in Jupyter notebook or IRB/Pry console on the fly.
https://github.com/gingerhot/iruby_gem
gems iruby jupyter-notebook
Last synced: 3 months ago
JSON representation
Install gems in Jupyter notebook or IRB/Pry console on the fly.
- Host: GitHub
- URL: https://github.com/gingerhot/iruby_gem
- Owner: gingerhot
- License: mit
- Created: 2018-01-02T11:22:56.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-01T02:48:48.000Z (almost 5 years ago)
- Last Synced: 2024-04-13T21:50:29.198Z (9 months ago)
- Topics: gems, iruby, jupyter-notebook
- Language: Ruby
- Homepage:
- Size: 5.86 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# 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](https://github.com/SciRuby/iruby) notebook, or IRB/Pry console.
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'iruby_gem'
```And then execute:
$ bundle
Or install it yourself as:
$ gem install iruby_gem
## Usage
```ruby
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](http://contributor-covenant.org) code of conduct.
## License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
## 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](https://github.com/gingerhot/iruby_gem/blob/master/CODE_OF_CONDUCT.md).