Hi, I am a beginner at the whole Ruby world and RSpec is totally new to me. my problem is the little details. When i see or watch a tutorial, they keep saying: " in the command line type rspec ...blahblah..." but then i dont know which command line they are talking about. I am not sure if rspec itself has a command line and where to find it. Also i noticed different command line do different stuff. I tried command prompt w Ruby on windows, and it gives me the error differently then the regular cmd.exe... That's that...
Another detail is installing all the gem files and stuff and then when i try to run my file, if im not deep into the file (cd:cd:cd) it will run and give me a bunch of lines of nothings.. but if in the command line i cd: cd:cd into the actual folder and run rspec whatever.rb, it runs and give me the colored errors, but i think i am doing something wrong because, although i have the exam same content in whatever_spec.rb and whatever.rb as the tutorial, when i run the rspec thing, it gives me a different error then them... something like: say, i have a code that has: require "00_hello" when i run it it says cannot load such file -- 00_hello but the same codes work for the person giving the tutorial and they get something like the hello function says hello (FAILED - 1) (which is the fail(error) they are looking for. but for me i think it just wont run my actual code right, i am not sure if it's a problem with the way i installed my gems or the way i do my folders like where i place whatever.rb and whatever_spec.rb... I am not sure whether they should be in the same folder or whatnot. please help a beginner! -- You received this message because you are subscribed to the Google Groups "rspec" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/7e7fe585-1c08-4c77-a556-7489a1790309%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
