Reputation: 5952
I am running Rails 3.2.6 and in my .railsrc
file I have -d postgresql -T
. Whenever I run rails c
on my app, it gives me an error
in `load': /Users/user/.railsrc:1: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '(' (SyntaxError)
How can I fix this?
Upvotes: 0
Views: 294
Reputation: 12092
-T
is alias of --skip-test-unit
.
You should add each flags one by one in .railsrc file. Otherwise just add the following command in the same.
ruby -d postgresql -T
or
ruby -d postgresql --skip-test-unit
Upvotes: 0
Reputation: 782
Try to write every option from new line as follow:
--skip-test-unit
-d postgresql
It's work for me.
Upvotes: 0