Error wile trying to run newjs

2 views
Skip to first unread message

Elfred Pagan

unread,
Feb 15, 2008, 2:46:13 PM2/15/08
to JavaScript Project Generator
When I try and run: newjs test, I get:

/Library/Ruby/Gems/1.8/gems/rubigen-1.2.0/lib/rubigen/scripts/../
options.rb:5: warning: redefine included
/Library/Ruby/Gems/1.8/gems/rubigen-1.2.0/lib/rubigen/scripts/../
options.rb:21: warning: method redefined; discarding old
mandatory_options
/Library/Ruby/Gems/1.8/gems/rubigen-1.2.0/lib/rubigen/scripts/../
options.rb:29: warning: method redefined; discarding old
default_options
/Library/Ruby/Gems/1.8/gems/rubigen-1.2.0/lib/rubigen/scripts/../
options.rb:41: warning: method redefined; discarding old full_options
/Library/Ruby/Gems/1.8/gems/rubigen-1.2.0/lib/rubigen/scripts/../
options.rb:48: warning: method redefined; discarding old options
/Library/Ruby/Gems/1.8/gems/rubigen-1.2.0/lib/rubigen/scripts/../
options.rb:55: warning: method redefined; discarding old
mandatory_options
/Library/Ruby/Gems/1.8/gems/rubigen-1.2.0/lib/rubigen/scripts/../
options.rb:60: warning: method redefined; discarding old
default_options
/Library/Ruby/Gems/1.8/gems/rubigen-1.2.0/lib/rubigen/scripts/../
options.rb:69: warning: method redefined; discarding old full_options
/Library/Ruby/Gems/1.8/gems/rubigen-1.2.0/lib/rubigen/scripts/../
options.rb:80: warning: method redefined; discarding old parse!
/Library/Ruby/Gems/1.8/gems/rubigen-1.2.0/lib/rubigen/scripts/../
options.rb:97: warning: method redefined; discarding old usage
/Library/Ruby/Gems/1.8/gems/rubigen-1.2.0/lib/rubigen/scripts/../
options.rb:101: warning: method redefined; discarding old
usage_message
/Library/Ruby/Gems/1.8/gems/rubigen-1.2.0/lib/rubigen/scripts/../
options.rb:106: warning: method redefined; discarding old banner
/Library/Ruby/Gems/1.8/gems/rubigen-1.2.0/lib/rubigen/scripts/../
options.rb:114: warning: method redefined; discarding old add_options!
/Library/Ruby/Gems/1.8/gems/rubigen-1.2.0/lib/rubigen/scripts/../
options.rb:118: warning: method redefined; discarding old
add_general_options!
/Library/Ruby/Gems/1.8/gems/rubigen-1.2.0/lib/rubigen/spec.rb:15:
warning: instance variable @klass not initialized
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no such file to load -- newgem/rubyforge
(MissingSourceFile)
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in
`require'
from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/
active_support/dependencies.rb:496:in `require'
from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/
active_support/dependencies.rb:342:in `new_constants_in'
from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/
active_support/dependencies.rb:496:in `require'
from /Library/Ruby/Gems/1.8/gems/newjs-1.0.3/app_generators/newjs/
newjs_generator.rb:96:in `extract_options'
from /Library/Ruby/Gems/1.8/gems/newjs-1.0.3/app_generators/newjs/
newjs_generator.rb:22:in `initialize'
from /Library/Ruby/Gems/1.8/gems/rubigen-1.2.0/lib/rubigen/lookup.rb:
163:in `new'
from /Library/Ruby/Gems/1.8/gems/rubigen-1.2.0/lib/rubigen/lookup.rb:
163:in `instance'
from /Library/Ruby/Gems/1.8/gems/rubigen-1.2.0/lib/rubigen/scripts/../
scripts.rb:30:in `run'
from /Library/Ruby/Gems/1.8/gems/newjs-1.0.3/bin/newjs:17
from /usr/bin/newjs:19:in `load'
from /usr/bin/newjs:19


Any hints?

Nic Williams

unread,
Feb 15, 2008, 3:12:40 PM2/15/08
to javascript-pro...@googlegroups.com
Oops, missing file.

Look for v1.0.4 for fix.

Thanks
Nic

http://drnicwilliams.com - Ruby/Rails/Javascript/Web2.0
(skype) nicwilliams
(p) +61 412 002 126 / +61 7 3113 3033
(mail) PO Box 583 Ashgrove 4060 QLD Aus

Nic Williams

unread,
Feb 15, 2008, 3:17:30 PM2/15/08
to javascript-pro...@googlegroups.com
As for all the "redefine" warnings, I get them too but some people don't. Not sure what's causing them yet.
--
Dr Nic Williams
http://drnicacademy.com - Ruby/Rails training/dev around the world

Elfred Pagan

unread,
Feb 15, 2008, 4:30:46 PM2/15/08
to JavaScript Project Generator
Thanks

On Feb 15, 2:17 pm, "Nic Williams" <drnicwilli...@gmail.com> wrote:
> As for all the "redefine" warnings, I get them too but some people don't.
> Not sure what's causing them yet.
>
> > --
> > Dr Nic Williams
> >http://drnicacademy.com- Ruby/Rails training/dev around the world
> >http://drnicwilliams.com- Ruby/Rails/Javascript/Web2.0
> > (skype) nicwilliams
> > (p) +61 412 002 126 / +61 7 3113 3033
> > (mail) PO Box 583 Ashgrove 4060 QLD Aus
>
> --
> Dr Nic Williamshttp://drnicacademy.com- Ruby/Rails training/dev around the worldhttp://drnicwilliams.com- Ruby/Rails/Javascript/Web2.0
Reply all
Reply to author
Forward
0 new messages