First time here? Check out the Help page!
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/kcu/Desktop/App/Run/OpenStudio/OpenStudio_2_9_1/bin/openstudio",
"RUBYLIB":"/Users/kcu/Desktop/App/Run/OpenStudio/OpenStudio_2_9_1/Ruby"
}
}
]
![]() | 2 | No.2 Revision |
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
script
"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"
} }
}
]
3 No.3 Revision
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/kcu/Desktop/App/Run/OpenStudio/OpenStudio_2_9_1/bin/openstudio",
"RUBYLIB":"/Users/kcu/Desktop/App/Run/OpenStudio/OpenStudio_2_9_1/Ruby"
"/Users/home/Desktop/App/Run/OpenStudio/OpenStudio_2_9_1/bin/openstudio",
"RUBYLIB":"/Users/home/Desktop/App/Run/OpenStudio/OpenStudio_2_9_1/Ruby"
}
}
]
4 No.4 Revision
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"
}
}
]
5 No.5 Revision
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' need 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"
}
}
]
Site design and logo: Copyright © 2015 Big Ladder Software LLC. All rights reserved.
The Unmet Hours and Big Ladder names and logos are trademarks of Big Ladder Software LLC.
User contributions licensed under the Creative Commons Attribution Share Alike 3.0 License.