Project

reditor

0.01
No commit activity in last 3 years
No release in over 3 years
Open a ruby library with $EDITOR. Reditor supports rubygems, bundler, and stdlib (pure ruby).
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 10.4.2
~> 3.3.0

Runtime

~> 0.1.2
~> 0.1.1
~> 0.19.1
 Project Readme

Reditor Build Status

Reditor provides reditor command.

This command detect and open a library from $LOAD_PATH or rubygems.

reditor requires the $EDITOR variable.

Installation

  $ gem install reditor

Usage

Open a Standard Library (pure ruby only)

  $ reditor set

Open a gem

  $ reditor railties

Open a library by $SHELL

  $ reditor sh railties

Open a gem on bundler project

Reditor opens a gem that specified in Gemfile by default. If you want to avoid it, pass the --global option.

$ gem list rack

*** LOCAL GEMS ***

rack (1.5.2, 1.4.5)

$ bundle list rack
/(snip)/rack-1.4.5

$ reditor rack          # open rack-1.4.5
$ reditor rack --global # open rack-1.5.2

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request