Git Product home page Git Product logo

Comments (5)

nanounanue avatar nanounanue commented on July 29, 2024

I am using a very simple rails app as example, in this github repo you could see the code https://github.com/nanounanue/blog
the app runs perfectly in my machine with rails s -e production

from capistrano-3-rails-template.

TalkingQuickly avatar TalkingQuickly commented on July 29, 2024

The error looks like it's trying to compile assets locally but to do that you need to define a production entry in your local database.yml. This can be the same as development as it won't be used for anything. Alternatively you can disable the compile assets locally task and uncomment the rails/assets line in your Capfile which will compile them remotely when you deploy.

from capistrano-3-rails-template.

nanounanue avatar nanounanue commented on July 29, 2024

The solution as you said is setting a production environment in database.yml, but it seems weird to me...

from capistrano-3-rails-template.

TalkingQuickly avatar TalkingQuickly commented on July 29, 2024

Hey, which bit seems weird?

Ben Dixon

+44 (0)2 032 894 803
+33 (0)7 81 83 27 78
http://www.twitter.com/TalkingQuickly
http://www.talkingquickly.co.uk

Dxnx Ltd Trading as Hills Bede
UK Registered Company Number: 6751002

Registered Address:
DXNX LTD
Techhub @ Google Campus
4 - 5 Bonhill Street
London
EC2A 4BX

On 25 June 2014 21:48, Adolfo De Unánue [email protected] wrote:

The solution as you said is setting a production environment in
database.yml, but it seems weird to me...


Reply to this email directly or view it on GitHub
#12 (comment)
.

from capistrano-3-rails-template.

bartgras avatar bartgras commented on July 29, 2024

If none of above worked for you, try to create, on your localhost, production/staging database (depending to what environment you're trying to deploy)

from capistrano-3-rails-template.

Related Issues (20)

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.