Giter Site home page Giter Site logo

sovren's People

Contributors

danielfarrell avatar efleming avatar grossadamm avatar uberbrodt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

sovren's Issues

Current gem release (0.0.5) causes exceptions when SOVREN_ENV is undefined

When requiring the sovren gem, if the environment variable 'SOVREN_ENV' is undefined, it causes exceptions.

`block in require': undefined method `to_sym' for nil:NilClass (NoMethodError)

The offending line is in lib/sovren.rb#1:

Bundler.require(:default,ENV["SOVREN_ENV"]) if defined?(Bundler)

I am unable to start a rails server with the gem installed :undefined method `to_sym' for nil:NilClass

I started a new rails app my Gem file as below:
source 'http://rubygems.org'
ruby '1.9.3'

ruby-gemset=railstutorial_rails_4_0

gem 'rails', '4.0.0'
gem 'bcrypt-ruby', '3.0.1'
gem 'pg', '0.15.1'
gem 'sovren'

I am unsure why i get this error
/Users/xxx/.rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:56:in block in require': undefined methodto_sym' for nil:NilClass (NoMethodError)

What could be the issue?

Update to latest API

I'll make a pull request for this as I get a little time, but working on the current version of the Sovren API I had to use my own client class to make the API calls. The classes in this library for parsing still worked great on the response, so it's just the client that needs updating.

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.