Ok, finally managed to install redmine 2.1.2 with Virtualmin Pro, but have quite a few bugs to report in the installer of Virtualmin Pro: Hope the following helps Virtualmin team to fix the redmine 2.x script installer and others pulling hairs when installing:
1) Several packages were missing for a successful installation: At least these packages were missing, and should be added to the dependencies list:
apt-get install ruby-rmagick librmagick-ruby libmagickwand-dev libmysqlclient-dev postgresql-server-dev-all
Also these gems were missing:
gem install rdoc
gem install mysql2
gem install test-unit
gem install test-unit
gem install activerecord-mysql-adapter
gem install fcgi
gem install active_support
2) then vi /var/lib/gems/1.8/gems/yard-0.8.3/lib/yard/code_objects/base.rb comment line 23 which raised error!!!
This is a bug in the 2.1 installer script! vi /usr/share/webmin/virtual-server/scripts/redmine.pl
# Generate the session store
$out = &run_as_domain_user($d, "cd ".quotemeta($opts->{'dir'})." && ".
"rake config/initializers/session_store.rb 2>&1");
should be:
# Generate the session store
$out = &run_as_domain_user($d, "cd ".quotemeta($opts->{'dir'})." && ".
"rake generate_secret_token 2>&1");
for redmine 2.x according to step 5 of http://www.redmine.org/projects/redmine/wiki/RedmineInstall
3) Also got error:
Please install the mysql adapter: gem install activerecord-mysql-adapter
(can't activate mysql (~> 2.8.1), already activated mysql-2.9.0. Make sure all dependencies are added to Gemfile
Fixed by: following instructions in: https://www.df.eu/forum/threads/67938-Redmine-Update-auf-2.1.3-(rake-aborted!)
gem uninstall -v=2.9.0 mysql
gem install -v=2.8.1 mysql
4) I also had this issue: http://www.redmine.org/issues/12365 Solution found here to fix: http://www.redmine.org/boards/2/topics/33327
5) I'm still getting a start error with mongrel_rails started from Virtualmin, and that a correct command would be in file:
vi /usr/share/webmin/virtual-server/ruby-lib.pl
sub find_rails_command
{ return "/usr/bin/ruby script/rails server mongrel"; ###Changed line
But that change doesn't work inside Virtualmin, so had to revert and run it from a ssh session manually for now.
(this works fine too (embedded rails server: ruby script/rails server webrick -e production)
6) when using standard Virtualmin mongrel rails server, i get these errors when running redmine:
patcher.dispatch #<NameError: uninitialized constant ActionController::CgiRequest>
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:159:in `process_client'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:158:in `each'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:158:in `process_client'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `initialize'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `new'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:268:in `initialize'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:268:in `new'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:268:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:282:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:281:in `each'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:281:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/command.rb:212:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
/usr/bin/mongrel_rails:19:in `load'
This guy has same issue: http://stackoverflow.com/questions/3903717/error-calling-dispatcher-disp...
But I didn't find a way to fix it yet. Help welcome.
It seems that mongrel is not maintained anymore/deprecated and that Thin http://code.macournoyer.com/thin/ is now recommended way ?… according to: http://stackoverflow.com/questions/12987517/error-uninitialized-constant...
Specially when it's crashing (and it crashes often), there is no auto-restart.
But that's not a server-command. Still googling to find a solution. Help welcome as usual.
These were the useful urls found during my hours of search that allowed to install it, one step trials at a time:: http://www.redmine.org/projects/redmine/wiki/RedmineInstall#Step-9-Test-... http://www.redmine.org/projects/redmine/wiki/RedmineUpgrade http://stackoverflow.com/questions/12987517/error-uninitialized-constant... http://www.redmine.org/boards/2/topics/31410 http://www.redmine.org/boards/2/topics/31291 http://www.redmine.org/boards/2/topics/30897?r=30900 http://www.redmine.org/boards/2/topics/33327 http://www.redmine.org/issues/12365 http://irklan.ru/?cat=20 http://bmath.org/wordpress/?p=1825 http://stackoverflow.com/questions/4304438/mysql-failed-to-build-gem-nat... http://stackoverflow.com/questions/6688557/cant-install-rmagick-2-13-1-c... https://www.df.eu/forum/threads/67938-Redmine-Update-auf-2.1.3-(rake-aborted!) http://www.redmine.org/projects/redmine/wiki/RedmineInstall?version=146
Some of the errors that i seen during install that i fixed above: (putting the errors here, so that someone that googles on them (like myself) can find solutions (of missing packages above)
Session store failed :
rake aborted!
undefined method `empty?' for :needs:Symbol
/home/forge/public_html/lib/tasks/email.rake:170
/home/forge/public_html/lib/tasks/email.rake:19
/home/forge/public_html/lib/tasks/email.rake:18
/home/forge/public_html/vendor/rails/activesupport/lib/active_support/dependencies.rb:145:in `load_without_new_constant_marking'
/home/forge/public_html/vendor/rails/activesupport/lib/active_support/dependencies.rb:145:in `load'
/home/forge/public_html/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
/home/forge/public_html/vendor/rails/activesupport/lib/active_support/dependencies.rb:145:in `load'
/home/forge/public_html/vendor/rails/railties/lib/tasks/rails.rb:9
/home/forge/public_html/vendor/rails/railties/lib/tasks/rails.rb:9:in `each'
/home/forge/public_html/vendor/rails/railties/lib/tasks/rails.rb:9
/home/forge/public_html/Rakefile:10
(See full trace by running task with --trace)
Installing Ruby Gem test-spec ..
.. done
Installing Ruby Gem camping ..
.. done
Installing Ruby Gem fcgi ..
.. done
Installing Ruby Gem memcache-client ..
.. done
Installing Ruby Gem ruby-openid ..
.. done
Installing Ruby Gem rack version 1.0.1 ..
.. done
Installing Ruby Gem rake ..
.. done
Installing Ruby Gem i18n version 0.4.2 ..
.. done
Installing Ruby Gem bundler ..
.. done
Installing Ruby Gem mocha version 0.12.3 ..
.. done
Installing Ruby Gem jquery-rails ..
.. done
Installing Ruby Gem rmagick ..
.. Gem install failed : INFO: `gem install -y` is now default and will be removed INFO: use --ignore-dependencies to install only the gems you list Fetching: rmagick-2.13.1.gem Fetching: rmagick-2.13.1.gem ( 1%) Fetching: rmagick-2.13.1.gem ( 2%) Fetching: rmagick-2.13.1.gem ( 3%) Fetching: rmagick-2.13.1.gem ( 4%) Fetching: rmagick-2.13.1.gem ( 5%) Fetching: rmagick-2.13.1.gem ( 6%) Fetching: rmagick-2.13.1.gem ( 7%) Fetching: rmagick-2.13.1.gem ( 8%) Fetching: rmagick-2.13.1.gem ( 9%) Fetching: rmagick-2.13.1.gem ( 10%) Fetching: rmagick-2.13.1.gem ( 11%) Fetching: rmagick-2.13.1.gem ( 12%) Fetching: rmagick-2.13.1.gem ( 13%) Fetching: rmagick-2.13.1.gem ( 14%) Fetching: rmagick-2.13.1.gem ( 15%) Fetching: rmagick-2.13.1.gem ( 16%) Fetching: rmagick-2.13.1.gem ( 17%) Fetching: rmagick-2.13.1.gem ( 18%) Fetching: rmagick-2.13.1.gem ( 19%) Fetching: rmagick-2.13.1.gem ( 20%) Fetching: rmagick-2.13.1.gem ( 21%) Fetching: rmagick-2.13.1.gem ( 22%) Fetching: rmagick-2.13.1.gem ( 24%) Fetching: rmagick-2.13.1.gem ( 25%) Fetching: rmagick-2.13.1.gem ( 26%) Fetching: rmagick-2.13.1.gem ( 27%) Fetching: rmagick-2.13.1.gem ( 29%) Fetching: rmagick-2.13.1.gem ( 30%) Fetching: rmagick-2.13.1.gem ( 31%) Fetching: rmagick-2.13.1.gem ( 32%) Fetching: rmagick-2.13.1.gem ( 33%) Fetching: rmagick-2.13.1.gem ( 34%) Fetching: rmagick-2.13.1.gem ( 35%) Fetching: rmagick-2.13.1.gem ( 36%) Fetching: rmagick-2.13.1.gem ( 37%) Fetching: rmagick-2.13.1.gem ( 38%) Fetching: rmagick-2.13.1.gem ( 39%) Fetching: rmagick-2.13.1.gem ( 40%) Fetching: rmagick-2.13.1.gem ( 41%) Fetching: rmagick-2.13.1.gem ( 42%) Fetching: rmagick-2.13.1.gem ( 43%) Fetching: rmagick-2.13.1.gem ( 44%) Fetching: rmagick-2.13.1.gem ( 45%) Fetching: rmagick-2.13.1.gem ( 46%) Fetching: rmagick-2.13.1.gem ( 47%) Fetching: rmagick-2.13.1.gem ( 48%) Fetching: rmagick-2.13.1.gem ( 49%) Fetching: rmagick-2.13.1.gem ( 50%) Fetching: rmagick-2.13.1.gem ( 51%) Fetching: rmagick-2.13.1.gem ( 52%) Fetching: rmagick-2.13.1.gem ( 53%) Fetching: rmagick-2.13.1.gem ( 54%) Fetching: rmagick-2.13.1.gem ( 55%) Fetching: rmagick-2.13.1.gem ( 56%) Fetching: rmagick-2.13.1.gem ( 57%) Fetching: rmagick-2.13.1.gem ( 58%) Fetching: rmagick-2.13.1.gem ( 59%) Fetching: rmagick-2.13.1.gem ( 60%) Fetching: rmagick-2.13.1.gem ( 61%) Fetching: rmagick-2.13.1.gem ( 62%) Fetching: rmagick-2.13.1.gem ( 63%) Fetching: rmagick-2.13.1.gem ( 64%) Fetching: rmagick-2.13.1.gem ( 65%) Fetching: rmagick-2.13.1.gem ( 66%) Fetching: rmagick-2.13.1.gem ( 67%) Fetching: rmagick-2.13.1.gem ( 68%) Fetching: rmagick-2.13.1.gem ( 69%) Fetching: rmagick-2.13.1.gem ( 71%) Fetching: rmagick-2.13.1.gem ( 72%) Fetching: rmagick-2.13.1.gem ( 73%) Fetching: rmagick-2.13.1.gem ( 74%) Fetching: rmagick-2.13.1.gem ( 76%) Fetching: rmagick-2.13.1.gem ( 77%) Fetching: rmagick-2.13.1.gem ( 78%) Fetching: rmagick-2.13.1.gem ( 79%) Fetching: rmagick-2.13.1.gem ( 81%) Fetching: rmagick-2.13.1.gem ( 82%) Fetching: rmagick-2.13.1.gem ( 83%) Fetching: rmagick-2.13.1.gem ( 84%) Fetching: rmagick-2.13.1.gem ( 86%) Fetching: rmagick-2.13.1.gem ( 87%) Fetching: rmagick-2.13.1.gem ( 88%) Fetching: rmagick-2.13.1.gem ( 89%) Fetching: rmagick-2.13.1.gem ( 91%) Fetching: rmagick-2.13.1.gem ( 92%) Fetching: rmagick-2.13.1.gem ( 93%) Fetching: rmagick-2.13.1.gem ( 94%) Fetching: rmagick-2.13.1.gem ( 95%) Fetching: rmagick-2.13.1.gem ( 96%) Fetching: rmagick-2.13.1.gem ( 97%) Fetching: rmagick-2.13.1.gem ( 98%) Fetching: rmagick-2.13.1.gem ( 99%) Fetching: rmagick-2.13.1.gem (100%) Fetching: rmagick-2.13.1.gem (100%) Building native extensions. This could take a while... ERROR: Error installing rmagick: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb checking for Ruby version >= 1.8.5... yes checking for gcc... yes checking for Magick-config... no Can't install RMagick 2.13.1. Can't find Magick-config in /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/var/cfengine/bin *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/bin/ruby1.8 Gem files will remain installed in /var/lib/gems/1.8/gems/rmagick-2.13.1 for inspection. Results logged to /var/lib/gems/1.8/gems/rmagick-2.13.1/ext/RMagick/gem_make.out
Installing Ruby Gem rmagick ..
.. Gem install failed : INFO: `gem install -y` is now default and will be removed INFO: use --ignore-dependencies to install only the gems you list Building native extensions. This could take a while... ERROR: Error installing rmagick: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb checking for Ruby version >= 1.8.5... yes checking for gcc... yes checking for Magick-config... no Can't install RMagick 2.13.1. Can't find Magick-config in /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/var/cfengine/bin *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/bin/ruby1.8 Gem files will remain installed in /var/lib/gems/1.8/gems/rmagick-2.13.1 for inspection. Results logged to /var/lib/gems/1.8/gems/rmagick-2.13.1/ext/RMagick/gem_make.out
Now installing redmine version 2.1.2 ..
Rails MySQL driver install failed :
INFO: `gem install -y` is now default and will be removed
INFO: use --ignore-dependencies to install only the gems you list
Fetching: mysql-2.9.0.gem
Fetching: mysql-2.9.0.gem ( 6%)
Fetching: mysql-2.9.0.gem ( 10%)
Fetching: mysql-2.9.0.gem ( 17%)
Fetching: mysql-2.9.0.gem ( 28%)
Fetching: mysql-2.9.0.gem ( 35%)
Fetching: mysql-2.9.0.gem ( 39%)
Fetching: mysql-2.9.0.gem ( 46%)
Fetching: mysql-2.9.0.gem ( 57%)
Fetching: mysql-2.9.0.gem ( 61%)
Fetching: mysql-2.9.0.gem ( 68%)
Fetching: mysql-2.9.0.gem ( 75%)
Fetching: mysql-2.9.0.gem ( 82%)
Fetching: mysql-2.9.0.gem ( 90%)
Fetching: mysql-2.9.0.gem ( 97%)
Fetching: mysql-2.9.0.gem (100%)
Fetching: mysql-2.9.0.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lm... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lz... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lsocket... no
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lnsl... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lmygcc... no
checking for mysql_query() in -lmysqlclient... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/ruby1.8
--with-mysql-config
--without-mysql-config
--with-mysql-dir
--without-mysql-dir
--with-mysql-include
--without-mysql-include=${mysql-dir}/include
--with-mysql-lib
--without-mysql-lib=${mysql-dir}/lib
--with-mysqlclientlib
--without-mysqlclientlib
--with-mlib
--without-mlib
--with-mysqlclientlib
--without-mysqlclientlib
--with-zlib
--without-zlib
--with-mysqlclientlib
--without-mysqlclientlib
--with-socketlib
--without-socketlib
--with-mysqlclientlib
--without-mysqlclientlib
--with-nsllib
--without-nsllib
--with-mysqlclientlib
--without-mysqlclientlib
--with-mygcclib
--without-mygcclib
--with-mysqlclientlib
--without-mysqlclientlib
Gem files will remain installed in /var/lib/gems/1.8/gems/mysql-2.9.0 for inspection.
Results logged to /var/lib/gems/1.8/gems/mysql-2.9.0/ext/mysql_api/gem_make.out
.. failed! See the error message above for the reason why.
Checking for 4 required packages ..
Installing gcc ..
.. already installed
Installing make ..
.. already installed
Installing libfcgi-dev ..
.. already installed
Installing libsqlite3-dev ..
.. already installed
.. all packages are already installed
Found http://rubyforge.org:80/frs/download.php/76495/redmine-2.1.2.tar.gz in cache ..
Installing Ruby Gem test-spec ..
.. done
Installing Ruby Gem camping ..
.. done
Installing Ruby Gem fcgi ..
.. done
Installing Ruby Gem memcache-client ..
.. done
Installing Ruby Gem ruby-openid ..
.. done
Installing Ruby Gem rack version 1.0.1 ..
.. done
Installing Ruby Gem rake ..
.. done
Installing Ruby Gem i18n version 0.4.2 ..
.. done
Installing Ruby Gem bundler ..
.. done
Installing Ruby Gem mocha version 0.12.3 ..
.. done
Installing Ruby Gem jquery-rails ..
.. done
Installing Ruby Gem rmagick ..
.. done
Applying web server configuration ..
.. done
Now installing redmine version 2.1.2 ..
Session store failed :
rake aborted!
Could not find gem 'rails (= 3.2.8) ruby' in the gems available on this machine.
/var/lib/gems/1.8/gems/bundler-1.2.3/lib/bundler/resolver.rb:287:in `resolve'
/var/lib/gems/1.8/gems/bundler-1.2.3/lib/bundler/resolver.rb:161:in `start'
/var/lib/gems/1.8/gems/bundler-1.2.3/lib/bundler/resolver.rb:128:in `resolve'
/var/lib/gems/1.8/gems/bundler-1.2.3/lib/bundler/resolver.rb:127:in `catch'
/var/lib/gems/1.8/gems/bundler-1.2.3/lib/bundler/resolver.rb:127:in `resolve'
/var/lib/gems/1.8/gems/bundler-1.2.3/lib/bundler/definition.rb:178:in `resolve'
/var/lib/gems/1.8/gems/bundler-1.2.3/lib/bundler/definition.rb:113:in `specs'
/var/lib/gems/1.8/gems/bundler-1.2.3/lib/bundler/definition.rb:158:in `specs_for'
/var/lib/gems/1.8/gems/bundler-1.2.3/lib/bundler/definition.rb:147:in `requested_specs'
/var/lib/gems/1.8/gems/bundler-1.2.3/lib/bundler/environment.rb:23:in `requested_specs'
/var/lib/gems/1.8/gems/bundler-1.2.3/lib/bundler/runtime.rb:11:in `setup'
/var/lib/gems/1.8/gems/bundler-1.2.3/lib/bundler.rb:116:in `setup'
/var/lib/gems/1.8/gems/bundler-1.2.3/lib/bundler/setup.rb:17
/home/mu13/public_html/config/boot.rb:6
/home/mu13/public_html/config/application.rb:1
/home/mu13/public_html/Rakefile:5
(See full trace by running task with --trace)
More information on using this script can be found at http://www.redmine.org/.
.. installation was only partially complete.
Applying web server configuration ..
.. done
Now installing redmine version 2.1.2 ..
Session store failed :
rake aborted!
Don't know how to build task 'config/initializers/session_store.rb'
(See full trace by running task with --trace)
More information on using this script can be found at http://www.redmine.org/.
.. installation was only partially complete.
Re-loading Webmin ..
.. done
Applying web server configuration ..
.. done
Installing Ruby Gem jquery-rails ..
.. done
Installing Ruby Gem rmagick ..
.. Gem install failed : INFO: `gem install -y` is now default and will be removed INFO: use --ignore-dependencies to install only the gems you list Building native extensions. This could take a while... Successfully installed rmagick-2.13.1 1 gem installed Installing ri documentation for rmagick-2.13.1... Building YARD (yri) index for rmagick-2.13.1... [error]: Unhandled exception in YARD::Handlers::C::MixinHandler: [error]: in `ext/RMagick/rmmain.c`:611: 611: rb_include_module(Class_Pixel, observable); [error]: ArgumentError: NilClass is not a valid CodeObject [error]: Stack trace: /var/lib/gems/1.8/gems/yard-0.8.3/lib/yard/code_objects/base.rb:23:in `<<' /var/lib/gems/1.8/gems/yard-0.8.3/lib/yard/handlers/c/mixin_handler.rb:10:in `process' /var/lib/gems/1.8/gems/yard-0.8.3/lib/yard/handlers/c/mixin_handler.rb:7:in `scan' /var/lib/gems/1.8/gems/yard-0.8.3/lib/yard/handlers/c/mixin_handler.rb:7:in `process' /var/lib/gems/1.8/gems/yard-0.8.3/lib/yard/handlers/processor.rb:114:in `process' /var/lib/gems/1.8/gems/yard-0.8.3/lib/yard/handlers/processor.rb:112:in `each' Installing RDoc documentation for rmagick-2.13.1...
Comments
Submitted by JamieCameron on Thu, 12/13/2012 - 23:45 Comment #1
Wow, that's a lot of problems!
Were you using the default Ruby and Gem packages that come with Ubuntu 12.04?
Submitted by beat on Fri, 12/14/2012 - 00:28 Comment #2
Yes installed as it should work normally fine with Virtualmin ;-) , nothing special, all default versions (actually it's Vitualmin Pro that did that choice ;) ):
1) install Ubuntu 12.04LTS server 2) install Virtualmin PRO 3) create new server 4) install script Redmine 2.1.2 5) around 15 times: see bug, search internet, fix, redo 4)
When you try updating rails from within rails, the Ubuntu 12.04 version warns that the upgrades are managed by aptitude and that doing so within rails might break aptitude!