silver wind
Member
apparently, the script:
include 'file.rb'
just takes a ruby file from the game folder.
/facepalm/ took me too long to figure why i can't load ruby libraries this way.
so if I need to load a library/gem, I need to get its ruby code. but where do I get it?
I have ruby installed in my PC, and when I search .rb files I get no results. is ruby code saved with a different extension? or is it saved on a server, and gems just refer to it? I tried searching the ruby website, but it mainly has docs and small snippets of code. I saw people writing complex scripts, like 3D modes, and keyboard/mouse support, so I assumed it's possible. do people just write everything from scratch?
include 'file.rb'
just takes a ruby file from the game folder.
/facepalm/ took me too long to figure why i can't load ruby libraries this way.
so if I need to load a library/gem, I need to get its ruby code. but where do I get it?
I have ruby installed in my PC, and when I search .rb files I get no results. is ruby code saved with a different extension? or is it saved on a server, and gems just refer to it? I tried searching the ruby website, but it mainly has docs and small snippets of code. I saw people writing complex scripts, like 3D modes, and keyboard/mouse support, so I assumed it's possible. do people just write everything from scratch?