[OSM-dev] Database Schema

Brett Henderson brett at bretth.com
Thu Oct 9 13:53:00 BST 2008


MilesTogoe wrote: 
> ruby and rails have gone thru some changes the past few months - you 
> most likely need a newer gems package - try downloading the latest 
> gems source and compiling that - then from the newer gems install the 
> rails packages
I currently have rubygems 1.2.0.  I see the latest is 1.3.0.  I don't 
know much about ruby.  So should I upgrade to 1.3.0?  I'd rather not 
install from source unless I have to ...

I've fixed the externals issue I had.  That was dumb on my part.  I 
checked out a few hours ago and forgot it failed due to external sites 
being down.  I've used TomH's vendor.zip to get the external files.

I installed rails 2.0.2 with:

gem install -v=2.0.2 rails
That includes activesupport, activerecord, actionpack, actionmailer and activeresource all at version 2.0.2.  It includes rake at version 0.8.3.

rake db:migrate failed with a message like:
no such file to load -- spec/rake/spectask

I installed rspec with:
gem install rspec
That installed version rspec 1.1.8.

rake db:migrate failed because it couldn't find RubyGem hoe.

I installed hoe with:
gem install hoe
That installed hoe 1.7.0 and rubyforge 1.0.0

rake db:migrate now fails with the following error.  Any ideas?

rake aborted!
no such file to load -- spec/translator
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
/home/brett/work/osm/svn.openstreetmap.org/sites/rails_port/vendor/plugins/rspec_on_rails/tasks/rspec.rake:7
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/tasks/rails.rb:8:in `load'
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/tasks/rails.rb:8
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/tasks/rails.rb:8:in `each'
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/tasks/rails.rb:8
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
/home/brett/work/osm/svn.openstreetmap.org/sites/rails_port/Rakefile:10
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2349:in `load'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2349:in `raw_load_rakefile'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1985:in `load_rakefile'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1984:in `load_rakefile'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1969:in `run'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/bin/rake:31
/usr/bin/rake:19:in `load'
/usr/bin/rake:19






More information about the dev mailing list