Giter Site home page Giter Site logo

dockerizing_rails's People

Contributors

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

Watchers

 avatar  avatar  avatar  avatar

dockerizing_rails's Issues

Where can I learn more?

Say, for example, that I was a docker wizard and I wanted more to learn after this workshop, can you give me some references on where to go?

I'd like some follow-up work after finishing this workshop to learn more on my own time.

rspec fails in assignment 3

When running this command rspec fails. I think this is unintentional.

 |23:30:29| jh |preparation ✗| → docker container run -it your_docker_id/rails_app:v1 rspec
...........F.............

Failures:

  1) ProgressUpdateJob#peform sets the progress to 100 if there are more read pages than pages
     Failure/Error: expect { described_class.new.perform(book.id) }.to change { book.reload.progress }.from(nil).to(100)
       expected `book.reload.progress` to have changed to 100, but is now 115
     # ./spec/jobs/progress_update_job_spec.rb:18:in `block (3 levels) in <main>'

Finished in 1.46 seconds (files took 2.65 seconds to load)
25 examples, 1 failure

Failed examples:

rspec ./spec/jobs/progress_update_job_spec.rb:13 # ProgressUpdateJob#peform sets the progress to 100 if there are more read pages than pages

Could not find table 'books'

After running this command in assignment 3, see the error message:

 MacBook-Pro-5 in ~/workspace/dockerizing_rails ❤️
 |23:28:16| jh |preparation ✗| → docker container run -it your_docker_id/rails_app:v1
Running via Spring preloader in process 27
Loading development environment (Rails 5.2.3)
irb(main):001:0> Book.create!(title: "Rails With Docker", pages: 312)
Traceback (most recent call last):
        1: from (irb):1
ActiveRecord::StatementInvalid (Could not find table 'books')
irb(main):002:0>

For assignment 4, my server never spawns.

MacBook-Pro-5 in ~/workspace/dockerizing_rails ❤️
 |23:36:04| jh |preparation ✗| → docker container run -p 3000:3000 your_docker_id/rails_app:v1 rails s

I don't get any output, and when I try to navigate to localhost:3000 I get a The connection was reset in firefox.

Let's go through this together!

When I ctrl+c I get a bunch of output that looks like the buffer wasn't flushing.

rbenv .ruby-version is noisy if I don't have 2.5.3 installed

After every command I'm running locally, since I don't have ruby 2.5.3 installed, I'm getting this message:

rbenv: version `2.5.3' is not installed

Maybe we can just do echo '2.5.3' > .ruby-version as part of the Dockerfile so it doesn't need to be installed locally.

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.