Giter Site home page Giter Site logo

cap_gun's People

Contributors

jasonrudolph avatar jdpace avatar muness avatar ouranos avatar rsanheim avatar spicycode avatar warhammerkid 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  avatar  avatar

Watchers

 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

cap_gun's Issues

uninitialized constant ActionController::UrlWriter::URI

"uninitialized constant ActionController::UrlWriter::URI" occurs after upgrading our Rails application to 2.3.9.

Backtrace:

/Users/james/.rvm/gems/ruby-1.8.7-p299/gems/activesupport-2.3.9/lib/active_support/dependencies.rb:466:in `load_missing_constant': uninitialized constant ActionController::UrlWriter::URI (NameError)
        from /Users/james/.rvm/gems/ruby-1.8.7-p299/gems/activesupport-2.3.9/lib/active_support/dependencies.rb:106:in `const_missing'
        from /Users/james/.rvm/gems/ruby-1.8.7-p299/gems/actionpack-2.3.9/lib/action_controller/url_rewriter.rb:96
        from /Users/james/.rvm/gems/ruby-1.8.7-p299/gems/actionmailer-2.3.9/lib/
action_mailer/base.rb:250
        from /Users/james/.rvm/gems/ruby-1.8.7-p299/gems/cap_gun-0.2.4/lib/cap_gun.rb:47
        from /Users/james/.rvm/rubies/ruby-1.8.7-p299/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
        from /Users/james/.rvm/rubies/ruby-1.8.7-p299/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
        from /Users/james/.rvm/gems/ruby-1.8.7-p299/gems/capistrano-2.5.19/lib/capistrano/configuration/loading.rb:152:in `require'
        from ././config/../engines/liboly/config/deploy.rb:1:in `load'
        from /Users/james/.rvm/gems/ruby-1.8.7-p299/gems/capistrano-2.5.19/lib/capistrano/configuration/loading.rb:172:in `load_from_file'
        from /Users/james/.rvm/gems/ruby-1.8.7-p299/gems/capistrano-2.5.19/lib/capistrano/configuration/loading.rb:89:in `load'
        from /Users/james/.rvm/gems/ruby-1.8.7-p299/gems/capistrano-2.5.19/lib/capistrano/configuration/loading.rb:86:in `load'
        from /Users/james/.rvm/gems/ruby-1.8.7-p299/gems/capistrano-2.5.19/lib/capistrano/configuration/loading.rb:86:in `each'
        from /Users/james/.rvm/gems/ruby-1.8.7-p299/gems/capistrano-2.5.19/lib/capistrano/configuration/loading.rb:86:in `load'
        from ./config/deploy.rb:3:in `load'
        from /Users/james/.rvm/gems/ruby-1.8.7-p299/gems/capistrano-2.5.19/lib/capistrano/configuration/loading.rb:172:in `load_from_file'
        from /Users/james/.rvm/gems/ruby-1.8.7-p299/gems/capistrano-2.5.19/lib/capistrano/configuration/loading.rb:89:in `load'
        from /Users/james/.rvm/gems/ruby-1.8.7-p299/gems/capistrano-2.5.19/lib/capistrano/configuration/loading.rb:86:in `load'
        from /Users/james/.rvm/gems/ruby-1.8.7-p299/gems/capistrano-2.5.19/lib/capistrano/configuration/loading.rb:86:in `each'
        from /Users/james/.rvm/gems/ruby-1.8.7-p299/gems/capistrano-2.5.19/lib/capistrano/configuration/loading.rb:86:in `load'
        from Capfile:3:in `load' 
        from /Users/james/.rvm/gems/ruby-1.8.7-p299/gems/capistrano-2.5.19/lib/capistrano/configuration/loading.rb:172:in `load_from_file'
        from /Users/james/.rvm/gems/ruby-1.8.7-p299/gems/capistrano-2.5.19/lib/capistrano/configuration/loading.rb:89:in `load'
        from /Users/james/.rvm/gems/ruby-1.8.7-p299/gems/capistrano-2.5.19/lib/capistrano/configuration/loading.rb:86:in `load'
        from /Users/james/.rvm/gems/ruby-1.8.7-p299/gems/capistrano-2.5.19/lib/capistrano/configuration/loading.rb:86:in `each'
        from /Users/james/.rvm/gems/ruby-1.8.7-p299/gems/capistrano-2.5.19/lib/capistrano/configuration/loading.rb:86:in `load'
        from /Users/james/.rvm/gems/ruby-1.8.7-p299/gems/capistrano-2.5.19/lib/capistrano/cli/execute.rb:65:in `load_recipes'
        from /Users/james/.rvm/gems/ruby-1.8.7-p299/gems/capistrano-2.5.19/lib/capistrano/cli/execute.rb:65:in `each'
        from /Users/james/.rvm/gems/ruby-1.8.7-p299/gems/capistrano-2.5.19/lib/capistrano/cli/execute.rb:65:in `load_recipes'
        from /Users/james/.rvm/gems/ruby-1.8.7-p299/gems/capistrano-2.5.19/lib/capistrano/cli/execute.rb:31:in `execute!'
        from /Users/james/.rvm/gems/ruby-1.8.7-p299/gems/capistrano-2.5.19/lib/capistrano/cli/execute.rb:14:in `execute'
        from /Users/james/.rvm/gems/ruby-1.8.7-p299/gems/capistrano-2.5.19/bin/cap:4
        from /Users/james/.rvm/gems/ruby-1.8.7-p299/bin/cap:19:in `load'
        from /Users/james/.rvm/gems/ruby-1.8.7-p299/bin/cap:19

Don't use active_support?

Not even sure if this is possible, but requiring cap-gun loads ActiveSupport, which breaks Capistrano in recent versions:

capistrano/capistrano#169

We would have to remove our dependency on ActionMailer, as that is what is pulling in ActiveSupport IIRC.

`deployment_notification': undefined method `content_type'

I just did a gem install cap_gun and got the following. Looks like ActionMailer::Base has changed and dependencies weren't pinned?

/Users/gflarity/.rvm/gems/ruby-1.8.7-p352@deploy/gems/cap_gun-0.2.4/lib/cap_gun.rb:65:in deployment_notification': undefined methodcontent_type' for #CapGun::Mailer:0x1022957e0 (NoMethodError)
from /Users/gflarity/.rvm/gems/ruby-1.8.7-p352@deploy/gems/actionpack-3.2.2/lib/abstract_controller/base.rb:167:in `send_action'

Review and Release v0.2.3

0.2.3 needs code review and then needs to be released.

0.2.3 fixes issues with ActiveSupport 3 and "cat /REVISION" issue.

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.