I'm trying to build SimpleTicket - the latest build of which is
available at simpleticket.net - This website is for sale! - simpleticket Resources and Information.. During the rake
migrate, I encounter what appear to be errors when connecting to the
MySQL database (although the call to the MySQL database isn't happening
yet as an ArgumentError occurs before this).
The INSTALL file states that Rails 1.1.6 is required. Here's the
versions of what I have installed on Ubuntu 7.10:
When I try to run 'rake migrate', the following error message occurs:
# rake migrate
(in /var/simpleticket)
/var/simpleticket/config/boot.rb:28:Warning: require_gem is obsolete.
Use gem instead.
rake aborted!
wrong number of arguments (1 for 0)
The full trace is attached to this email.
Aside from this, webrick is listening on port 3000 and I get the nice
login screen of SimpleTicket (but can't log in due to the apparent MySQL
problems).
# rake migrate
(in /var/simpleticket)
/var/simpleticket/config/boot.rb:28:Warning: require_gem is obsolete.
Use gem instead.
rake aborted!
wrong number of arguments (1 for 0)
Their code is outdated. Go into boot.rb and any other files with the
same error and change 'require_gem' to 'gem'. (or run rake
rails:update:configs)
Once you fix that problem, there will be plenty more. You might want
to give Mystic a try. It's another decent ticketing program.
Here are some rake commands you might want to consider for your quest:
rake rails:freeze:edge
Lock to latest Edge Rails or a specific revision with REVISION=X
(ex: REVISION=4021) or a tag with TAG=Y (ex: TAG=rel_1-1-0)
rake rails:freeze:gems
Lock this application to the current gems (by unpacking them into
vendor/rails)
rake rails:unfreeze
Unlock this application from freeze of gems or edge and return to a
fluid use of system gems
rake rails:update
Update both configs, scripts and public/javascripts from Rails
***rake rails:update:configs
Update config/boot.rb from your current rails install
rake rails:update:javascripts
Update your javascripts from your current rails install
rake rails:update:scripts
Add new scripts to the application script/ directory