Hi,

Just upgraded a Rails app to Bundler 0.9, and I can't start it inside
thin unless I actually include thin in the Gemfile as a dependency.
Trying both 'script/server thin' and 'thin start'.

Since thin is an application container, I don't think it makes sense
to include it in the dependency manifest. Anyone else run into this?

Here are the stack traces:

$ script/server thin

/var/lib/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in
`require': no such file to load -- thin (MissingSourceFile)

        from 
/var/lib/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in
`require'

        from 
/var/lib/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in
`new_constants_in'

        from 
/var/lib/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in
`require'

        from /var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/handler/thin.rb:1

        from /var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/handler.rb:17:in 
`const_get'

        from /var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/handler.rb:17:in `get'

        from /var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/handler.rb:17:in `each'

        from /var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/handler.rb:17:in `get'

        from /var/lib/gems/1.8/gems/rails-2.3.5/lib/commands/server.rb:45

        from script/server:3:in `require'

        from script/server:3

$ thin start

>> Using rails adapter

>> Thin web server (v1.2.5 codename This Is Not A Web Server)

>> Maximum connections set to 1024

>> Listening on 0.0.0.0:3000, CTRL+C to stop

/var/lib/gems/1.8/gems/thin-1.2.5/lib/thin/backends/tcp_server.rb:16:in
`connect': no such file to load -- thin/connection (MissingSourceFile)

        from /var/lib/gems/1.8/gems/thin-1.2.5/lib/thin/backends/base.rb:49:in 
`start'

        from 
/var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in
`call'

        from 
/var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in
`run_machine'

        from 
/var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in
`run'

        from /var/lib/gems/1.8/gems/thin-1.2.5/lib/thin/backends/base.rb:57:in 
`start'

        from /var/lib/gems/1.8/gems/thin-1.2.5/lib/thin/server.rb:156:in `start'

        from 
/var/lib/gems/1.8/gems/thin-1.2.5/lib/thin/controllers/controller.rb:80:in
`start'

        from /var/lib/gems/1.8/gems/thin-1.2.5/lib/thin/runner.rb:177:in `send'

        from /var/lib/gems/1.8/gems/thin-1.2.5/lib/thin/runner.rb:177:in 
`run_command'

        from /var/lib/gems/1.8/gems/thin-1.2.5/lib/thin/runner.rb:143:in `run!'

        from /var/lib/gems/1.8/gems/thin-1.2.5/bin/thin:6

        from /var/lib/gems/1.8/bin/thin:19:in `load'

        from /var/lib/gems/1.8/bin/thin:19

-- 
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.

Reply via email to