Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Netbeans is using "--runner" option when executing 'rake spec' #150

Closed
norseman99 opened this issue Sep 20, 2010 · 6 comments
Closed

Netbeans is using "--runner" option when executing 'rake spec' #150

norseman99 opened this issue Sep 20, 2010 · 6 comments

Comments

@norseman99
Copy link

This problem is described here:
http://www.ruby-forum.com/topic/217187

@ghost
Copy link

ghost commented Apr 6, 2011

I've have the same thing happening after updating RSpec from v1 v2. It runs from the command line, and it executes from RubyMine. Netbeans gives it problems, however. I wish I could provide you with better formatted lines.

dvn

(in C:/Documents and Settings/dnielsen/My Documents/NetBeansProjects/RubyGS)
c:/ruby/bin/ruby.exe -S rspec ./spec/rubygs_spec.rb
c:/ruby/lib/ruby/1.8/optparse.rb:1450:in complete': invalid option: --runner (OptionParser::InvalidOption) from c:/ruby/lib/ruby/1.8/optparse.rb:1448:incatch'
from c:/ruby/lib/ruby/1.8/optparse.rb:1448:in complete' from c:/ruby/lib/ruby/1.8/optparse.rb:1261:inparse_in_order'
from c:/ruby/lib/ruby/1.8/optparse.rb:1254:in catch' from c:/ruby/lib/ruby/1.8/optparse.rb:1254:inparse_in_order'
from c:/ruby/lib/ruby/1.8/optparse.rb:1248:in order!' from c:/ruby/lib/ruby/1.8/optparse.rb:1339:inpermute!'
from c:/ruby/lib/ruby/1.8/optparse.rb:1360:in parse!' from c:/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.5.1/lib/rspec/core/option_parser.rb:18:inparse!'
from c:/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.5.1/lib/rspec/core/option_parser.rb:4:in parse!' from c:/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.5.1/lib/rspec/core/configuration_options.rb:83:inenv_options'
from c:/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.5.1/lib/rspec/core/configuration_options.rb:72:in parse_options' from c:/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.5.1/lib/rspec/core/runner.rb:41:inrun'
from c:/ruby/lib/ruby/gems/1.8/gems/rspec-core-2.5.1/lib/rspec/core/runner.rb:10:in autorun' from c:/ruby/bin/rspec:19 rake aborted! ruby -S rspec ./spec/rubygs_spec.rb failed rake aborted! Invalid escape character syntax: /C:\Documents and Settings\dnielsen\My Documents\NetBeansProjects\RubyGS\Rakefile/ c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2082:instandard_exception_handling': Invalid escape character syntax: /C:\Documents and Settings\dnielsen\My Documents\NetBeansProjects\RubyGS\Rakefile/ (RegexpError)
from c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2082:in find' from c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2082:ineach'
from c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2082:in find' from c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2082:instandard_exception_handling'
from c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in run' from c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 from C:/Ruby/bin/rake:19:inload'
from C:/Ruby/bin/rake:19

Finished in 0.0 seconds.
0 tests, 0 failures, 0 errors

@dchelimsky
Copy link
Contributor

This is almost a year old - is it still an issue?

@ghost
Copy link

ghost commented Jul 12, 2011

a) Yes it is.
b) I get around it by doing rspec from the command line.
c) Netbeans has dropped support of Ruby. Correct?

On , dchelimsky
reply@reply.github.com
wrote:

This is almost a year old - is it still an issue?

Reply to this email directly or view it on GitHub:

#150 (comment)

@dchelimsky
Copy link
Contributor

According to http://wiki.netbeans.org/RubySupport, yes, Ruby support has dropped and your only option is to use an older version of Netbeans. I'm going to close this issue as I can't rationalize hacking rspec to support an IDE that is no longer supporting Ruby.

@ghost
Copy link

ghost commented Jul 13, 2011

Completely understood. I think the JetBrains IDE supports rspec just fine.

On , dchelimsky
reply@reply.github.com
wrote:

According to http://wiki.netbeans.org/RubySupport, yes, Ruby support has
dropped and your only option is to use an older version of Netbeans. I'm
going to close this issue as I can't validate rationalize hacking rspec
to support an IDE that is no longer supporting Ruby.

Reply to this email directly or view it on GitHub:

#150 (comment)

@PizzaPill
Copy link

Netbeans 7.0.1 has a Ruby/Rails Plugin and the issue still exists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants