Git Product home page Git Product logo

jquery-sparkline-rails's People

Contributors

hedtekrob avatar robathedtek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

jquery-sparkline-rails's Issues

Version check in engine.rb fails on 3.2.10 or above

Due to the string comparison in engine.rb, version checking will always fail when using Rails 3.2.1x or higher.

[4] pry(main)> ::Rails.version
=> "3.2.11"
[5] pry(main)> ::Rails.version >= "3.2.2"
=> false

Best fix I could find is something like this:

Gem::Version.new(::Rails.version) >= Gem::Version.new("3.2.2")

Gem not adding to project correctly

Following the instructions in the readme, but somehow this isn't adding to my Rails project.

As mentioned in the readme, I added the gem to the Gemfile with the reference to the github link, followed with a 'bundle install', added "//= require 'sparklines'" to my application.js file in the asset pipeline, but any page requested returns with an error saying "couldn't find file 'sparklines'". Running 'gem list' showed that the gem was not included in my gems (although the 'bundle install' showed that the files were indeed being fetched from this repo).

If I do another 'bundle install', I see the line

"Using jquery-sparkline-rails (2.0.0) from https://github.com/RobAtHedtek/jquery-sparkline-rails.git (at master)"

After tweaking a few things, I couldn't get it to work, so I defaulted to the manual "gem install jquery-sparkline-rails", which returned with the following error

"ERROR: Could not find a valid gem 'jquery-sparkline-rails' (>= 0) in any repository"

I really would like to see some sparklines on my page!

Thanks in advance,

-Max

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.