Giter Site home page Giter Site logo

app's People

Contributors

avokhmin avatar danielevans avatar devpuppy avatar stephencelis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

app's Issues

Release a new version

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

generator raises on rails 3.0.4

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

Silently catching NoMethodError

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.

RSpec Support

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

More Google friendly name?

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?"

New release?

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...

YAML interprets numbers as Fixnum (even with other characters)

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

ruby 1.9.1 compat

/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]

Deprecation warning on Rails 3 beta 2

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)

Issue with 2.3.5

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:inconst_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:inrequire'
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:innew_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:inload'
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:ineach'
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:inprocess'
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:inrun'
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:inrequire'
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:innew_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:ingem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from script/server:3

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.