Commit e0629e30 authored by Cool Fire's avatar Cool Fire

Use bundle exec

parent 81836b1f
......@@ -9,7 +9,7 @@ var blessed = require('blessed')
const { spawnSync } = require( 'child_process' )
function fetch() {
spawnSync( 'ruby', [ 'fetch.rb' ] );
spawnSync( 'bundle', [ 'exec', 'ruby', 'fetch.rb' ] );
lineData = JSON.parse(fs.readFileSync('main_loads.json', 'utf8'));
line.setData(lineData);
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment