SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
-
Mar 20, 2007, 12:14 #1
- Join Date
- Oct 2005
- Posts
- 19
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Chapter 7: Trouble generating migration
Hi--
I'm having trouble with the following command on page 196 in the Ruby script console:
Code:ruby script/generate migration AddPermalinkToStories
SyntaxError: compile error
(irb): parse error, unexpected tIDENTIFIER, expecting kDO or '{' or '('
I have tried to change my spacing, adding parentheses, braces, etc. but get the same error message.
What's wrong?
Thanks in advance.
-
Mar 20, 2007, 13:15 #2
- Join Date
- Aug 2005
- Posts
- 986
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
You are using IRB, but you should be using the OS command line. If you see irb...> you should type "exit" and try the command again.
-
Mar 20, 2007, 14:21 #3
- Join Date
- Oct 2005
- Posts
- 19
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Bookmarks