ror-capstone | rails social media app where users can sign up , follow | REST library
kandi X-RAY | ror-capstone Summary
kandi X-RAY | ror-capstone Summary
A ruby on rails social media app where users can sign up, follow one another, and post tweets.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Sign in user
- Sign in a user .
ror-capstone Key Features
ror-capstone Examples and Code Snippets
Community Discussions
Trending Discussions on ror-capstone
QUESTION
I've been working on a rails app & I'm sharing the code with someone through github. When I run the code locally on my machine, everything works fine, but when they run the code on their local environment they get this error:
Missing encryption key to decrypt file with. Ask your team for your master key and write it to /Users/krys2fa/Desktop/Microverse/Microverse Projects/CRRs/RoR-Capstone-Lifestyle-articles/config/master.key or put it in the ENV['RAILS_MASTER_KEY'].
Does anyone know how I can fix this?? Thank you :)
...ANSWER
Answered 2020-Nov-14 at 15:52Tell your buddy to run:
EDITOR="nano" rails credentials:edit
This command will open the nano
editor and will let create your credentials file. Once then tell him to restart his server.
Remember to not to include this file in the version system. By default it is ignored in the .git
file, so it is very likely your partner does not have it.
It is very weird that you can run it but your partner doesn't. Are you sure he is not requiring the master key file in development.rb
?
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ror-capstone
cd into the project
Run git pull origin main
Run bundle install
Run yarn install to install all the npm dependencies
Setup your db in the database.yml and run rails db:setup
Run rails s and visit localhost:3000
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page