ralli / bz2redmine

Bugzilla to Redmine migration script
Other
13 stars 8 forks source link

List of dependencies #6

Closed jpierson closed 12 years ago

jpierson commented 12 years ago

I'm attempting to convert my Bugzilla database on Ubuntu and and new to Linux, Redmine, and Ruby so I'm learning as I go along. I've installed the BitNami stack for redmine in hopes to simplify installing Redmine but I found that ruby seems to be installed under the BitNami-redmine stack as a sort of self contained dependency which meant that running bz2redmine.rb didn't work directly until I installed ruby1.8 using apt-get. I chose ruby1.8 because I remembered that in some of the Redmine documentation that 1.9 wasn't yet supported so I figured this bz2redmine.rb script would probably be written to target the same ruby that Redmine uses.

After running bz2redmine.rb after installing ruby1.8 I get the following error.

./bz2redmine.rb:27:in `require': no such file to load -- rubygems (LoadError) from ./bz2redmine.rb:27

I'm guessing that I'm missing another dependency? I'm not familiar at all with ruby and searching for this specific error in google doesn't seem to point out how to resolve the issue.

Any improvements in the documentation on what the exact dependencies are and how to run this script for somebody who may not be familiar with Ruby or Linux would be very helpful.

ralli commented 12 years ago

Hi,

I just had a look at http://www.redmine.org/projects/redmine/wiki/RedmineInstall stating that ruby 1.8.7 is required to run a current version of redmine. The missing "rubygems" message, you are getting results in a required software package "rubygems". You hav the choice to either install it via "apt-get" or synaptic or by downloading and the package from http://rubygems.org/pages/download and execute a "sudo ruby setup.rb install" command. I would recommend the "ruby setup" method.

HtH Ralph

jpierson commented 12 years ago

Thanks for the added info, it was very helpful.