GithubHelp home page GithubHelp logo

NoMethodError about flexpay HOT 4 CLOSED

cchandler avatar cchandler commented on September 18, 2024
NoMethodError

from flexpay.

Comments (4)

cchandler avatar cchandler commented on September 18, 2024

Can you send me your version of ruby(ruby -v) and the bundler gem file you're using? I'll see if I can recreate it locally.

from flexpay.

jwils avatar jwils commented on September 18, 2024

I'm using ruby version 1.8.7 and bundler 1.0.7. My gemfile only has these gems in it:

gem 'rails', '3.0.3'
gem 'sqlite3-ruby', :require => 'sqlite3'
gem 'flexpay'

from flexpay.

cchandler avatar cchandler commented on September 18, 2024

OK, I see the problem. class_variable_set like I'm doing explicitly is a Ruby 1.9 behavior. I'm going to take some time this afternoon to update the specs and use a more general setting of that variable that should make it work under 1.8. In the mean time if you want to play with it just change:
api_module.rb

self.class_variable_set(:@@included_in, {})

to

@@included_in = {}

I need to verify everything, but it allows inclusion :-).

from flexpay.

cchandler avatar cchandler commented on September 18, 2024

I've pushed an update that should have everything working as expected for Ruby 1.8.7. If you clone the repo and build the gem manually you can give it a shot. Otherwise I'll push to rubygems later today/tomorrow.

from flexpay.

Related Issues (2)

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.