{"comment":{"created_at":"2011-10-14T13:26:01Z","body":"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","updated_at":"2011-10-14T13:26:01Z","url":"https://api.github.com/repos/devboy/gator/issues/comments/2406505","id":2406505,"user":{"avatar_url":"https://secure.gravatar.com/avatar/ffe708bc5ff2f51d5a4632070c5aad4b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"ffe708bc5ff2f51d5a4632070c5aad4b","url":"https://api.github.com/users/weyert","id":7049,"login":"weyert"}},"action":"created","issue":{"number":6,"created_at":"2011-09-21T08:33:33Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"I am having the following gator.rb file in my project;\r\n\r\n     require \"gator/as3/generators\"\r\n     require \"gator/as3/generators/test/asunit4\"\r\n     \r\n     project Gator::Project::ProjectBase.new\r\n     \r\n     project.layout[:source,:main,:as3] = \"flash/src\"\r\n     project.layout[:source,:test,:as3] = \"tdd/flash/src\"\r\n\r\nNow if I call gator in my project I am getting the following error:\r\n\r\nC:/Users/x/Ruby191/lib/ruby/gems/1.9.1/gems/gator-as3-0.0.7.pre/lib/gator/as3/generators/klass.rb:3:i\r\nn `<module:AS3>': uninitialized constant Gator::AS3::Task (NameError)\r\n        from C:/Users/x/Ruby191/lib/ruby/gems/1.9.1/gems/gator-as3-0.0.7.pre/lib/gator/as3/generators\r\n/klass.rb:2:in `<module:Gator>'\r\n        from C:/Users/x/Ruby191/lib/ruby/gems/1.9.1/gems/gator-as3-0.0.7.pre/lib/gator/as3/generators\r\n/klass.rb:1:in `<top (required)>'\r\n        from C:/Users/x/Ruby191/lib/ruby/gems/1.9.1/gems/gator-as3-0.0.7.pre/lib/gator/as3/generators\r\n/collection.rb:1:in `require'\r\n        from C:/Users/x/Ruby191/lib/ruby/gems/1.9.1/gems/gator-as3-0.0.7.pre/lib/gator/as3/generators\r\n/collection.rb:1:in `<top (required)>'\r\n        from C:/Users/x/Ruby191/lib/ruby/gems/1.9.1/gems/gator-as3-0.0.7.pre/lib/gator/as3/generators\r\n.rb:1:in `require'\r\n        from C:/Users/x/Ruby191/lib/ruby/gems/1.9.1/gems/gator-as3-0.0.7.pre/lib/gator/as3/generators\r\n.rb:1:in `<top (required)>'\r\n        from E:/y/workspace/gator.rb:1:in `require'\r\n        from E:/y/workspace/gator.rb:1:in `<main>'\r\n\r\nWhat am I doing wrong?\r\n\r\nMy gems list:\r\n\r\ngator (0.0.21.pre, 0.0.20.pre)\r\ngator-as3 (0.0.7.pre)\r\ngator-as3-robotlegs (0.0.3.pre)\r\n\r\nMy gator output:\r\n\r\nE:\\>gator version\r\n0.0.21.pre\r\n\r\n","comments":3,"title":"Gator with AS3 generators not working anymore","updated_at":"2011-10-14T13:26:01Z","url":"https://api.github.com/repos/devboy/gator/issues/6","id":1695131,"assignee":null,"milestone":null,"closed_at":"2011-09-21T11:19:17Z","user":{"avatar_url":"https://secure.gravatar.com/avatar/ffe708bc5ff2f51d5a4632070c5aad4b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"ffe708bc5ff2f51d5a4632070c5aad4b","url":"https://api.github.com/users/weyert","id":7049,"login":"weyert"},"html_url":"https://github.com/devboy/gator/issues/6","labels":[],"state":"closed"},"legacy":{"issue_id":1695131,"comment_id":2406505}}