1. Am having a issue setting up a simple ruby webapp, tried following & get an abort error on "rake" cmd:
a. goto \public_html dir
b. type "rails test", which creates a default rail project
c. type "cd test" to go into new project dir
d. type "script/generate model person" to generate new object
e. changed contents of "test/db/migrate/create_people.rb", see below
f. type "rake db:migrate" to migrate new db changes to sqlite3 backend but get an "rake aborted! no such file to load -- sqlite3" error message at this stage...if I do "gem list sqlite3-ruby"...it lists current version is "sqlite3-ruby (1.2.5)...
2. Is it possible to change the public access webroot dir from "~/public_html" to "~/current/public" ?
--------------------------------------------------------------------------------
test/db/migrate/create_people.rb file contents
--------------------------------------------------------------------------------
#sorry don't know how to turn smiling face off, should be ":P" instead of smily face below...
class CreatePeople < ActiveRecord::Migration
def self.up
create_table
eople do |t|
t.string "name"
end
end
def self.down
drop_table
eople
end
end