Well, I am really new to RoR, but I am doing my best to learn. I have
followed the Apple tutorial as well as the ONLamp one. However, both
have resulted in problems. So, I decided to hit Lynda.com, hoping a
more visual walk through would be better. It has been of great help,
however, in all three tutorials, I have fallen in the same place. In
all cases, I create the app “rails app_name”. Then I create my
controller and my model using script/generate. Then, I create the
databases using mysql command line, those all work fine. I even was
able to run rake db:migrate, and for the first time, that too worked.
Once here, I can either run the scaffold command or manually type
‘scaffold :whatever’ and start the server and no matter what I do, I
cannot get it to get to the scaffold stage, or a working database
application. Does anybody see my faults or have some tips. All of
the searching I do brings me to people who have successfully ran it
the first time and have gotten it to work but it maybe is not working
how it is supposed to or something goes wrong on Appache. I am
running basic Rails 2.0.1 on Mac OS X Leopard. Please help! Thanks
in advanced!
databases using mysql command line, those all work fine. I even was
able to run rake db:migrate, and for the first time, that too worked.
Once here, I can either run the scaffold command or manually type
‘scaffold :whatever’ and start the server and no matter what I do, I
Thanks, now, is there a way I know it works? I used the command
script/plugin source http://dev.rubyonrails.org/browser/plugins/scaffolding
and it gave me ‘Added 1 repositories.’ I did this while in the same
directory as my project. Should I do this somewhere else so that all
projects I create have scaffolding. Again, all help is appreciated a
ton!
Hey bud I am facing the exact same problem. I followed what was
adviced to you. But I digged a little more. And here is what you
actually need to do and what you should get. This is something I
suppose application specific.