castwide / ruby-spawn Goto Github PK
View Code? Open in Web Editor NEWA cross-platform Ruby process function for Node.js.
License: Other
A cross-platform Ruby process function for Node.js.
License: Other
I can't make ruby-debug
work with asdf-vm
.
The only way to make it work is to remove shellArgs.unshift('-l');
from the ruby-spawn
source code.
I can replicate an error in terminal
$ /bin/zsh -l -c "cd /path/to/project/website_api && bundle exec readapt serve"
Traceback (most recent call last):
2: from /usr/bin/bundle:23:in `<main>'
1: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb:302:in `activate_bin_path'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb:283:in `find_spec_for_exe': Could not find 'bundler' (2.2.11) required by your /path/to/project/website_api/Gemfile.lock. (Gem::GemNotFoundException)
To update to the latest version installed on your system, run `bundle update --bundler`.
To install the missing version, run `gem install bundler:2.2.11`
It works if I remove -l
$ /bin/zsh -c "cd /path/to/project/website_api && bundle exec readapt serve"
Readapt Debugger 0.8.1 is listening HOST=127.0.0.1 PORT=1234 PID=38677
Any chance shellArgs.unshift('-l');
can be removed from the source code?
MacOS BigSur (11.2.1)
asdf-vm v0.8.0
VSCode 1.53.2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.