I know that this error was discussed elsewhere on the Internet, and this may seem like a silly question, but I have a very strange situation here.
I am running on Snow Leopard, with completely updated Ruby and Rails stones. I created a new Rails project using ruby new testing , then moved to this folder using cd ~/testing and tried to create the base scaffold using ruby script/generate scaffold newtest name:string , and I got this error:
ruby: There is no such file or directory - script / generate (LoadError)
I carefully searched Google and tried to implement all possible solutions, but nothing worked. I donβt understand why I have this error or how to fix it.
Jenius
source share