<PMunch>
I wanted to try out Apricot but I'm having some issues making it run
<cremes>
what kind of problems?
<PMunch>
Right of the bat it said I needed Rubinius 2.0.0 or newer. Which was strange since I have 3.20, I found a line in Apricot which looked for a version number starting with "2" and added a new test for "3". This made it compile but now I'm getting this: http://pastebin.com/d5tbYpmY
<cremes>
PMunch: is apricot a language that runs on the rubinius platform?
<cremes>
ok, then it’s probably suffering from a little bit-rot.
<cremes>
i don’t know the last time apricot has been tested against rubinius master so it probably broke a while ago and no one noticed
<cremes>
:(
<PMunch>
Hmm, that's a shame..
<cremes>
agreed
<cremes>
i’m sure it could get fixed but that’s a bit beyond my ability. sorry.
<PMunch>
Hmm, if I knew more Ruby I could probably do it myself..
<cremes>
give it a shot. you might surprise yourself.
<PMunch>
Apparently this is the line: class Generator < Rubinius::ToolSet::Runtime::Generator
<PMunch>
Which I assume means that the Generator class should inherit that Rubinius class
<cremes>
PMunch: i’m installing apricot now. send me a pastie of what you tried to run that generated that error
<PMunch>
I tried to run ./apricot from the gem/apricot-0.0.2/bin folder
<PMunch>
After having updated the first line in apricot.rb to: unless RUBY_VERSION.start_with?("2") && RUBY_ENGINE == "rbx" && (Rubinius::VERSION.start_with?("2") || Rubinius::VERSION.start_with?("3"))
<cremes>
ok, hold on
<PMunch>
And run "gem build apricot.gemspec"
<cremes>
PMunch: so it looks like Rubinius::ToolSet has become Rubinius::ToolSets (notice “s” on end)
<PMunch>
Aaah
<cremes>
so, update apricot.rb, code_loader.rb and compiler.rb to use ToolSets and try again. I can get an “apricot” prompt after making those changes
<cremes>
see? some minor bitrot… and probably not the last of it either
<PMunch>
Cool
<cremes>
but you can see that it’s probably not impossible to figure out and fix
<PMunch>
I'll try it out
<cremes>
great
<cremes>
i’m out of here… have a good afternoon.
<PMunch>
Have a good afternoon you as well
<PMunch>
And thanks for the help
<cremes>
if you have other questions, leave’ them here or join our channel on gitter.im at gitter.im/rubinius/rubinius
machty has quit [Ping timeout: 248 seconds]
flavorjones has quit [Ping timeout: 248 seconds]
flavorjones has joined #rubinius
machty has joined #rubinius
GitHub62 has joined #rubinius
<GitHub62>
[rubinius] chuckremes pushed 1 new commit to codedb-ffi-io: https://git.io/vVamm
GitHub62 has left #rubinius [#rubinius]
<GitHub62>
rubinius/codedb-ffi-io 5e3dc89 Chuck Remes: Merge branch 'master' into codedb-ffi-io
dmilith has quit [Excess Flood]
dmilith has joined #rubinius
PMunch has quit [Read error: Connection reset by peer]