laserlemon / figaro

Simple Rails app configuration
MIT License
3.76k stars 288 forks source link

Should Figaro work with Ruby 1.8.7 & Rails 2.3.x? (it doesn't) #207

Closed armandofox closed 9 years ago

armandofox commented 9 years ago

With a Rails 2.3.18 app (including the simple changes needed for using Bundler), a simple config/application.yml, and Figaro in the Gemfile, within script/console I get nil values for all the keys set in application.yml. Rubygems.org specifies no dependencies on either Ruby or Rails version for Figaro, so I assume this should work.

I created this test app by:

Further, executing Figaro.load in console raises NotImplementedError.

It may be that I shouldn't expect this to work with an older Ruby/Rails version, but if that's the case it would be good to note that on Rubygems.

jgordor commented 9 years ago

Same here, allways getting nil, some news?

laserlemon commented 9 years ago

Sorry, Figaro is only maintained to support Rails >= 3.0.