mirah / dubious

A Web Framework Written in Mirah for running on AppEngine
Apache License 2.0
121 stars 13 forks source link

org/mirah/Compiler.duby:4: undefined method `build_constructor' for #<BiteScript::ClassBuilder:0xc393a1> #11

Closed hakunin closed 13 years ago

hakunin commented 13 years ago

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.

hakunin commented 13 years ago

Hmm so the problem was that I had 0.0.6 bitestricpt installed. Removing 0.0.6 did the trick.

hakunin commented 13 years ago

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

baroquebobcat commented 13 years ago

try using baroquebobcat/bitescript

hakunin commented 13 years ago

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.

baroquebobcat commented 13 years ago

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.

baroquebobcat commented 13 years ago

fixed by new bitescript.