Hey, thanks for ur help, John. Well, as I said, i´m a rookie and didn´t think that i have to start the server...
But there´s a quite convenient solution for redis and windows: there is a complete installer for windows 32 + 64 bit on cloud.github. The server can easily be started by opening the redis-server.exe (and the default port of the server is the same as the one specified in ruote on rails in the tutorial) best regards Am Mittwoch, 24. Oktober 2012 21:56:28 UTC+2 schrieb Tobi: > > Hey guys, > > i just tried to get started with ruote on rails. > I followed the instructions on: > http://openwferu.rubyforge.org/with_rails.html > > So, I modified the routes.rb file to start the redis server (which is > necessary i guess -> yes, i´m a stupid rookie...) > But when starting the rails server, i get an error that the redis server > is not able to start due to a time-out error. > I as well tried to raise the timeout period from 5.0 to 50.0 seconds - > without results. > > As the code in routes.rb starts the redis server with parameters > RUOTE_STORAGE = Ruote::Redis::Storage.new( > ::Redis.new(:db => 14, :thread_safe => true), {}) > > I as well tried to start it without: > > RUOTE_STORAGE = Ruote::Redis::Storage.new( > #::Redis.new(:db => 14, :thread_safe => true), {}) > ::Redis.new, {}) > > ...but I get the same error (the one u can see attached to this message) > > I really don´t get much information out of this, cause it only quotes > (after Exiting) an timeout error definition. > So, why does the redis server not start? > Does it have something to to with those first 4 lines, telling me > something about already initialized constants??? > If yes, what does it mean? > Can you help me out of that, please?? > > Thanks a lot in advance! > > Tobi > > C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby_parser-2.3.1/lib/ruby_parser_extras.rb:10: > > warning: already initialized constant ENC_NONE > C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby_parser-2.3.1/lib/ruby_parser_extras.rb:11: > > warning: already initialized constant ENC_EUC > C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby_parser-2.3.1/lib/ruby_parser_extras.rb:12: > > warning: already initialized constant ENC_SJIS > C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby_parser-2.3.1/lib/ruby_parser_extras.rb:13: > > warning: already initialized constant ENC_UTF8 > => Booting WEBrick > => Rails 3.2.8 application starting in development on http://0.0.0.0:3000 > => Call with -d to detach > => Ctrl-C to shutdown server > *Exiting* > C:/Ruby193/lib/ruby/gems/1.9.1/gems/redis-3.0.2/lib/redis/client.rb:266:in > `rescue in establish_connection': Timed out connecting to Redis on > 127.0.0.1:6379 (Redis::Cann > tConnectError) > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/redis-3.0.2/lib/redis/client.rb:263:in > `establish_connection' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/redis-3.0.2/lib/redis/client.rb:69:in > `connect' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/redis-3.0.2/lib/redis/client.rb:282:in > `ensure_connected' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/redis-3.0.2/lib/redis/client.rb:173:in > `block in process' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/redis-3.0.2/lib/redis/client.rb:248:in > `logging' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/redis-3.0.2/lib/redis/client.rb:172:in > `process' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/redis-3.0.2/lib/redis/client.rb:84:in > `call' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/redis-3.0.2/lib/redis.rb:715:in `block > in get' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/redis-3.0.2/lib/redis.rb:36:in `block > in synchronize' > from C:/Ruby193/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/redis-3.0.2/lib/redis.rb:36:in > `synchronize' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/redis-3.0.2/lib/redis.rb:714:in `get' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruote-redis-2.3.0/lib/ruote/redis/storage.rb:430:in > > `do_get' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruote-redis-2.3.0/lib/ruote/redis/storage.rb:235:in > > `get' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruote-2.3.0.1/lib/ruote/storage/base.rb:86:in > > `replace_engine_configuration' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruote-redis-2.3.0/lib/ruote/redis/storage.rb:141:in > > `initialize' > from c:/BeispielApps/versuch_1/config/routes.rb:11:in `new' > from c:/BeispielApps/versuch_1/config/routes.rb:11:in `block in > <top (required)>' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:282:in > > `instance_exec' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:282:in > > `eval_block' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:260:in > > `draw' > from c:/BeispielApps/versuch_1/config/routes.rb:1:in `<top > (required)>' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:245:in > > `load' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:245:in > > `block in load' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:236:in > > `load_dependency' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:245:in > > `load' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/application/routes_reloader.rb:40:in > > `block in load_paths' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/application/routes_reloader.rb:40:in > > `each' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/application/routes_reloader.rb:40:in > > `load_paths' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/application/routes_reloader.rb:16:in > > `reload!' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/application/routes_reloader.rb:26:in > > `block in updater' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/file_update_checker.rb:78:in > > `call' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/file_update_checker.rb:78:in > > `execute' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/application/routes_reloader.rb:27:in > > `updater' > from C:in `execute_if_updated' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/application/finisher.rb:66:in > > `block in <module:Finisher>' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/initializable.rb:30:in > > `instance_exec' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/initializable.rb:30:in > > `run' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/initializable.rb:55:in > > `block in run_initializers' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/initializable.rb:54:in > > `each' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/initializable.rb:54:in > > `run_initializers' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/application.rb:136:in > > `initialize!' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:in > > `method_missing' > from c:/BeispielApps/versuch_1/config/environment.rb:5:in `<top > (required)>' > from c:/BeispielApps/versuch_1/config.ru:4:in `require' > from c:/BeispielApps/versuch_1/config.ru:4:in `block in <main>' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:51:in > `instance_eval' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:51:in > `initialize' > from c:/BeispielApps/versuch_1/config.ru:1:in `new' > from c:/BeispielApps/versuch_1/config.ru:1:in `<main>' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:40:in > `eval' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:40:in > `parse_file' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:200:in > `app' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/commands/server.rb:46:in > > `app' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:301:in > `wrapped_app' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:252:in > `start' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/commands/server.rb:70:in > > `start' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/commands.rb:55:in > > `block in <top (required)>' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/commands.rb:50:in > > `tap' > from > C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/commands.rb:50:in > > `<top (required)>' > from script/rails:6:in `require' > from script/rails:6:in `<main>' > > > > > > -- you received this message because you are subscribed to the "ruote users" group. to post : send email to [email protected] to unsubscribe : send email to [email protected] more options : http://groups.google.com/group/openwferu-users?hl=en
