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

invalid option: -S #15

Open
ramontayag opened this issue Mar 22, 2011 · 2 comments
Open

invalid option: -S #15

ramontayag opened this issue Mar 22, 2011 · 2 comments

Comments

@ramontayag
Copy link

I get this, and I don't know why:

$ fautotest
invalid option: -S
/home/ramon/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/optparse.rb:1450:in `complete'
/home/ramon/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/optparse.rb:1448:in `catch'
/home/ramon/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/optparse.rb:1448:in `complete'
/home/ramon/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/optparse.rb:1287:in `parse_in_order'
/home/ramon/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/optparse.rb:1254:in `catch'
/home/ramon/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/optparse.rb:1254:in `parse_in_order'
/home/ramon/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/optparse.rb:1248:in `order!'
/home/ramon/.rvm/gems/ree-1.8.7-2011.03@rails3/gems/snailgun-1.1.1/lib/snailgun/server.rb:74:in `start_ruby'
/home/ramon/.rvm/gems/ree-1.8.7-2011.03@rails3/gems/snailgun-1.1.1/lib/snailgun/server.rb:53:in `run'
/home/ramon/.rvm/gems/ree-1.8.7-2011.03@rails3/gems/snailgun-1.1.1/lib/snailgun/server.rb:29:in `fork'
/home/ramon/.rvm/gems/ree-1.8.7-2011.03@rails3/gems/snailgun-1.1.1/lib/snailgun/server.rb:29:in `run'
/home/ramon/.rvm/gems/ree-1.8.7-2011.03@rails3/gems/snailgun-1.1.1/bin/snailgun:105
/home/ramon/.rvm/gems/ree-1.8.7-2011.03@rails3/gems/snailgun-1.1.1/bin/snailgun:80:in `fork'
/home/ramon/.rvm/gems/ree-1.8.7-2011.03@rails3/gems/snailgun-1.1.1/bin/snailgun:80
/home/ramon/.rvm/gems/ree-1.8.7-2011.03@rails3/gems/snailgun-1.1.1/bin/snailgun:79:in `each'
/home/ramon/.rvm/gems/ree-1.8.7-2011.03@rails3/gems/snailgun-1.1.1/bin/snailgun:79
/home/ramon/.rvm/gems/ree-1.8.7-2011.03@rails3/bin/snailgun:19:in `load'
/home/ramon/.rvm/gems/ree-1.8.7-2011.03@rails3/bin/snailgun:19
@candlerb
Copy link
Owner

Somehow autotest passed a -S option, which snailgun doesn't accept.

fruby only implements a small subset of ruby command line options (see lib/snailgun/server.rb line 74 onwards): -e, -I, -r, -KU

Perhaps this could be added by someone who understands what autotest is doing with this option.

@szymon-przybyl
Copy link

when I try to run spec tests ("snailgun -I spec" and "frake spec") i also get that invalid option: -S at:
fruby -S bundle exec rspec ./spec/c...

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