ashton
ashton copied to clipboard
Path issues with Ocra
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
Wow, this is so old D: It was a problem with Ocra or something. The issue isn't happening anymore.