[OSM-dev] OSM Rails Install Problems

John McKerrell john at mckerrell.net
Fri Oct 19 11:04:01 BST 2007


Hi

Can anyone help me get my OSM rails setup working again? My rails in  
general should be fine as I'm developing another site on it and  
that's still fine, I do definitely have mysql as the other one's  
using it too, the output I'm getting from script/server is:

svn.openstreetmap.org/sites/rails_port $ script/server
=> Booting WEBrick...
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/commands/servers/ 
webrick.rb:11: warning: already initialized constant OPTIONS
=> Booting WEBrick...
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/commands/servers/ 
webrick.rb:11: warning: already initialized constant OPTIONS
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in  
`gem_original_require': no such file to load -- mysql  
(MissingSourceFile)
         from /usr/local/lib/ruby/site_ruby/1.8/rubygems/ 
custom_require.rb:27:in `require'
         from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.4/ 
lib/active_support/dependencies.rb:495:in `require'
         from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.4/ 
lib/active_support/dependencies.rb:342:in `new_constants_in'
         from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.4/ 
lib/active_support/dependencies.rb:495:in `require'
         from /Users/john/Sites/osm/svn/svn.openstreetmap.org/sites/ 
rails_port/vendor/plugins/sql_session_store/lib/mysql_session.rb:1
         from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.4/ 
lib/active_support/dependencies.rb:203:in  
`load_without_new_constant_marking'
         from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.4/ 
lib/active_support/dependencies.rb:203:in `load_file'
         from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.4/ 
lib/active_support/dependencies.rb:342:in `new_constants_in'
          ... 23 levels...
         from /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/ 
commands/server.rb:39
         from /usr/local/lib/ruby/site_ruby/1.8/rubygems/ 
custom_require.rb:32:in `gem_original_require'
         from /usr/local/lib/ruby/site_ruby/1.8/rubygems/ 
custom_require.rb:32:in `require'
         from script/server:3

Any help gladly received,

John




More information about the dev mailing list