org/mirah/Compiler.duby:4: undefined method `build_constructor' for #<BiteScript::ClassBuilder:0xc393a1>
hakunin opened this issue · comments
I'm following the instructions
http://github.com/mirah/dubious/blob/master/README.rdoc
but got org/mirah/Compiler.duby:4: undefined method `build_constructor' for #BiteScript::ClassBuilder:0xc393a1 error.
Hmm so the problem was that I had 0.0.6 bitestricpt installed. Removing 0.0.6 did the trick.
But then this command installs bitescript 0.0.6 again!
michal@domov:~/mystuff/mirah$ jgem install mirah-*
But now, removing the gem again breaks the dependencies!
mirah-0.0.4 depends on [bitescript (>= 0.0.6)] <- but mirah deson't work with 0.0.6!
The problem can be fixed with adding
ENV['MIRAH_HOME'] = File.expand_path '../mirah'
Because ENV['MIRAH_HOME'] is never present even though I have set MIRAH_HOME on my machine!
michal@domov:~/mystuff/dubious$ $MIRAH_HOME
bash: /home/michal/mystuff/mirah: je adresářem
try using baroquebobcat/bitescript
it would be nice if bitescript was simple bundled with mirah or something.
Since Mirah moves fast it would be handy for everybody to have the right versions.
The main problem was that master on github didn't have the 0.0.6 version commit, so its version was 0.0.5, which meant that the rubygems version overrode it.
fixed by new bitescript.