Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Adding a new troubleshooting #13

Merged
merged 3 commits into from

2 participants

@HugoLnx

Im add a new troubleshooting to developers that don't use rake to run tests.(Please review my text, because my english isn't so good) xD

@dchelimsky dchelimsky merged commit 7f9232e into rspec:master
@dchelimsky
Owner

Actually, on 2nd thought this really belongs in rspec-core or rspec-rails, not rspec-dev. Do you want to submit same to either of those projects?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 14 additions and 0 deletions.
  1. +14 −0 README.markdown
View
14 README.markdown
@@ -121,6 +121,20 @@ command from the root of the repository you're working on. i.e. if you're
working on rspec-core, cd to the rspec-core directory. Don't try to run specs
from the rspec-dev directory, or you'll see `LoadError`s.
+## unterminated string meets end of file (SyntaxError) [In rspec-rails]
+
+If you want to run tests without using rake, you have to know that running:
+
+ rspec .
+
+You will see syntax error, because rspec try to execute some files in lib folder.
+When you want to run tests you have to run:
+
+ rspec spec/.
+
+Rspec will execute just the files in spec folder. Using rake you haven't this
+problem.
+
## different problem?
If you run into a problem not documented here, please check the rspec-dev
Something went wrong with that request. Please try again.