Giter Site home page Giter Site logo

pizzaria's People

Contributors

ccjr avatar rbarazi avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

pizzaria's Issues

'bundle install' fails

After checking out the main repository I ran rails server which gave me the following output:

/Library/Ruby/Gems/1.8/gems/bundler-0.9.25/lib/bundler/source.rb:346:in load_spec_files': git://github.com/rails/rails.git (at 518891f) is not checked out. Please run bundle install (Bundler::PathError)`

Running bundle install generates the following output:

Updating git://github.com/merbjedi/active_merchant.git Updating git://github.com/mislav/will_paginate.git Updating git://github.com/thoughtbot/paperclip.git fatal: Could not parse object 'bdb7ab40f63c23b9fc0426c936cf3d6d4ce8d3da'. An error has occurred in git. Cannot complete bundling.

My fault or an error in the package?

Can this be updated to Rails 3.1?

I bought your book and I'd like to play a bit with this application unfortunately I receive:

pizzaria/app/views/carts/_cart.html.erb where line #6 raised:

undefined method `[]' for false:FalseClass
Extracted source (around line #6):

Cart

    <%= for_each current_cart.items do |item| %>
  • <%= image_tag(item.product.image.url(:mini)) %> <%= item.quantity %>

    Trace of template inclusion: app/views/layouts/application.html.erb

    Application Trace | Framework Trace | Full Trace
    app/controllers/application_controller.rb:7:in current_cart' app/views/carts/_cart.html.erb:6:in_app_views_carts__cart_html_erb___1739811058910117597_70170754005660'
    app/views/layouts/application.html.erb:33:in _app_views_layouts_application_html_erb___891968134669836716_70170754710560' app/controllers/products_controller.rb:9:inindex'

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.