Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error after adding goliath to my Gemfile. #321

Open
nikhilbansal opened this issue Feb 3, 2016 · 4 comments
Open

Error after adding goliath to my Gemfile. #321

nikhilbansal opened this issue Feb 3, 2016 · 4 comments

Comments

@nikhilbansal
Copy link

Hi,
I am getting the following error after adding Goliath to my Gemfile. I am getting this error when I am trying to run my app using webrick in development mode. Please help.

Exiting
/Users/nikhilbansal/.rvm/gems/ruby-2.1.2/gems/rack-1.5.2/lib/rack/handler.rb:43:in `pick': Couldn't find handler for: thin, puma, webrick. (LoadError)
        from /Users/nikhilbansal/.rvm/gems/ruby-2.1.2/gems/rack-1.5.2/lib/rack/handler.rb:57:in `default'
        from /Users/nikhilbansal/.rvm/gems/ruby-2.1.2/gems/rack-1.5.2/lib/rack/server.rb:268:in `server'
        from /Users/nikhilbansal/.rvm/gems/ruby-2.1.2/gems/railties-4.1.5/lib/rails/commands/server.rb:112:in `print_boot_information'
        from /Users/nikhilbansal/.rvm/gems/ruby-2.1.2/gems/railties-4.1.5/lib/rails/commands/server.rb:64:in `start'
        from /Users/nikhilbansal/.rvm/gems/ruby-2.1.2/gems/railties-4.1.5/lib/rails/commands/commands_tasks.rb:81:in `block in server'
        from /Users/nikhilbansal/.rvm/gems/ruby-2.1.2/gems/railties-4.1.5/lib/rails/commands/commands_tasks.rb:76:in `tap'
        from /Users/nikhilbansal/.rvm/gems/ruby-2.1.2/gems/railties-4.1.5/lib/rails/commands/commands_tasks.rb:76:in `server'
        from /Users/nikhilbansal/.rvm/gems/ruby-2.1.2/gems/railties-4.1.5/lib/rails/commands/commands_tasks.rb:40:in `run_command!'
        from /Users/nikhilbansal/.rvm/gems/ruby-2.1.2/gems/railties-4.1.5/lib/rails/commands.rb:17:in `<top (required)>'
        from bin/rails:8:in `require'
        from bin/rails:8:in `<main>'```
@nolman
Copy link
Member

nolman commented Feb 3, 2016

Are you trying to use Goliath to serve a Rails app? You will not be able to do that, Goliath is a standalone framework, while you can use ActiveRecord (using an event machine based adapter) and ActiveSupport with it, the Rails request response cycle is not supported.

@nikhilbansal
Copy link
Author

I just want Goliath to be a part of the same codebase as of Passenger. I am still using Passenger to serve my Rails app. I am getting this error when I am trying to run passenger.

@dj2
Copy link
Contributor

dj2 commented Feb 9, 2016

The rails app will load all of the gems in the bundle. So, if Goliath is in there it will be loaded by Rails. I believe you can put it in a custom group to not have it loaded in production, but not sure if that will work in dev/test.

@dankozlowski
Copy link

@nikhilbansal Are you still experiencing issues here or can we close this out?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants