Closed weyert closed 13 years ago
Hey Weyert,
Problem is that repositories of gator, gator-as3 and gator-as3-robotlegs are out of sync. So while gator-as3 might already be on rubygems it links against a development version of gator which is not on rubygems yet. We are currently changing our development and deployment style so we can always ship prereleases and releases that are in sync. Sorry for the inconvinience!
Aah, okidoki.
It's working now. Be note that you need to use gator
instead of gator.rb
to avoid confusing under Windows. I used the latest prerelease versions of gator and gator-as3
I am having the following gator.rb file in my project;
Now if I call gator in my project I am getting the following error:
C:/Users/x/Ruby191/lib/ruby/gems/1.9.1/gems/gator-as3-0.0.7.pre/lib/gator/as3/generators/klass.rb:3:i n'
<module:AS3>': uninitialized constant Gator::AS3::Task (NameError) from C:/Users/x/Ruby191/lib/ruby/gems/1.9.1/gems/gator-as3-0.0.7.pre/lib/gator/as3/generators /klass.rb:2:in
module:Gator' from C:/Users/x/Ruby191/lib/ruby/gems/1.9.1/gems/gator-as3-0.0.7.pre/lib/gator/as3/generators /klass.rb:1:in<top (required)>' from C:/Users/x/Ruby191/lib/ruby/gems/1.9.1/gems/gator-as3-0.0.7.pre/lib/gator/as3/generators /collection.rb:1:in
require' from C:/Users/x/Ruby191/lib/ruby/gems/1.9.1/gems/gator-as3-0.0.7.pre/lib/gator/as3/generators /collection.rb:1:in<top (required)>' from C:/Users/x/Ruby191/lib/ruby/gems/1.9.1/gems/gator-as3-0.0.7.pre/lib/gator/as3/generators .rb:1:in
require' from C:/Users/x/Ruby191/lib/ruby/gems/1.9.1/gems/gator-as3-0.0.7.pre/lib/gator/as3/generators .rb:1:in<top (required)>' from E:/y/workspace/gator.rb:1:in
require' from E:/y/workspace/gator.rb:1:in `What am I doing wrong?
My gems list:
gator (0.0.21.pre, 0.0.20.pre) gator-as3 (0.0.7.pre) gator-as3-robotlegs (0.0.3.pre)
My gator output:
E:>gator version 0.0.21.pre