Skip to content

Path issues with Ocra #19

Open
Open
@bil-bas

Description

@bil-bas

reported by lol_o2
It was this standard 'no such file to load: ashton' bug. You just compile game with Ocra and this happens when you want to run it. I fixed it somehow by copying these lines from gosu.rb to ashton.rb:

require 'rbconfig'

if defined? RUBY_PLATFORM and
    %w(-win32 win32- mswin mingw32).any? { |s| RUBY_PLATFORM.include? s } then
  ENV['PATH'] = "#{File.dirname(__FILE__)};#{ENV['PATH']}"
end

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions