StuRa Diskussion:Server/Redmine

Aus Wiki StuRa HTW Dresden
Zur Navigation springen Zur Suche springen

andere Anleitungen

von Redmine
zu FreeBSD

rake 10 vs rake 11

rake aborted!
Gem::LoadError: You have already activated rake 10.5.0, but your Gemfile requires rake 11.1.2. Prepending `bundle exec` to your command may solve this.
/usr/local/www/redmine/config/boot.rb:6:in `<top (required)>'
/usr/local/www/redmine/config/application.rb:1:in `<top (required)>'
/usr/local/www/redmine/Rakefile:5:in `<top (required)>'
LoadError: cannot load such file -- bundler/setup
/usr/local/www/redmine/config/boot.rb:6:in `<top (required)>'
/usr/local/www/redmine/config/application.rb:1:in `<top (required)>'
/usr/local/www/redmine/Rakefile:5:in `<top (required)>'
(See full trace by running task with --trace)
bundle exec gem uninstall rake -v 10.5.0
bundle exec gem install rake -v 11.1.2

q&d

pkg update; pkg upgrade --yes;

pkg install --yes zsh;

pkg install --yes redmine; sysrc redmine_enable="YES"; pkg install --yes mysql56-server; sysrc mysql_enable="YES"; pkg install -y rubygem-passenger; sysrc apache24_enable="YES";

service mysql-server start; mysql_install_db --basedir /usr/local; mysql_secure_installation; mysql -u root -p

service apache24 start;

pkg install -y ap24-mod_fastcgi; pkg install -y rubygem-fcgi; service apache24 restart;

  LoadModule passenger_module /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.30/buildout/apache2/mod_passenger.so
  PassengerRoot /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.30
  PassengerRuby /usr/local/bin/ruby22