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 via http://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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
I hope I am not saying something totally wrong and idiotic but here goes: Is that Ruby 1.9.1 you are using? If I understand Rails 3 wants either 1.8.7 or 1.9.2. Could that be the problem? On Tue, Sep 14, 2010 at 10:12 PM, Difei Zhao <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> 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 via http://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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
David Kahn wrote:> I hope I am not saying something totally wrong and idiotic but here > goes: Is > that Ruby 1.9.1 you are using? If I understand Rails 3 wants either > 1.8.7 or > 1.9.2. Could that be the problem?Hello David, ruby 1.9.1 of Debian is actually 1.9.2 and I can run rails using: /var/lib/gem/1.9.1/bin/thin start to start the thin server. ~/test/rails3_1.9$ ruby1.9.1 -v ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-linux] I do not know why. -- Posted via http://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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Interesting. Sorry could not be more help. I did just try installing the gem and it runs on my 1.9.2-p0, but I am on a mac. On Tue, Sep 14, 2010 at 11:01 PM, Difei Zhao <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> David Kahn wrote: > > I hope I am not saying something totally wrong and idiotic but here > > goes: Is > > that Ruby 1.9.1 you are using? If I understand Rails 3 wants either > > 1.8.7 or > > 1.9.2. Could that be the problem? > > Hello David, > > ruby 1.9.1 of Debian is actually 1.9.2 and I can run rails using: > /var/lib/gem/1.9.1/bin/thin start to start the thin server. > > ~/test/rails3_1.9$ ruby1.9.1 -v > ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-linux] > > I do not know why. > -- > Posted via http://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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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 <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.