m (→Set up QA Reports) |
m (→Set up QA Reports) |
||
| Line 32: | Line 32: | ||
## Failed, but after rerun worked | ## Failed, but after rerun worked | ||
# Start the server: <tt>$ rails server</tt> | # Start the server: <tt>$ rails server</tt> | ||
| - | ## And see it fail due to problems with <tt>RubyGem rack</tt> | + | ## And see it fail due to problems with <tt>RubyGem rack</tt> |
| + | |||
| + | '''TODO:''' Fix the gem "rack" issue. Currently during bundling output like this is produced: | ||
| + | Using rack (1.2.1) from git://github.com/rack/rack.git (at master) | ||
| + | rack at /home/poikajar/.rvm/gems/ruby-1.8.7-p330/bundler/gems/rack-672396f0fdaa did not have a valid gemspec. | ||
| + | This prevents bundler from installing bins or native extensions, but that may not affect its functionality. | ||
| + | The validation message from Rubygems was: | ||
| + | ["SPEC"] are not files | ||
| + | |||
| + | And when trying to start the server the output is: | ||
| + | /home/poikajar/.rvm/rubies/ruby-1.8.7-p330/lib/ruby/site_ruby/1.8/rubygems.rb:812:in `report_activate_error': | ||
| + | Could not find RubyGem rack (~> 1.2.1) (Gem::LoadError) | ||
QA Reports is a Ruby on Rails application so you need to install a bunch of stuff to get it up and running. This draft documentation is based on experiences in installation on Ubuntu 10.10
Most likely you won't succeed with the packaged version of Ruby. Thus this guide uses Ruby Version Manager (rvm).
Follow the instructions then from qa-reports/README.creole:
TODO: Fix the gem "rack" issue. Currently during bundling output like this is produced:
Using rack (1.2.1) from git://github.com/rack/rack.git (at master) rack at /home/poikajar/.rvm/gems/ruby-1.8.7-p330/bundler/gems/rack-672396f0fdaa did not have a valid gemspec. This prevents bundler from installing bins or native extensions, but that may not affect its functionality. The validation message from Rubygems was: ["SPEC"] are not files
And when trying to start the server the output is:
/home/poikajar/.rvm/rubies/ruby-1.8.7-p330/lib/ruby/site_ruby/1.8/rubygems.rb:812:in `report_activate_error': Could not find RubyGem rack (~> 1.2.1) (Gem::LoadError)