Skip to content

systemu 2.6.5 breaks cli ruby scripts with inline bundle #49

@BrackXs

Description

@BrackXs
require 'bundler/inline'

gemfile do
  source 'https://rubygems.org'
  gem 'systemu'
end
puts 1
status, stdout, stderr = systemu 'date'
p [ status, stdout, stderr ]
puts 2

generates

1
/home/.../Gemfile not found
/home/.../Gemfile not found
no ruby in PATH/CONFIG
sh: 1: nil: not found
/home/.../.rvm/gems/ruby-2.4.0/gems/systemu-2.6.5/lib/systemu.rb:97:in `rescue in block (3 levels) in systemu': systemu: Error - process interrupted! (RuntimeError)

	from /home/.../.rvm/gems/ruby-2.4.0/gems/systemu-2.6.5/lib/systemu.rb:90:in `block (3 levels) in systemu'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions