Hi i cannot start my rails server webrick and i m just start learning rails .. the error i get is:> /var/lib/gems/1.8/gems/railties-3.2.13/lib/rails/script_rails_loader.rb:11:warning: Insecure world writable dir /sbin in PATH, mode 040777 /var/lib/gems/1.8/gems/bundler-1.3.5/lib/bundler/runtime.rb:216: warning: Insecure world writable dir /sbin in PATH, mode 040777 => Booting WEBrick => Rails 3.2.13 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server Exiting /var/lib/gems/1.8/gems/mysql2-0.3.11/lib/mysql2/client.rb:44:in `connect'': Unknown database ''simple_pod_development'' (Mysql2::Error) from /var/lib/gems/1.8/gems/mysql2-0.3.11/lib/mysql2/client.rb:44:in `initialize'' from /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/mysql2_adapter.rb:16:in `new'' from /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/mysql2_adapter.rb:16:in `mysql2_connection'' from /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:315:in `send'' from /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:315:in `new_connection'' from /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:325:in `checkout_new_connection'' from /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:247:in `checkout'' from /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:242:in `loop'' from /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:242:in `checkout'' from /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'' from /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:239:in `checkout'' from /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:102:in `connection'' from /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'' from /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:101:in `connection'' from /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:410:in `retrieve_connection'' from /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_specification.rb:171:in `retrieve_connection'' from /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_specification.rb:145:in `connection'' from /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/railtie.rb:88 from /var/lib/gems/1.8/gems/railties-3.2.13/lib/rails/initializable.rb:30:in `instance_exec'' from /var/lib/gems/1.8/gems/railties-3.2.13/lib/rails/initializable.rb:30:in `run'' from /var/lib/gems/1.8/gems/railties-3.2.13/lib/rails/initializable.rb:55:in `run_initializers'' from /var/lib/gems/1.8/gems/railties-3.2.13/lib/rails/initializable.rb:54:in `each'' from /var/lib/gems/1.8/gems/railties-3.2.13/lib/rails/initializable.rb:54:in `run_initializers'' from /var/lib/gems/1.8/gems/railties-3.2.13/lib/rails/application.rb:136:in `initialize!'' from /var/lib/gems/1.8/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30:in `send'' from /var/lib/gems/1.8/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30:in `method_missing'' from /opt/lampp/htdocs/pod/simple_pod/config/environment.rb:5 from /opt/lampp/htdocs/pod/simple_pod/config.ru:3:in `require'' from /opt/lampp/htdocs/pod/simple_pod/config.ru:3 from /var/lib/gems/1.8/gems/rack-1.4.5/lib/rack/builder.rb:51:in `instance_eval'' from /var/lib/gems/1.8/gems/rack-1.4.5/lib/rack/builder.rb:51:in `initialize'' from /opt/lampp/htdocs/pod/simple_pod/config.ru:0:in `new'' from /opt/lampp/htdocs/pod/simple_pod/config.ru:0 any help please -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/W4CkD1FV4dcJ. For more options, visit https://groups.google.com/groups/opt_out.
It seems to be looking for your development database. On Apr 13, 2013 5:30 PM, "Ahmed saidi" <ahmed.saidi21-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi > i cannot start my rails server webrick and i m just start learning rails > .. > the error i get is: > > >> /var/lib/gems/1.8/gems/railties-3.2.13/lib/rails/script_rails_loader.rb:11: > warning: Insecure world writable dir /sbin in PATH, mode 040777 > /var/lib/gems/1.8/gems/bundler-1.3.5/lib/bundler/runtime.rb:216: warning: > Insecure world writable dir /sbin in PATH, mode 040777 > => Booting WEBrick > => Rails 3.2.13 application starting in development on http://0.0.0.0:3000 > => Call with -d to detach > => Ctrl-C to shutdown server > Exiting > /var/lib/gems/1.8/gems/mysql2-0.3.11/lib/mysql2/client.rb:44:in `connect'': > Unknown database ''simple_pod_development'' (Mysql2::Error) > from /var/lib/gems/1.8/gems/mysql2-0.3.11/lib/mysql2/client.rb:44:in > `initialize'' > from > /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/mysql2_adapter.rb:16:in > `new'' > from > /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/mysql2_adapter.rb:16:in > `mysql2_connection'' > from > /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:315:in > `send'' > from > /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:315:in > `new_connection'' > from > /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:325:in > `checkout_new_connection'' > from > /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:247:in > `checkout'' > from > /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:242:in > `loop'' > from > /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:242:in > `checkout'' > from /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'' > from > /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:239:in > `checkout'' > from > /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:102:in > `connection'' > from /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'' > from > /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:101:in > `connection'' > from > /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:410:in > `retrieve_connection'' > from > /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_specification.rb:171:in > `retrieve_connection'' > from > /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_specification.rb:145:in > `connection'' > from > /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/railtie.rb:88 > from > /var/lib/gems/1.8/gems/railties-3.2.13/lib/rails/initializable.rb:30:in > `instance_exec'' > from > /var/lib/gems/1.8/gems/railties-3.2.13/lib/rails/initializable.rb:30:in > `run'' > from > /var/lib/gems/1.8/gems/railties-3.2.13/lib/rails/initializable.rb:55:in > `run_initializers'' > from > /var/lib/gems/1.8/gems/railties-3.2.13/lib/rails/initializable.rb:54:in > `each'' > from > /var/lib/gems/1.8/gems/railties-3.2.13/lib/rails/initializable.rb:54:in > `run_initializers'' > from > /var/lib/gems/1.8/gems/railties-3.2.13/lib/rails/application.rb:136:in > `initialize!'' > from > /var/lib/gems/1.8/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30:in > `send'' > from > /var/lib/gems/1.8/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30:in > `method_missing'' > from /opt/lampp/htdocs/pod/simple_pod/config/environment.rb:5 > from /opt/lampp/htdocs/pod/simple_pod/config.ru:3:in `require'' > from /opt/lampp/htdocs/pod/simple_pod/config.ru:3 > from /var/lib/gems/1.8/gems/rack-1.4.5/lib/rack/builder.rb:51:in > `instance_eval'' > from /var/lib/gems/1.8/gems/rack-1.4.5/lib/rack/builder.rb:51:in > `initialize'' > from /opt/lampp/htdocs/pod/simple_pod/config.ru:0:in `new'' > from /opt/lampp/htdocs/pod/simple_pod/config.ru:0 > > any help please > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/W4CkD1FV4dcJ. > For more options, visit https://groups.google.com/groups/opt_out. > > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On 13 April 2013 10:19, Ahmed saidi <ahmed.saidi21-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi > i cannot start my rails server webrick and i m just start learning rails .. > the error i get is: > >> > /var/lib/gems/1.8/gems/railties-3.2.13/lib/rails/script_rails_loader.rb:11: > warning: Insecure world writable dir /sbin in PATH, mode 040777 > /var/lib/gems/1.8/gems/bundler-1.3.5/lib/bundler/runtime.rb:216: warning: > Insecure world writable dir /sbin in PATH, mode 040777 > => Booting WEBrick > => Rails 3.2.13 application starting in development on http://0.0.0.0:3000 > => Call with -d to detach > => Ctrl-C to shutdown server > Exiting > /var/lib/gems/1.8/gems/mysql2-0.3.11/lib/mysql2/client.rb:44:in `connect'': > Unknown database ''simple_pod_development'' (Mysql2::Error)The clue may be in the above error message. Are you following a tutorial to get you started? If not then I suggest working through a good one such as railstutorial.org, which is free to use online. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.