Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nak1114/rbenv-win
rbenv for Windows
https://github.com/nak1114/rbenv-win
Last synced: 26 days ago
JSON representation
rbenv for Windows
- Host: GitHub
- URL: https://github.com/nak1114/rbenv-win
- Owner: nak1114
- License: mit
- Created: 2016-03-20T06:47:39.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-09-18T18:10:41.000Z (about 2 years ago)
- Last Synced: 2024-08-03T16:08:49.908Z (4 months ago)
- Language: VBScript
- Size: 71.3 KB
- Stars: 102
- Watchers: 9
- Forks: 33
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-version-managers - rbenv-win - A porting of rbenv to Windows. (Version Managers / Ruby)
README
# rbenv for Windows
The rbenv is a great tool. I ported it to Windows.
Some commands doesn't implemented, but wouldn't be a problem in basic use.## Usage
Show all implement commands.
````
> rbenv commands
````How to use the detailed command, please refer to the [original rbenv](https://github.com/rbenv/rbenv).
## Installation
Installer is [here](https://gist.github.com/7ea63204203883c5884d.git).
Install `rbenv for windows` to your `USERPROFILE` directory.1. Clone git repositry
````
> git clone https://github.com/nak1114/rbenv-win.git %USERPROFILE%\.rbenv-win
````2. Config path
Add the `bin` & `shims` directory to your `PATH` environment variable for access to the rbenv command````
> for /f "skip=2 delims=" %a in ('reg query HKCU\Environment /v Path') do set orgpath=%a
> setx Path "%USERPROFILE%\.rbenv-win\bin;%USERPROFILE%\.rbenv-win\shims;%orgpath:~22%"
````3. Restart your shell
````
> exit
````4. Run the following command after `rbenv` installation , to enable the `ruby`.
````
> rbenv install 2.2.4
> rbenv global 2.2.4
> rbenv rehash
````## License
The scripts is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
## Development
Release test is performed in the following procedure.
````
> git clone https://github.com/nak1114/rbenv-win.git
> cd /test
> test.bat
````This test requires the FireFox.
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/nak1114/rbenv-win.
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.