You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to inspect the environment with byebug (I hope it is available for jruby) but if I install jruby and gems in a usual way, how do I tell this thing to use them instead of provided .jar in repo?
The text was updated successfully, but these errors were encountered:
Hi Nakilon. I am not sure, I've done it this way because I'm not very familiar with JRuby and this was the way I got it to work. If you got it to work another way then I'm very interested, maybe you could write up a small tutorial/article?
I imagine adding gems should be as simple as adding a Gemfile, installing bundler and adding dependencies that way, possibly using bundle exec to run the bot. If that doesn't work then I'm not sure, and you're better off asking some JRuby peeps.
By the way, not to discourage you, but I got a little annoyed with the API from Ruby. I kept creating difficult to track down bugs, and I feel Ruby wasn't really helping me in that regard. Perhaps building a slightly higher level API to BWAPI in a statically compiled language would be helpful.
Sadly JRuby is known to have almost a thousand of issues and I'm not experienced in Java, so I'm not sure how it works. I'll ask someone on freenode maybe.
And yeah, ruby_example works fine. Even with Starcraft downloaded from somewhere else, piratebay I guess.
I would like to inspect the environment with byebug (I hope it is available for jruby) but if I install jruby and gems in a usual way, how do I tell this thing to use them instead of provided .jar in repo?
The text was updated successfully, but these errors were encountered: