Giter Site home page Giter Site logo

Comments (5)

amro avatar amro commented on August 20, 2024

Working fine for me. Did you run bundle install?

amro@ambook:~/$ rails new foo

In my gemfile:
gem 'gibbon'

followed by
amro@ambook:~/foo$ bundle install

amro@ambook:~/foo$ rails s => 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 [2013-04-04 18:43:58] INFO WEBrick 1.3.1 [2013-04-04 18:43:58] INFO ruby 1.9.3 (2012-04-20) [x86_64-darwin11.4.0] [2013-04-04 18:43:58] INFO WEBrick::HTTPServer#start: pid=33286 port=3000 Started GET "/assets/rails.png" for 127.0.0.1 at 2013-04-04 18:44:05 -0400 Served asset /rails.png - 200 OK (4ms)

from gibbon.

lurraca avatar lurraca commented on August 20, 2024

Yes, it was after bundle install, probably my app is missing some dependencies required by gibbon.
undefined method `default_timeout' for Gibbon:Class (NoMethodError)

Where is this 'default_timeout' supposed to come from?

from gibbon.

amro avatar amro commented on August 20, 2024

That comes from httparty, which Gibbon has always used. Not sure why you would be missing that.

from gibbon.

lurraca avatar lurraca commented on August 20, 2024

its not possible to use Gibbon with Faraday?

from gibbon.

amro avatar amro commented on August 20, 2024

I don't know as I've not tried using both Httparty and Faraday in the same project but I assume they would co-exist. . Gibbon itself relies on Httparty to make requests.

from gibbon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.