该帖已经被评为良好帖
|
|
---|---|
作者 | 正文 |
发表时间:2007-08-21
chen823 写道 经过一天的捣鼓,终于能执行store/index/2这个页面了 现在只是后台进不了,不知道登录帐号和密码 请问GGJJ们是怎样登上去的?谢谢
你是怎么修改的?我的store/index/2还是进不去,是不是数据库数据的问题?我的数据库里的中文都是乱码,建数据库时已经设置UTF-8了. 到现在我的store/index/2还没出现呢. |
|
返回顶楼 | |
发表时间:2007-08-22
to:chen823
初始化的数据在db/migrate/042_add_initialization_data.rb文件中,你可以在那里修改初始几个帐号的密码以及其他初始化数据。 to:yoyozizou 能不能把添加物品的问题描述得清楚一些?还有关于表关联有误的地方,希望指出更正。 to:simon_lin i-meili访问不了应该是空间商出了问题,连空间商主页也访问不了。 to:大家 我有时间会写一篇关于部署的文档,最近比较忙,请见谅。 |
|
返回顶楼 | |
发表时间:2007-08-22
ali 写道 要安装RMagick这个gem
我的也是出现这个问题. MissingSourceFile in StoreController#index no such file to load -- RMagick 这个在哪里安装?怎么安装?谢谢! |
|
返回顶楼 | |
发表时间:2007-08-22
http://localhost:3002/store/index/2 还是进不去:(
总出现: MissingSourceFile in StoreController#index no such file to load -- RMagick RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in `require' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in `new_constants_in' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in `require' #{RAILS_ROOT}/vendor/plugins/file-column/lib/magick_file_column.rb:84:in `file_column' #{RAILS_ROOT}/vendor/plugins/file-column/lib/file_column.rb:625:in `file_column' #{RAILS_ROOT}/app/models/product.rb:3 #{RAILS_ROOT}/app/controllers/store_controller.rb:14:in `index' -e:4:in `load' -e:4 D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in `require' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in `new_constants_in' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in `require' #{RAILS_ROOT}/vendor/plugins/file-column/lib/magick_file_column.rb:84:in `file_column' #{RAILS_ROOT}/vendor/plugins/file-column/lib/file_column.rb:625:in `file_column' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:203:in `load_without_new_constant_marking' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:203:in `load_file' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in `new_constants_in' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:202:in `load_file' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:94:in `require_or_load' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:248:in `load_missing_constant' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:452:in `const_missing' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:464:in `const_missing' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:260:in `load_missing_constant' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:468:in `const_missing' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:1095:in `send' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:1095:in `perform_action_without_filters' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:632:in `call_filter' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:634:in `call_filter' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:638:in `call_filter' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:438:in `call' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:637:in `call_filter' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:638:in `call_filter' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:438:in `call' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:637:in `call_filter' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:619:in `perform_action_without_benchmark' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue' D:/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/rescue.rb:83:in `perform_action' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:430:in `send' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:430:in `process_without_filters' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:624:in `process_without_session_management_support' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/session_management.rb:114:in `process' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:330:in `process' D:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/dispatcher.rb:41:in `dispatch' D:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/webrick_server.rb:113:in `handle_dispatch' D:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/webrick_server.rb:79:in `service' D:/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' D:/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' D:/ruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' D:/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start' D:/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' D:/ruby/lib/ruby/1.8/webrick/server.rb:95:in `start' D:/ruby/lib/ruby/1.8/webrick/server.rb:92:in `each' D:/ruby/lib/ruby/1.8/webrick/server.rb:92:in `start' D:/ruby/lib/ruby/1.8/webrick/server.rb:23:in `start' D:/ruby/lib/ruby/1.8/webrick/server.rb:82:in `start' D:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/webrick_server.rb:63:in `dispatch' D:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/servers/webrick.rb:59 D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in `require' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in `new_constants_in' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in `require' D:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/server.rb:39 D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' script/server:3 D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in `require' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in `new_constants_in' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in `require' #{RAILS_ROOT}/vendor/plugins/file-column/lib/magick_file_column.rb:84:in `file_column' #{RAILS_ROOT}/vendor/plugins/file-column/lib/file_column.rb:625:in `file_column' #{RAILS_ROOT}/app/models/product.rb:3 D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:203:in `load_without_new_constant_marking' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:203:in `load_file' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in `new_constants_in' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:202:in `load_file' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:94:in `require_or_load' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:248:in `load_missing_constant' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:452:in `const_missing' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:464:in `const_missing' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:260:in `load_missing_constant' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:468:in `const_missing' #{RAILS_ROOT}/app/controllers/store_controller.rb:14:in `index' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:1095:in `send' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:1095:in `perform_action_without_filters' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:632:in `call_filter' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:634:in `call_filter' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:638:in `call_filter' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:438:in `call' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:637:in `call_filter' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:638:in `call_filter' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:438:in `call' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:637:in `call_filter' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:619:in `perform_action_without_benchmark' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue' D:/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/rescue.rb:83:in `perform_action' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:430:in `send' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:430:in `process_without_filters' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:624:in `process_without_session_management_support' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/session_management.rb:114:in `process' D:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:330:in `process' D:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/dispatcher.rb:41:in `dispatch' D:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/webrick_server.rb:113:in `handle_dispatch' D:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/webrick_server.rb:79:in `service' D:/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' D:/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' D:/ruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' D:/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start' D:/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' D:/ruby/lib/ruby/1.8/webrick/server.rb:95:in `start' D:/ruby/lib/ruby/1.8/webrick/server.rb:92:in `each' D:/ruby/lib/ruby/1.8/webrick/server.rb:92:in `start' D:/ruby/lib/ruby/1.8/webrick/server.rb:23:in `start' D:/ruby/lib/ruby/1.8/webrick/server.rb:82:in `start' D:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/webrick_server.rb:63:in `dispatch' D:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/servers/webrick.rb:59 D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in `require' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in `new_constants_in' D:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in `require' D:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/server.rb:39 D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' script/server:3 -e:4:in `load' -e:4 This error occurred while loading the following files: RMagick Request Parameters: {"id"=>"2"} Show session dump --- :store_id: 2 :cart: !ruby/object:Cart items: [] flash: !map:ActionController::Flash::FlashHash {} Response Headers: {"cookie"=>[], "Cache-Control"=>"no-cache"} |
|
返回顶楼 | |
发表时间:2007-08-23
to: simon_lin
安装RMagic |
|
返回顶楼 | |
发表时间:2007-08-24
谢谢 ALI
to: simon_lin 如ALI所说要安装RMAGIC |
|
返回顶楼 | |
发表时间:2007-08-24
安装RMAGIC 可以参考这个网址
:http://www.cnblogs.com/ice5/archive/2007/08/22/865696.aspx 我的RMAGIC是安装在X:\ruby\lib\ruby\gems\1.8目录下 |
|
返回顶楼 | |