Ruby on Rails Thursday, November 25, 2010

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...@gmail.com> 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@googlegroups.com.
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.

No comments:

Post a Comment