Comments (2)
@falcon78921 You need to have a database.yml
file.
Here is an example database.yml file with only production settings.
https://github.com/rbCAS/CASinoApp/blob/master/config/database.yml.example.postgres
Basic development settings would like:
development:
adapter: postgresql
encoding: unicode
database: CASinoApp
pool: 5
username:
password:
The top line of the stack trace:
ActiveRecord::AdapterNotSpecified: 'development' database is not configured. Available: ["defaults", "production"]
Shows you the available database configurations currently only defaults
, and production
.
The config file is going to look for configurations based on the rails environment you are attempting to run. It defaults development
. The app should run if you do:
RAILS_ENV='production' bundle exec rake db:migrate SCOPE=casino
Though running the app in the production environment locally is not something that many people do.
from casinoapp.
Thank you @drews256 for the reply. I figured out the issue yesterday. I had multiple Ruby versions installed and they were conflicting with each other, causing some weird issues.
I configured the correct Ruby version using rvm.
I am going to close this ticket, but again, thanks! :)
from casinoapp.
Related Issues (20)
- Create adaptor for Google login HOT 4
- Incorrect name for cleanup:all task HOT 1
- Use sidekiq instead of cron. HOT 2
- rotp 1.7.0 out of date HOT 1
- Improve the wiki HOT 2
- User log in with Casino HOT 10
- How to fix this problem .. please help me HOT 1
- Running CASino via Passenger using relative paths HOT 3
- Hosting Casino Server App HOT 3
- Error Active Directory Authentication HOT 1
- cant login with users in casino app HOT 1
- different tables for username and password HOT 2
- unable to login to users in postgres database with encryted password HOT 2
- unable to login to CASinoApp using external database username and password. HOT 1
- translation missing: fr.time.formats.default
- Cannot log in to CASinoApp HOT 1
- How do I get the current user session in the application when login with casino Gem?
- Missing last migrations from CASino gem HOT 4
- Docker container
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from casinoapp.