stephencelis / app Goto Github PK
View Code? Open in Web Editor NEWEasy App config.
Easy App config.
Hi there,
Can you please cut a new version of the gem and push it to rubygems? I am having issues pulling gems from github and yours happens to be my only github dependency.
Thanks,
Chris
Hello,
clean Rails 3.0.4 app:
15:29 ~/Sites/rails3 $ rails g configurable
/Users/kain/.gem/ruby/1.8/gems/app-1.0.2/lib/app.rb:82:in `load!': undefined method `require_dependency' for Configurable::Plugin:Class (NoMethodError)
from /Users/kain/.gem/ruby/1.8/gems/app-1.0.2/lib/app.rb:89
from /Users/kain/.gem/ruby/1.8/gems/activesupport-3.0.4/lib/active_support/lazy_load_hooks.rb:34:in `call'
from /Users/kain/.gem/ruby/1.8/gems/activesupport-3.0.4/lib/active_support/lazy_load_hooks.rb:34:in `execute_hook'
from /Users/kain/.gem/ruby/1.8/gems/activesupport-3.0.4/lib/active_support/lazy_load_hooks.rb:43:in `run_load_hooks'
from /Users/kain/.gem/ruby/1.8/gems/activesupport-3.0.4/lib/active_support/lazy_load_hooks.rb:42:in `each'
from /Users/kain/.gem/ruby/1.8/gems/activesupport-3.0.4/lib/active_support/lazy_load_hooks.rb:42:in `run_load_hooks'
from /Users/kain/.gem/ruby/1.8/gems/railties-3.0.4/lib/rails/application.rb:67:in `inherited'
from /Users/kain/Sites/rails3/config/application.rb:10
from /Users/kain/.gem/ruby/1.8/gems/railties-3.0.4/lib/rails/commands.rb:15:in `require'
from /Users/kain/.gem/ruby/1.8/gems/railties-3.0.4/lib/rails/commands.rb:15
from script/rails:6:in `require'
from script/rails:6
at Line 87 of /lib/app.rb
rescue LoadError, NoMethodError => e
I had a mistake in my app.rb file, that was causing the NoMethodError exception. That caused my environment-specific rb files not to load. Took me a while to figure it out.
Just wondering if silently catching those errors the best approach?
Btw, thanks for making it available, I love this gem.
I can't seem to it to work with my RSpec tests. I would be nice if the configuration wasn't limited to test unit
Love the gem -- use it in all of my Rails applications now -- but have you considered a more Google friendly name?
I keep telling people about it when they ask, and then they tend to say something like, "I can't find it on Google, WTF?"
Since 1.03, there's been a handful of useful commits... Would be nice to get it released as a gem version 1.04 so it doesn't have to come from git...
Is app trying to be too smart here?
I have an ENV var:
ENV['TEST_NUMBER'] = "+1239798798"
and the following settings.yml:
defaults: &defaults
twilio:
from_phone: <%= ENV['FROM_PHONE'] %>
test_recipient: <%= ENV['TEST_NUMBER'] %>
....
in rails console, ENV['TEST_NUMBER']
is evaluated as '+123978798' but Settings.twilio.test_recipient
is just '123978798'.
Using ruby 1.9.3-p484, rails 3.2.11
/edited/vendor/plugins/app/lib/app.rb:65:in `[]': can't convert Pathname into String (TypeError)
from /edited/vendor/plugins/app/lib/app.rb:65:in `<top (required)>'
ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-darwin10.2.0]
Hi there,
Could you please get rid of
DEPRECATION WARNING: railtie_name is deprecated and has no effect. (called from /Users/spectator/.bundle/ruby/1.8/gems/app-0.9.0/lib/app.rb:80)
Hi
script/server crashes since I ran a gem update today (3/29).
I commented out config.gem "app" and then it was fine. Here's my stack trace
/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:440:in load_missing_constant': uninitialized constant Rails::Railtie (NameError) from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:80:in
const_missing'
from /usr/local/lib/ruby/gems/1.8/gems/app-0.9.0/lib/app.rb:79
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in require' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in
new_constants_in'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in require' from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:208:in
load'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:307:in load_gems' from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:307:in
each'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:307:in load_gems' from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:164:in
process'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:113:in send' from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:113:in
run'
from /Users/oliviermoratin/WebApps/castattack/config/environment.rb:9
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in require' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in
new_constants_in'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in require' from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/server.rb:84 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from script/server:3
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.