Coder Social home page Coder Social logo

Rails ENV Variables? about application_ruby HOT 5 CLOSED

poise avatar poise commented on August 17, 2024
Rails ENV Variables?

from application_ruby.

Comments (5)

plorent avatar plorent commented on August 17, 2024

'environment' is not an attribute parameter for the rails block. I think you need to look at: https://docs.chef.io/resource_env.html

from application_ruby.

w-A-L-L-e avatar w-A-L-L-e commented on August 17, 2024

This is a new feature in rails 4. Putting secret keys in environment var
for production increases security (a little;) )

On Friday, April 10, 2015, Peter Lorent [email protected] wrote:

'environment' is not an attribute parameter for the rails block. I think
you need to look at: https://docs.chef.io/resource_env.html


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

*SIT BVBA * http://www.sitweb.eu

from application_ruby.

coderanger avatar coderanger commented on August 17, 2024

This is now handled directly via the rails resource and the secrets properties.

from application_ruby.

legolin avatar legolin commented on August 17, 2024

@coderanger v3.0.2 does not seem to support the secrets properties. If I point my Berksfile at this repo, it complains that there is no metadata.rb and must not be a valid cookbook. I'm sure it's something obvious: what am I missing to be able to use this newer cookbook?

from application_ruby.

coderanger avatar coderanger commented on August 17, 2024

@legolin This cookbook is in the midst of a major-version-level rewrite, see https://coderanger.net/state-of-the-onion-may-26/ for info on using a prerelease version.

from application_ruby.

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.