Hi, Basically, any and all feedback on this script appreciated. It's doing everything but the one, final task! aaargh. It claims that the file isn't there, when it's kicking out the cat of the file in question. Typo? I don't think so, but maybe. Other weirdness? Maybe. Also, I have everything on one line, which is, err, hard to read. I'm trying to learn ruby, but in the meantime am using an admittedly primitive linux script to run some ruby stuff. Yes, very ironic. Here's the data: [thufir@localhost ~]$ ./run /home/thufir thufir pwd ; whoami ; cat /home/thufir/run ; ls -al /home/thufir/dummy ; ruby / home/thufir/dummy/script/generate scaffold dummy ; ./home/thufir/dummy/ script/generate controller hello index ; cat /home/thufir/dummy/views/ hello/world.rhtml ; cat /home/thufir/dummy/config/database.yml ; cat / home/thufir/dummy/controllers/hello_controller.rb ; cat /home/thufir/ dummy/views/hello/world.rhtml ; date ; cat /home/thufir/dummy/script/ server ; ./home/thufir/dummy/script/server total 348 drwxrwxr-x 16 thufir thufir 4096 May 16 20:32 . drwx------ 54 thufir thufir 204800 May 16 20:32 .. drwxrwxr-x 6 thufir thufir 4096 May 13 04:15 app drwxrwxr-x 2 thufir thufir 4096 May 13 04:15 components drwxrwxr-x 3 thufir thufir 4096 May 16 06:06 config drwxrwxr-x 2 thufir thufir 4096 May 16 19:42 controllers drwxrwxr-x 2 thufir thufir 4096 May 13 04:15 db drwxrwxr-x 2 thufir thufir 4096 May 13 04:15 doc drwxrwxr-x 3 thufir thufir 4096 May 13 04:15 lib drwxrwxr-x 2 thufir thufir 4096 May 13 04:15 log drwxrwxr-x 5 thufir thufir 4096 May 13 04:15 public -rw-rw-r-- 1 thufir thufir 307 May 13 04:15 Rakefile -rw-rw-r-- 1 thufir thufir 8001 May 13 04:15 README drwxrwxr-x 4 thufir thufir 4096 May 13 04:15 script drwxrwxr-x 7 thufir thufir 4096 May 13 04:15 test drwxrwxr-x 6 thufir thufir 4096 May 13 04:15 tmp drwxrwxr-x 3 thufir thufir 4096 May 13 04:15 vendor drwxrwxr-x 3 thufir thufir 4096 May 16 19:29 views exists app/controllers/ exists app/helpers/ exists app/views/dummies exists app/views/layouts/ exists test/functional/ dependency model exists app/models/ exists test/unit/ exists test/fixtures/ identical app/models/dummy.rb identical test/unit/dummy_test.rb identical test/fixtures/dummies.yml identical app/views/dummies/_form.rhtml identical app/views/dummies/list.rhtml identical app/views/dummies/show.rhtml identical app/views/dummies/new.rhtml identical app/views/dummies/edit.rhtml identical app/controllers/dummies_controller.rb identical test/functional/dummies_controller_test.rb identical app/helpers/dummies_helper.rb identical app/views/layouts/dummies.rhtml identical public/stylesheets/scaffold.css ./run: line 1: ./home/thufir/dummy/script/generate: No such file or directory aaaaaaargh # MySQL (default setup). Versions 4.1 and 5.0 are recommended. # # Install the MySQL driver: # gem install mysql # On MacOS X: # gem install mysql -- --include=/usr/local/lib # On Windows: # gem install mysql # Choose the win32 build. # Install MySQL and put its /bin directory on your path. # # And be sure to use new-style password hashing: # http://dev.mysql.com/doc/refman/5.0/en/old-client.html development: adapter: mysql database: dummy username: feeds password: password socket: /var/lib/mysql/mysql.sock # Warning: The database defined as 'test' will be erased and # re-generated from your development database when you run 'rake'. # Do not set this db to the same as development or production. test: adapter: mysql database: dummy username: feeds password: password socket: /var/lib/mysql/mysql.sock production: adapter: mysql database: dummy username: feeds password: password socket: /var/lib/mysql/mysql.sock def world @greeting = "hello world!" end aaaaaaargh Wed May 16 20:35:48 BST 2007 #!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/server'./run: line 1: ./home/thufir/dummy/script/ server: No such file or directory [thufir@localhost ~]$ [thufir@localhost ~]$ [thufir@localhost ~]$ thanks, Thufir