First thing I notices is "bundle install" doesn't work.... I have to install all three manually. I have never downloaded/used Ruby, so I followed your directions to the letter, downloading the 1.9.3 (or whatever it is you offer a direct link to), then downloaded the *.zip file from github, "Open Command Prompt with Ruby", go to the game directory, and bundle install fails...
And now, as I'm writing this, the manual install failed on the Ashton gem... Here's a screenshot...
I don't know what development tools it's requesting (I made sure all three options were selected when I installed Ruby...)
Hey thanks for checking it out!
Dang! I wondered if ashton might end up causing problems. In defense of Ruby and bundler, it probably would have all worked perfectly without ashton, which can sometimes cause technical glitches on certain machines.
It can really easily to be made to work on your system, but it would require a couple of manual changes to the code. I would push to github with ashton taken out, but it's after the deadline, and the github repo is my submission, so I can't really go back and change it after the fact...... hm.....
What I'll do is, I'll make a clone repo (without ashton), and I'll post the link here, so you can check it out.....
https://github.com/MattLemmon/StickBallClone
There it is.
If you want to save yourself the time of re-downloading all the media files, just replace the following four files:
Gemfile
main.rb
/rb/beginning.rb
/rb/field.rb
That should get it to work fine. After you've made these changes, just cd into StickBall and execute `bundle install` and then `ruby main.rb`. I hope you enjoy trying it out. I will look forward to trying out your game this evening. Best wishes!
BTW, I posted previously on the PUTT Techincal Q&A in order to try to identify these compatibility issues prior to the deadline, but this is the first I've heard back about it. Well, we all do what we can. I'm 99.6% sure it will work for you with the changes above. Thanks again for trying it out!
BTW: Another way around the barn might be to install the Ruby dev-tools. There is a good description of how to do this in the Readme and Install documentation of wintertime's game:
It is recommended to install the DevKit package. The game might run without you having the DevKit installed, but I did not test it, and you would get an incomplete Ruby installation, which is not able to compile native Ruby Gems. You should visit
https://github.com/oneclick/rubyinstaller/wiki/Development-Kit to read more documentation on the DevKit if you any get problems installing it. Start the DevKit package to let it unpack into an appropriate place like C:\DevKit and open a console window (DOS window).
Lines starting with "> " show commands to be typed into the console window, without the "> ". Type in:
> c:
> cd \DevKit
> ruby dk.rb init
This is optional to check if it automatically detected the Ruby installation:
> ruby dk.rb review
If you typed the optional command read the output and compare it to the directory where you installed Ruby. If it did not or it also detected another Ruby installation you already had on your computer, open the file config.yml inside the DevKit directory with a text editor, but do not close the console window, edit the list of directories to only list the one you just installed Ruby in ( C:/Ruby193 if you did not change it ).
Now type into the console window:
> ruby dk.rb install
The DevKit is then connected to Ruby.
just make the following manual changes:
1 - In main.rb:4
#require 'ashton'
2 - In rb/field.rb:16
#@mist = Ashton::Shader.new fragment: ......
3 - In rb/field.rb:747
#@mist.time = Gosu.milliseconds/1000.0
4 - in Gemfile: (if you want bundle install to work)
#gem "ashton"
Just comment out or delete all of the stuff listed above, and that should get it to work, BUT, the frame speed will probably be off after removing ashton, so you should also:
5 - copy and paste over the entire contents of the `field.rb` file, using the version from StickBallClone:
https://github.com/MattLemmon/StickBallClone/blob/master/rb/field.rb
6 - also replace the entire contents of `beginning.rb`:
https://github.com/MattLemmon/StickBallClone/blob/master/rb/beginning.rb