GithubHelp home page GithubHelp logo

mhartl / rails_tutorial_3rd_edition_gemfiles Goto Github PK

View Code? Open in Web Editor NEW
45.0 10.0 42.0 17 KB

The Gemfiles for the three example applications of the Ruby on Rails Tutorial (3rd Ed.)

Ruby 100.00%

rails_tutorial_3rd_edition_gemfiles's Introduction

rails_tutorial_3rd_edition_gemfiles's People

Contributors

mhartl 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  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  avatar  avatar  avatar  avatar

rails_tutorial_3rd_edition_gemfiles's Issues

bundle install not getting everything?

With your gemfiles when create a new app (using 4.2.2), cd into the folder, and run bundle install --without production/bundle update as described in the book everything works fine. Then I do rails s and it complains that it can't find CFPropertyList-2.3.2, I do a gem install and repeat rails s. Then it flags another package and another and another. Is there an easier way to do this? I thought the Gemfile was supposed to take care of this stuff so I didn't need to manually install gems.

Thanks!

Gemfile of hello_app cannot be run

It shows a lot of problem, such as:

An error occurred while installing pg (0.17.1), and Bundler cannot continue. Make sure that gem install pg -v '0.17.1' succeeds before bundling.

Could not find gem 'sass-rails (= 5.0.2)' in any of the gem sources listed in your Gemfile or available on this machine.

Gemfile does not include gem 'rake'

Hi Michael and other contributors,

When I use bundle exec rake db:migrate
from Rails Tutorial, I receive the following output
/Users/Hyacinth/.rvm/gems/ruby-2.2.1/gems/bundler-1.10.6/lib/bundler/rubygems_integration.rb:292:inblock in replace_gem': rake is not part of the bundle. Add it to Gemfile. (Gem::LoadError)
from /Users/Hyacinth/.rvm/gems/ruby-2.2.1/bin/rake:22:in <main>' from /Users/Hyacinth/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:ineval'
from /Users/Hyacinth/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in <main>'.

I went ahead and added gem 'rake' to the Gemfile, and I still keep getting this error.
Additionally, I've deleted Gemfile.lock and ran a bundle install again. The same error, keeps appearing after bundle install generates a new Gemfile.lock. I've also tried removing gem 'rake', but the error persists. Any ideas?

Unable to push to heroku

Counting objects: 74, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (63/63), done.
Writing objects: 100% (74/74), 18.58 KiB | 0 bytes/s, done.
Total 74 (delta 8), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Ruby app detected
remote: -----> Compiling Ruby/Rails
remote: -----> Using Ruby version: ruby-2.2.4
remote: -----> Installing dependencies using bundler 1.11.2
remote: Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
remote: Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running gem install bundler.
remote: Fetching gem metadata from https://rubygems.org/...........
remote: Fetching version metadata from https://rubygems.org/...
remote: Fetching dependency metadata from https://rubygems.org/..
remote: Could not find rake-11.2.1 in any of the sources
remote: Bundler Output: Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running gem install bundler.
remote: Fetching gem metadata from https://rubygems.org/...........
remote: Fetching version metadata from https://rubygems.org/...
remote: Fetching dependency metadata from https://rubygems.org/..
remote: Could not find rake-11.2.1 in any of the sources
remote: !
remote: ! Failed to install gems via Bundler.
remote: !
remote:
remote: ! Push rejected, failed to compile Ruby app
remote:
remote: Verifying deploy...
remote:
remote: ! Push rejected to fast-garden-35459.
remote:
To https://git.heroku.com/fast-garden-35459.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/fast-garden-35459.git'

Tried so many times and a lot of methods, but none worked.
Please help!

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.