Revision history [back]
Thanks Julien for useful code. While I just work with one or two versions at same time, I find out this setup lauch for VS Code (other IDE would be similar). My key concern is require 'openstudio' needs proper RUBYLIB path. Not sure how to setup RUBYLIB inside script
"configurations": [
{
"name": "RunFile",
"type": "Ruby",
"request": "launch",
"cwd": "${fileDirname}",
"program": "${file}",
"env":
{
"OS_291": "/Users/home/Desktop/App/Run/OpenStudio/OpenStudio_2_9_1/bin/openstudio",
"RUBYLIB":"/Users/home/Desktop/App/Run/OpenStudio/OpenStudio_2_9_1/Ruby"
}
}
]
Thanks Julien for useful code. While I just work with one or two versions at same time, I find out this setup lauch for VS Code (other IDE would be similar). My key concern is require 'openstudio' needs need proper RUBYLIB path. Not sure how to setup RUBYLIB inside script
"configurations": [
{
"name": "RunFile",
"type": "Ruby",
"request": "launch",
"cwd": "${fileDirname}",
"program": "${file}",
"env":
{
"OS_291": "/Users/home/Desktop/App/Run/OpenStudio/OpenStudio_2_9_1/bin/openstudio",
"RUBYLIB":"/Users/home/Desktop/App/Run/OpenStudio/OpenStudio_2_9_1/Ruby"
}
}
]
Thanks Julien for useful code. While I am just work with one or two versions at the same time, I find out this setup lauch for VS Code (other IDE would be similar). My key concern is require 'openstudio' need proper RUBYLIB path. Not sure how to setup RUBYLIB inside script
"configurations": [
{
"name": "RunFile",
"type": "Ruby",
"request": "launch",
"cwd": "${fileDirname}",
"program": "${file}",
"env":
{
"OS_291": "/Users/home/Desktop/App/Run/OpenStudio/OpenStudio_2_9_1/bin/openstudio",
"RUBYLIB":"/Users/home/Desktop/App/Run/OpenStudio/OpenStudio_2_9_1/Ruby"
}
}
]
Thanks Julien for useful code. While I am just work with one or two versions at the same time, I find out this setup lauch for VS Code (other IDE would be similar). My key concern is require 'openstudio' need proper RUBYLIB path. Not sure how to setup RUBYLIB inside script
"configurations": [
{
"name": "RunFile",
"type": "Ruby",
"request": "launch",
"cwd": "${fileDirname}",
"program": "${file}",
"env":
{
"OS_291": "/Users/home/Desktop/App/Run/OpenStudio/OpenStudio_2_9_1/bin/openstudio",
"RUBYLIB":"/Users/home/Desktop/App/Run/OpenStudio/OpenStudio_2_9_1/Ruby"
"/Users/kcu/Desktop/App/Run/OpenStudio/OpenStudio_2_9_1/bin/openstudio",
"RUBYLIB":"/Users/kcu/Desktop/App/Run/OpenStudio/OpenStudio_2_9_1/Ruby"
}
}
]
Thanks Julien for useful code. While I am just work with one or two versions at the same time, I find out this setup lauch for VS Code (other IDE would be similar). My key concern is require 'openstudio' need proper RUBYLIB path. Not sure how to setup RUBYLIB inside scriptscript
"configurations": [
{
"name": "RunFile",
"type": "Ruby",
"request": "launch",
"cwd": "${fileDirname}",
"program": "${file}",
"env":
{
"OS_291": "/Users/kcu/Desktop/App/Run/OpenStudio/OpenStudio_2_9_1/bin/openstudio",
"RUBYLIB":"/Users/kcu/Desktop/App/Run/OpenStudio/OpenStudio_2_9_1/Ruby"
}
"configurations": [
{
"name": "RunFile",
"type": "Ruby",
"request": "launch",
"cwd": "${fileDirname}",
"program": "${file}",
"env":
{
"OS_291": "/Users/kcu/Desktop/App/Run/OpenStudio/OpenStudio_2_9_1/bin/openstudio",
"RUBYLIB":"/Users/kcu/Desktop/App/Run/OpenStudio/OpenStudio_2_9_1/Ruby"
}
}
]