...
Just my blog

Blog about everything, mostly about tech stuff I made. Here is the list of stuff I'm using at my blog. Feel free to ask me about implementations.

Soft I recommend
Py lib I recommend

I'm using these libraries so you can ask me about them.

Rails update for Redmine

Как обнаружилось в предыдущей статье - у меня старые "рельсы" Теперь пришло время их обновить, если повезет, не обвалить рабочий сейчас редмайн.

root@tet-redmine www/redmine# ruby -v
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
root@tet-redmine www/redmine# gem -v
1.8.23
root@tet-redmine www/redmine# rails -v
Rails 3.2.19

Хорошо сказано в статье: http://railsapps.github.io/updating-rails.html

Don’t Just Update Rails

Developers often install the newest version of Rails but neglect other components needed for Rails to run successfully. Rails is not just a Ruby gem, it is a complex and rapidly evolving ecosystem. It is important to set up your development environment with the most current version of all the gems that are needed for development.

Сказать что я "обосрался" - ничего не сказать, надеюсь гайд поможет все расставить по полочкам, а пока я пойду сделаю снепшот виртуалки. tet-redmine-snap Далее вычитываем все что гугл нам предложит: http://stackoverflow.com/questions/10930782/rails-update-3-2-5

Что-то я туплю сегодня, у меня все up to date:

root@tet-redmine www/redmine# rails -v
Rails 3.2.19

Собственно как и указано и рекомендовано в http://www.redmine.org/news/92 На меня нашла какая-то херня из за проблем в предыдущей статье потому что я в файле: var/www/redmine/plugins/redmine_digest/lib/tasks/digest.rake Нашел строки: namespace :redmine do task :send_digest, :environment, :project, :start, :days, :debugging_messages do |t, args| if Rails::VERSION::MAJOR >= 3 А на самом деле все ок. Тупняк в чем-то другом.