GithubHelp home page GithubHelp logo

RAILS_ENV is deprecated about couch_potato HOT 5 CLOSED

langalex avatar langalex commented on June 19, 2024
RAILS_ENV is deprecated

from couch_potato.

Comments (5)

langalex avatar langalex commented on June 19, 2024

see http://github.com/langalex/couch_potato/commit/99d68f11697e90c00a7d7c875283b6110bdeadde

from couch_potato.

tisba avatar tisba commented on June 19, 2024

hmm, okay. any ideas how to get rid of the deprecation warning?

from couch_potato.

 avatar commented on June 19, 2024

Rails.version > 3 ? Rails.env : RAILS_ENV

from couch_potato.

kamarcum avatar kamarcum commented on June 19, 2024

In rails 3.1 RAILS_ENV is removed entirely. bump for one-line fix in upstream's comment.

Edit: If you're reading this and want a quick workaround, put "RAILS_ENV=Rails.env" at the top of config/application.rb

from couch_potato.

langalex avatar langalex commented on June 19, 2024

i just pulled this in.

from couch_potato.

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.