Git Product home page Git Product logo

first_app's People

Contributors

mhartl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

first_app's Issues

Running test on JRuby

I´ve followed the tutorial but I´m using JRuby. Thinks work fine, but when trying to test, it never completes. This is what I get:

rails test
DEPRECATION WARNING: #table_exists? currently checks both tables and views. This behavior is deprecated and will be changed with Rails 5.1 to only check tables. Use #data_source_exists? instead. (called from

at D:/rbotafogo/desenv/counting_app/test/test_helper.rb:1)
Run options: --seed 37821

Running:

And its stays on Running forever. Any ideas on how to proceed from here?

Thanks

default config/database.yml causes heroku app crash

Expected Behavior

Following the online rails tutorial the hello_app should be visible on the deployed heroku site.

Actual Behavior

hello_app crashes with specification, error: Error Loading the 'sqlite3' Active Recored adapter. Missing gem it depends on? sqlite3 is not part of the bundle. Add it to your Gemfile. (LoadError)

Steps to Reproduce the Problem

  1. Using specification follow the hello_app tutorial up to and including heroku_setup
  2. check heroku logs --tail to see App Crash
  3. verify error with heroku run rails console

Specifications

  • Rails: 6.0.3
  • ruby: 2.6.6
  • heroku: 7.41.1
  • OS: Xubuntu

Solution

Modify config/database.yml production mapping:

# Postgresql config for Heroku
production:
  adapter: postgresql
  database: production_postgres
  pool: 5
  username: hello_postgres
  password: 

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.