Skip to content

crmckenzie/psundle-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PSUNDLE-RUBY

This powershell module provides functions that make working with Ruby easier on Windows.

This module is compatible with Psundle

Ruby Version Switching

Ruby version switching is enabled by the following functions.

Register-Ruby

.SYNOPSIS

Registers the ruby path if it is not already registered.

.PARAMETER path

The path of the ruby to be registered.

Unregister-Ruby

.SYNOPSIS

Removes a path from the list of registered rubies.

.PARAMETER path

The path of the ruby to remove.

Use-Ruby

.SYNOPSIS

Modifies the current shell to use the specified version or ruby.

.PARAMETER version

Regular expression used to match a ruby version.

Import-RubiesInPath

.SYNOPSIS

Detects rubies in $env:Path and registers them with the module.

Set-DefaultRuby

.SYNOPSIS

Sets a particular ruby as the default. This version of ruby is set automatically when the module loads.

.PARAMETER version

Regular expression used to match a ruby version.

For Future Consideration

  • Installation of Ruby - Ruby Devkit
  • Fix for missing gem.bat file in Ruby 2.1.6

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published