Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/otaviof/rbenv-rsense
rbenv plugin for RSense configuration
https://github.com/otaviof/rbenv-rsense
Last synced: about 1 month ago
JSON representation
rbenv plugin for RSense configuration
- Host: GitHub
- URL: https://github.com/otaviof/rbenv-rsense
- Owner: otaviof
- Created: 2015-04-28T09:45:23.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-04-28T11:49:34.000Z (over 9 years ago)
- Last Synced: 2023-03-10T21:47:52.525Z (over 1 year ago)
- Language: Shell
- Size: 121 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
`rbenv-rsense`: rbenv Plugin for RSense
=======================================A rbenv plugin to help on [RSense](http://cx4a.org/software/rsense/) configuration, making sure you have RSENSE_HOME installed and available and also `~/.rsense` configuration file generated within "rehash" hook.
## Requirements
RSense installed. Some suggestions, via Homebrew:
```
$ brew install rsense
```Or via `gem`:
```
$ gem install rsense
```And then, make sure you export `RSENSE_HOME` pointing to their installation directory, for example:
```
$ echo $RSENSE_HOME
/usr/local/Cellar/rsense/0.3
```## Installation
Just clone this repo on rbenv plugin directory, which will by default be at:
```
$ cd ~/.rbenv/plugins
$ git clone https://github.com/otaviof/rbenv-rsense.git
```## Usage
For now the only available sub-command is "config":
```
$ rbenv rsense
Available rsense commands:
* config
```Calling it, or just using default rbenv completion:
```
$ rbenv rsense config
RSENSE_HOME is set to '/usr/local/Cellar/rsense/0.3'
```Within `rehash` hook we will provide a `~/.rsense` configuration file:
```
$ rbenv rehash
```Registered hook:
```
$ rbenv hooks rehash
/Users/otaviof/.rbenv/plugins/rbenv-rsense/etc/rbenv.d/rehash/rsense-config.bash
```