Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Ruby environmentsNew to Visual Studio Code? Get it now.
Ruby environments

Ruby environments

Naoto Ono

|
1 install
| (0) | Free
Ruby environment management
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Ruby environments

This extension provides Ruby environment management for VS Code, providing ways for detecting the Ruby interpreter in the user's machine with integrations to version managers. It is intended to be used as a dependency of other extensions that need to activate the Ruby environment in order to launch Ruby executables, such as the Ruby LSP and Ruby debug.

Features

TODO: this extension is getting extracted from the Ruby LSP.

Extension Settings

TODO

{
    "extensionDependencies": [
        "shopify.ruby-environments"
    ],
    "dependencies": {
        "@shopify/ruby-environments": "..."
    },
}

API

TODO

// Import the API
import { RubyEnvironments } from '@shopify/ruby-environments';

// Load the RubyEnvironments API
const rubyEnvApi: RubyEnvironmentsApi = await RubyEnvironmentsApi.getApi();

// Retrieve the resolved Ruby environment.
const rubyEnv = await rubyEnvApi.getEnvironment(vscode.workspace.workspaceFolders[0]);
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft