daze
2010-Nov-25 00:50 UTC
Can''t run tests...illegal switch in RUBYOPT: -F (RuntimeError)
Does anyone have any insight into why this is happening? C:\Users\Family\workspace\myapp>rake test (in C:/Users/Family/workspace/myapp) C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F (RuntimeError) C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F (RuntimeError) C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F (RuntimeError) Errors running test:units, test:functionals, test:integration! I''m in Rails 3... -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
daze
2010-Nov-26 03:57 UTC
Re: Can''t run tests...illegal switch in RUBYOPT: -F (RuntimeError)
Thanks to this guy here ... http://pledgie.com/campaigns/14034? (you should donate! thorough rails 3 documentation would be great!) ...I came to an answer. My problem was that I''m on Windows, and I installed ruby in the program files directory. big mistake. the "F" is getting interpreted because of the space in "Program Files"! I had to reinstall Ruby right in C: like i should have (so it''s C:/ Ruby). This also meant I had to reinstall RubyGems and Rails, but hey, you have to tear a building down if it was built wrong in the first place. Thanks again to Ryan Bigg. On Nov 24, 7:50 pm, daze <dmonopol...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Does anyone have any insight into why this is happening? > > C:\Users\Family\workspace\myapp>rake test > (in C:/Users/Family/workspace/myapp) > C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F > (RuntimeError) > C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F > (RuntimeError) > C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F > (RuntimeError) > Errors running test:units, test:functionals, test:integration! > > I''m in Rails 3...-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Maybe Matching Threads
- Having trouble testing :( "superclass mismatch" and can't load "test_helper"
- Puppet on windows: File resource problem
- Windows Puppet 2.7.12rc1-7-g281901e hands at end of run
- uninitialized constant ActionView::Helpers::TagHelper::ERB (NameError)
- script/server vs mongrel_rails start issue