{"issue":{"milestone":null,"user":{"id":834512,"login":"archonwang","url":"https://api.github.com/users/archonwang","avatar_url":"https://secure.gravatar.com/avatar/9ca89925b44ea444a6d70e22ad16d107?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"9ca89925b44ea444a6d70e22ad16d107"},"title":"rubytime3 installation error","created_at":"2011-12-19T02:42:01Z","updated_at":"2011-12-19T08:25:51Z","labels":[],"state":"open","id":2596378,"html_url":"https://github.com/LunarLogicPolska/rubytime/issues/9","closed_at":null,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"body":"I'm a new comer for rubytime. so I have some question for the rubytime.\r\nin master I can not find how to build database. so the rubytime3 should be built based on the database  of  rubytime 2.x?\r\n\r\nI tried to install rubytime3 for test, and found some problem.\r\n1.  I create database use like this in mysql 5.X\r\n# Create database rubytime3_dev;\r\n2. then I input the command line \r\n# bundle exec rake db:automigrate\r\n\r\nit shows error like this\r\n===========================================================================================\r\nDataMapper::Resource.append_inclusions is deprecated, use DataMapper::Model.append_inclusions instea\r\nd (C:/Ruby187/lib/ruby/gems/1.8/bundler/gems/merb_dm_xss_terminate-5ee5f92/lib/merb_dm_xss_terminate\r\n.rb:7)\r\n ~ Connecting to database...\r\n ~ Loaded slice 'MerbAuthSlicePassword' ...\r\nE:/rubytime/app/models/user.rb:4: warning: already initialized constant RECENT_ACTIVITIES_NUM\r\nE:/rubytime/app/models/user.rb:5: warning: already initialized constant LOGIN_REGEXP\r\nE:/rubytime/app/models/hourly_rate_log.rb:4: warning: already initialized constant VALID_OPERATION_T\r\nYPES\r\nE:/rubytime/app/models/hourly_rate_log.rb:5: warning: already initialized constant ATTRIBUTES_TO_LOG\r\n\r\nE:/rubytime/app/models/activity.rb:3: warning: already initialized constant HOURS_REGEX\r\nE:/rubytime/app/controllers/application.rb:5: warning: already initialized constant JSON_API_VERSION\r\n\r\n ~ Compiling routes...\r\n ~ Could not find resource model Session\r\n ~ (0.000000) SET sql_auto_is_null = 0\r\n ~ (0.000000) SET SESSION sql_mode = 'ANSI,NO_BACKSLASH_ESCAPES,NO_DIR_IN_CREATE,NO_ENGINE_SUBSTITUT\r\nION,NO_UNSIGNED_SUBTRACTION,TRADITIONAL'\r\n ~ (0.000000) SELECT `id`, `date`, `minutes`, `project_id`, `role_id`, `activity_type_id`, `user_id`\r\n, `invoice_id`, `price_value`, `price_currency_id`, `updated_at`, `created_at` FROM `activities` WHE\r\nRE `role_id` = -1 ORDER BY `id` LIMIT 1\r\n ~ Table 'rubytime3_dev.activities' doesn't exist (code: 1146, sql state: 42S02, query: SELECT `id`,\r\n `date`, `minutes`, `project_id`, `role_id`, `activity_type_id`, `user_id`, `invoice_id`, `price_val\r\nue`, `price_currency_id`, `updated_at`, `created_at` FROM `activities` WHERE `role_id` = -1 ORDER BY\r\n `id` LIMIT 1, uri: mysql://root:root@localhostrubytime3_dev?encoding=UTF-8)\r\n#<DataObjects::SyntaxError: Table 'rubytime3_dev.activities' doesn't exist (code: 1146, sql state: 4\r\n2S02, query: SELECT `id`, `date`, `minutes`, `project_id`, `role_id`, `activity_type_id`, `user_id`,\r\n `invoice_id`, `price_value`, `price_currency_id`, `updated_at`, `created_at` FROM `activities` WHER\r\nE `role_id` = -1 ORDER BY `id` LIMIT 1, uri: mysql://root:root@localhostrubytime3_dev?encoding=UTF-8\r\n)>\r\n\r\nrake aborted!\r\n*** Please run db:autoupgrade\r\n============================================================================================\r\n\r\nso, anything I do wrong? Could anyone tell me how to install the rubytime3? I can not install it correctly by the installation  Guide or something I've missed? Thanks  so much.","number":9,"url":"https://api.github.com/repos/LunarLogicPolska/rubytime/issues/9","comments":2,"assignee":null},"comment":{"user":{"id":28465,"login":"psionides","url":"https://api.github.com/users/psionides","avatar_url":"https://secure.gravatar.com/avatar/a8cb0cb6a2406ee9d85ea72f7c040697?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"a8cb0cb6a2406ee9d85ea72f7c040697"},"created_at":"2011-12-19T08:25:51Z","updated_at":"2011-12-19T08:25:51Z","id":3200480,"body":"I guess either the instruction or the rakefile is incorrect, because right now only db:autoupgrade seems to work and the instruction mentions db:automigrate. Please run db:autoupgrade instead (as the error message told you to :).","url":"https://api.github.com/repos/LunarLogicPolska/rubytime/issues/comments/3200480"},"action":"created"}