Trac import rake script (rakefile)
Added by Glen Pepicelli over 13 years ago
Hi all,
I've been looking on internet for about an hour and I'm stumped.
I'm new to Redmine Ruby and Rake so hopefully it's just something easy.
I'm using Ubuntu 10.04 LTS. Using a package I installed Redmine, successfully as far as I know. I can log into Redmine and it seems fine.
However, I'm having problems using the script/rakefile that imports Trac projects. Namely, I can;t run it at all without it bombing.
root@domU-12-31-39-04-54-CE:/var/www/redmine# ls l 1 root root 484 2011-01-09 16:02 404.html
total 76
-rw-r--r-rw-r--r- 1 root root 576 2011-01-09 16:02 500.htmlrwxr-xr-x 1 root root 966 2011-02-02 14:52 dispatch.fcgi 1 root root 7886 2011-01-09 16:02 favicon.ico
-rwxr-xr-x 1 root root 477 2011-01-09 16:02 dispatch.rb.example
-rw-r--r-
drwxr-xr-x 2 root root 4096 2011-03-04 04:54 help
drwxr-xr-x 4 root root 4096 2011-03-04 04:54 images
drwxr-xr-x 4 root root 4096 2011-03-04 04:54 javascriptsrw-r--r- 1 root root 30358 2011-03-05 20:18 rakefile
drwxr-xr-x 2 root root 4096 2011-03-04 04:54 stylesheets
drwxr-xr-x 4 root root 4096 2011-03-04 04:54 themes
root@domU-12-31-39-04-54-CE:/var/www/redmine# rake redmine:migrate_from_trac RAILS_ENV="test"
(in /usr/share/redmine/public)
rake aborted!
Don't know how to build task 'environment'
(See full trace by running task with --trace)
I did notice there is a flag to include libraries but couldn't use it successfully.
I guess rake isn't installed correctly?
Where should that task be?
If it's not there where do I get it?
I couldn't find much documentation for Rake past the man page. I don't program in Ruby-- I'm sure it would be obvious if i did
Thanks,
Glen Pepicelli