Getting latest redmine 1.2.1 running on FreeBSD

Bloggbild

Vår serverguru Daniel Ylitalo förklarar hur man uppdaterar Redmine ordentligt på FreeBSD.

As the current Redmine port is marked as broken I had to come up with a way to install redmine on our system, what a hassle I tell you! Thank god we are not coding our sites in ruby!

Heres how to get it running:
Go to the redmine port and edit the Makefile

cd /usr/ports/www/redmine
nano Makefile

Comment the line that sais BROKEN=
example on how it should look like when your done:

#BROKEN=                Does not work with RubyGems 1.8

Now install it as usual, make install clean

If you try to run the database startup script when its done you will receive a nice error saying

undefined method `name' for "daemon_controller"

So, dont try that, instead do the following

cd /usr/local/www/redmine
rm -rf vendor/rails
gem install rails -v=2.3.11
gem update --system 1.6.2

You are now able to continue with the default install guide from redmine

* Now note that you are downgrading rubygems from 1.8 to 1.6 so if you have any other rubyonrails software that requires 1.8 it will most likely break after doing the above.


Tillbaka


 
 

Kommentera

Kontakta oss
08-642 11 35
Wallingatan 37
111 24 Stockholm
info@produktion203.se Bli uppringd
203FAMILY
Matklubben Hitta Recept Alla Annonser Flygstart