You have to add thin in the Gemfile file in your rails root, then "rails server thin" will work fine:
gem 'thin' Whithout this, doing a "thin start" inside your rails root should also work fine. On 15 sep, 05:12, Difei Zhao <[email protected]> wrote: > Greetings, > > I have my rails 3 newly installed, everything seemed working except I > tried start thin server: > > ~/test/rails3_1.9$ script/rails server thin > Exiting > /var/lib/gems/1.9.1/gems/rack-1.2.1/lib/rack/handler/thin.rb:1:in > `require': no such file to load -- thin (LoadError) > from /var/lib/gems/1.9.1/gems/rack-1.2.1/lib/rack/handler/thin.rb:1:in > `<top (required)>' > from /var/lib/gems/1.9.1/gems/rack-1.2.1/lib/rack/handler.rb:17:in > `const_get' > from /var/lib/gems/1.9.1/gems/rack-1.2.1/lib/rack/handler.rb:17:in > `block in get' > from /var/lib/gems/1.9.1/gems/rack-1.2.1/lib/rack/handler.rb:17:in > `each' > from /var/lib/gems/1.9.1/gems/rack-1.2.1/lib/rack/handler.rb:17:in > `get' > from /var/lib/gems/1.9.1/gems/rack-1.2.1/lib/rack/server.rb:217:in > `server' > from > /var/lib/gems/1.9.1/gems/railties-3.0.0/lib/rails/commands/server.rb:54:in > `start' > from > /var/lib/gems/1.9.1/gems/railties-3.0.0/lib/rails/commands.rb:30:in > `block in <top (required)>' > from > /var/lib/gems/1.9.1/gems/railties-3.0.0/lib/rails/commands.rb:27:in > `tap' > from > /var/lib/gems/1.9.1/gems/railties-3.0.0/lib/rails/commands.rb:27:in > `<top (required)>' > from script/rails:6:in `require' > from script/rails:6:in `<main>' > > I have thin gem installed: > thin (1.2.7) > > Could anyone tell me what is the problem? Thanks in advance. > -- > Posted viahttp://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

