Content
You are here:
Could not run installation: ./setup.rb --without postgres
Added by Kilian Knörzer over 11 years ago
Hello OpenProject Developer,
I would like install OpenProject on my server, but I could not create database because of some mistake with my server patchlevel and gem ZenTest.
(14:44:55) [/kunden/398088_81925/webseiten/openproject] ./setup.rb --without postgres ==> Installing OpenProject... ==> Checking Ruby Version ==> It seems you are not running the recommended patch level. ==> To avoid unexpected problems we would recommend to install 'ruby 1.8.7 (2012-10-12 patchlevel 371)' ==> Checking Bundler Invalid gemspec in [/kunden/398088_81925/.gem/ruby/1.8/specifications/ZenTest-4.9.3.gemspec]: Illformed requirement ["< 2.1, >= 1.8"] ==> Found ==> Checking git ==> Found Already up-to-date. Already up-to-date. Already up-to-date. Already up-to-date. Already up-to-date. Already up-to-date. Already up-to-date. ==> Installing Gems via Bundler Invalid gemspec in [/kunden/398088_81925/.gem/ruby/1.8/specifications/ZenTest-4.9.3.gemspec]: Illformed requirement ["< 2.1, >= 1.8"] The source :rubygems is deprecated because HTTP requests are insecure. Please change your source to 'https://rubygems.org' if possible, or 'http://rubygems.org' if not. The source :rubygems is deprecated because HTTP requests are insecure. Please change your source to 'https://rubygems.org' if possible, or 'http://rubygems.org' if not. Invalid gemspec in [/kunden/398088_81925/.gem/ruby/1.8/specifications/ZenTest-4.9.3.gemspec]: Illformed requirement ["< 2.1, >= 1.8"] Using rake (10.1.0) Using activesupport (2.3.18) Using rack (1.1.6) Using actionpack (2.3.18) Using actionmailer (2.3.18) Using activerecord (2.3.18) Using activeresource (2.3.18) Using coderay (0.9.8) Using columnize (0.3.6) Using daemons (1.0.10) Using delayed_job (2.0.8) Using edavis10-object_daddy (0.4.3) Using fastercsv (1.5.5) Using globalize2 (0.2.1) Using i18n (0.6.5) Using i18n-js (2.1.2) Using json (1.8.0) Using rbx-require-relative (0.0.9) Using linecache (0.46) Using metaclass (0.0.1) Using mocha (0.14.0) Using mysql (2.9.1) Using mysql2 (0.2.20) Using rails (2.3.18) Using rdoc (4.0.1) Using rspec (1.3.2) Using rspec-rails (1.3.4) Using ruby-debug-base (0.10.4) Using ruby-debug (0.10.4) Using ruby-openid (2.1.8) Using rubytree (0.5.3) Using shoulda (2.10.3) Using sqlite3-ruby (1.2.5) Using bundler (1.3.5) Your bundle is complete! Gems in the groups rmagick and postgres were not installed. Use `bundle show [gemname]` to see where a bundled gem is installed. ==> Creating database Invalid gemspec in [/kunden/398088_81925/.gem/ruby/1.8/specifications/ZenTest-4.9.3.gemspec]: Illformed requirement ["< 2.1, >= 1.8"] Invalid gemspec in [/kunden/398088_81925/.gem/ruby/1.8/specifications/ZenTest-4.9.3.gemspec]: Illformed requirement ["< 2.1, >= 1.8"] rake aborted! syntax error on line 16, col 2: ` encoding: utf8' /kunden/398088_81925/.gem/ruby/1.8/gems/rails-2.3.18/lib/initializer.rb:926:in `database_configuration' /kunden/398088_81925/.gem/ruby/1.8/gems/rails-2.3.18/lib/tasks/databases.rake:4 Tasks: TOP => db:create:all => db:load_config (See full trace by running task with --trace) ==> Something went wrong :( ==> Installation aborted. (14:45:02) [/kunden/398088_81925/webseiten/openproject]
What should I do?
Replies (3)
It says right there, multiple times:
You should probably fix your gemspec.
Hello,
I already asked my Webserver provider df.eu for the Ruby Version with newer Patch or stable Version. They will not provide it in next time. I have to take other way. Should I try install with the RVM? Which step and commands?
I would like use your PMS.
I have checked and found that ZenTest is not even one of our dependencies. You can probably just remove it if fixing is not an option.
Other than that, yes, you can probably use RVM to start w/ a fresh gemset. You will find instructions on how to install it here; https://rvm.io/rvm/install