GithubHelp home page GithubHelp logo

Comments (12)

kourindouhime avatar kourindouhime commented on September 26, 2024 10

and how did you solve it?

from capistrano-puma.

85636682 avatar 85636682 commented on September 26, 2024 7

@crhan @seuros i solved this problem .thanks for your help!

from capistrano-puma.

alagu avatar alagu commented on September 26, 2024 4

Removing , github: "seuros/capistrano-puma" worked for me.

from capistrano-puma.

crhan avatar crhan commented on September 26, 2024 1

I think you may miss the bundle requirement.

give bundle exec cap production deploy a try, or you can make a binstub bundle binstub capistrano and use this bin stub instead of the gem bin file bin/cap production deploy

from capistrano-puma.

benwalks avatar benwalks commented on September 26, 2024 1

For future Googlers, I had a typo in my Capfile which was causing this issue. I had require "capistrano/puma-nginx" instead of require "capistrano/puma/nginx".

Fixing the typo fixed the issue!

from capistrano-puma.

crhan avatar crhan commented on September 26, 2024
  1. why use github repo version of capistrano3-puma?
  2. paste your Gemfile.lock, that may help

from capistrano-puma.

85636682 avatar 85636682 commented on September 26, 2024

@crhan
Gemfile.lock

GIT
  remote: git://github.com/seuros/capistrano-puma.git
  revision: 83c992583f506cc18aa14a1a0e79ef891e1407a6
  specs:
    capistrano3-puma (0.1.3)
      capistrano (~> 3.0)

GEM
  remote: https://rubygems.org/
  specs:
    actionmailer (4.0.2)
      actionpack (= 4.0.2)
      mail (~> 2.5.4)
    actionpack (4.0.2)
      activesupport (= 4.0.2)
      builder (~> 3.1.0)
      erubis (~> 2.7.0)
      rack (~> 1.5.2)
      rack-test (~> 0.6.2)
    activemodel (4.0.2)
      activesupport (= 4.0.2)
      builder (~> 3.1.0)
    activerecord (4.0.2)
      activemodel (= 4.0.2)
      activerecord-deprecated_finders (~> 1.0.2)
      activesupport (= 4.0.2)
      arel (~> 4.0.0)
    activerecord-deprecated_finders (1.0.3)
    activesupport (4.0.2)
      i18n (~> 0.6, >= 0.6.4)
      minitest (~> 4.2)
      multi_json (~> 1.3)
      thread_safe (~> 0.1)
      tzinfo (~> 0.3.37)
    addressable (2.3.5)
    api_taster (0.6.0)
      bootstrap-sass (~> 2.1)
      jquery-rails
      rails (>= 3.1.0)
      redcarpet
      remotipart (~> 1.0)
      sass-rails
    arel (4.0.1)
    atomic (1.1.14)
    bcrypt-ruby (3.1.2)
    better_errors (1.0.1)
      coderay (>= 1.0.0)
      erubis (>= 2.6.6)
    binding_of_caller (0.7.2)
      debug_inspector (>= 0.0.1)
    bootstrap-sass (2.3.2.2)
      sass (~> 3.2)
    builder (3.1.4)
    cancan (1.6.10)
    capistrano (3.1.0)
      i18n
      rake (>= 10.0.0)
      sshkit (~> 1.3)
    capistrano-bundler (1.1.1)
      capistrano (~> 3.0)
      sshkit (>= 1.2.0)
    capistrano-rails (1.1.1)
      capistrano (~> 3.1)
      capistrano-bundler (~> 1.1)
    capistrano-rbenv (2.0.1)
      capistrano (~> 3.0)
      sshkit (~> 1.3)
    capybara (2.1.0)
      mime-types (>= 1.16)
      nokogiri (>= 1.3.3)
      rack (>= 1.0.0)
      rack-test (>= 0.5.4)
      xpath (~> 2.0)
    carrierwave (0.9.0)
      activemodel (>= 3.2.0)
      activesupport (>= 3.2.0)
      json (>= 1.7)
    carrierwave-qiniu (0.0.8)
      carrierwave
      qiniu-rs (~> 3.4.2)
    carrierwave-upyun (0.1.6)
      carrierwave (>= 0.5.7)
      rest-client (>= 1.6.7)
    cells (3.9.0)
      actionpack (>= 3.0)
      railties (>= 3.0)
    china_sms (0.0.5)
    chinese_pinyin (0.5.0)
    coderay (1.1.0)
    coffee-rails (4.0.1)
      coffee-script (>= 2.2.0)
      railties (>= 4.0.0, < 5.0)
    coffee-script (2.2.0)
      coffee-script-source
      execjs
    coffee-script-source (1.6.3)
    daemons (1.1.9)
    dalli (2.6.4)
    database_cleaner (1.2.0)
    debug_inspector (0.0.2)
    devise (3.1.1)
      bcrypt-ruby (~> 3.0)
      orm_adapter (~> 0.1)
      railties (>= 3.2.6, < 5)
      thread_safe (~> 0.1)
      warden (~> 1.2.3)
    devise-encryptable (0.1.2)
      devise (>= 2.1.0)
    diff-lcs (1.1.3)
    enumerize (0.7.0)
      activesupport (>= 3.2)
    erubis (2.7.0)
    eventmachine (1.0.3)
    execjs (2.0.2)
    factory_girl (4.2.0)
      activesupport (>= 3.0.0)
    factory_girl_rails (4.2.1)
      factory_girl (~> 4.2.0)
      railties (>= 3.0.0)
    fastercsv (1.5.5)
    hike (1.2.3)
    i18n (0.6.9)
    jbuilder (1.5.3)
      activesupport (>= 3.0.0)
      multi_json (>= 1.2.0)
    jquery-atwho-rails (0.3.1)
    jquery-rails (3.0.4)
      railties (>= 3.0, < 5.0)
      thor (>= 0.14, < 2.0)
    json (1.8.1)
    launchy (2.3.0)
      addressable (~> 2.3)
    letter_opener (1.1.2)
      launchy (~> 2.2)
    mail (2.5.4)
      mime-types (~> 1.16)
      treetop (~> 1.4.8)
    memcache-client (1.8.5)
    mime-types (1.25.1)
    mini_magick (3.6.0)
      subexec (~> 0.2.1)
    mini_portile (0.5.2)
    minitest (4.7.5)
    multi_json (1.8.2)
    mysql2 (0.3.13)
    nested_form (0.3.2)
    net-scp (1.1.2)
      net-ssh (>= 2.6.5)
    net-ssh (2.7.0)
    nokogiri (1.6.1)
      mini_portile (~> 0.5.0)
    orm_adapter (0.4.0)
    polyglot (0.3.3)
    puma (2.6.0)
      rack (>= 1.1, < 2.0)
    qiniu-rs (3.4.6)
      json (~> 1.7)
      mime-types (~> 1.19)
      rest-client (~> 1.6)
      ruby-hmac (~> 0.4)
    rack (1.5.2)
    rack-test (0.6.2)
      rack (>= 1.0)
    rails (4.0.2)
      actionmailer (= 4.0.2)
      actionpack (= 4.0.2)
      activerecord (= 4.0.2)
      activesupport (= 4.0.2)
      bundler (>= 1.3.0, < 2.0)
      railties (= 4.0.2)
      sprockets-rails (~> 2.0.0)
    railties (4.0.2)
      actionpack (= 4.0.2)
      activesupport (= 4.0.2)
      rake (>= 0.8.7)
      thor (>= 0.18.1, < 2.0)
    rake (10.1.1)
    rdoc (3.12.2)
      json (~> 1.4)
    redcarpet (3.0.0)
    remotipart (1.2.1)
    rest-client (1.6.7)
      mime-types (>= 1.16)
    rspec (2.10.0)
      rspec-core (~> 2.10.0)
      rspec-expectations (~> 2.10.0)
      rspec-mocks (~> 2.10.0)
    rspec-cells (0.1.7)
      cells (~> 3.4)
      railties (>= 3.0, < 4.1)
      rspec-rails (~> 2.2)
    rspec-core (2.10.1)
    rspec-expectations (2.10.0)
      diff-lcs (~> 1.1.3)
    rspec-mocks (2.10.1)
    rspec-rails (2.10.1)
      actionpack (>= 3.0)
      activesupport (>= 3.0)
      railties (>= 3.0)
      rspec (~> 2.10.0)
    ruby-hmac (0.4.0)
    sass (3.2.13)
    sass-rails (4.0.1)
      railties (>= 4.0.0, < 5.0)
      sass (>= 3.1.10)
      sprockets-rails (~> 2.0.0)
    sdoc (0.3.20)
      json (>= 1.1.3)
      rdoc (~> 3.10)
    select2-rails (3.5.2)
      thor (~> 0.14)
    settingslogic (2.0.9)
    sprockets (2.10.1)
      hike (~> 1.2)
      multi_json (~> 1.0)
      rack (~> 1.0)
      tilt (~> 1.1, != 1.3.0)
    sprockets-rails (2.0.1)
      actionpack (>= 3.0)
      activesupport (>= 3.0)
      sprockets (~> 2.8)
    sshkit (1.3.0)
      net-scp (>= 1.1.2)
      net-ssh
      term-ansicolor
    subexec (0.2.3)
    term-ansicolor (1.2.2)
      tins (~> 0.8)
    thin (1.6.1)
      daemons (>= 1.0.9)
      eventmachine (>= 1.0.0)
      rack (>= 1.0.0)
    thor (0.18.1)
    thread_safe (0.1.3)
      atomic
    tilt (1.4.1)
    tins (0.13.1)
    treetop (1.4.15)
      polyglot
      polyglot (>= 0.3.1)
    turbolinks (2.1.0)
      coffee-rails
    tzinfo (0.3.38)
    uglifier (2.4.0)
      execjs (>= 0.3.0)
      json (>= 1.8.0)
    warden (1.2.3)
      rack (>= 1.0)
    wicked_pdf (0.9.7)
      rails
    will_paginate (3.0.5)
    will_paginate-bootstrap (1.0.0)
      will_paginate (>= 3.0.3)
    wkhtmltopdf-binary (0.9.9.1)
    xpath (2.0.0)
      nokogiri (~> 1.3)

PLATFORMS
  ruby

DEPENDENCIES
  api_taster
  better_errors
  binding_of_caller
  cancan
  capistrano (~> 3.1.0)
  capistrano-bundler (~> 1.1)
  capistrano-rails (~> 1.1)
  capistrano-rbenv (~> 2.0)
  capistrano3-puma!
  capybara
  carrierwave
  carrierwave-qiniu
  carrierwave-upyun
  china_sms
  chinese_pinyin
  coffee-rails (~> 4.0.0)
  dalli
  database_cleaner
  devise
  devise-encryptable
  enumerize
  factory_girl_rails
  fastercsv
  jbuilder (~> 1.2)
  jquery-atwho-rails
  jquery-rails
  letter_opener
  memcache-client
  mini_magick
  mysql2
  nested_form
  puma (= 2.6.0)
  rails (= 4.0.2)
  rest-client
  rspec-cells
  rspec-rails (~> 2.10.0)
  sass-rails (~> 4.0.0)
  sdoc
  select2-rails
  settingslogic
  thin
  turbolinks
  uglifier (>= 1.3.0)
  wicked_pdf
  will_paginate (~> 3.0)
  will_paginate-bootstrap
  wkhtmltopdf-binary

from capistrano-puma.

seuros avatar seuros commented on September 26, 2024

As @crhan said, if you using github version of any gem , you should use bundle exec. Else you can simply remove ' , github: "seuros/capistrano-puma" ' and it will work.

from capistrano-puma.

crhan avatar crhan commented on September 26, 2024

is there any problem still? if bundle solve your problem, this issue should be closed

from capistrano-puma.

seuros avatar seuros commented on September 26, 2024

Feel free to reopen this issue if your problem persists.

from capistrano-puma.

yuriytickets avatar yuriytickets commented on September 26, 2024

In my case that error was solved by choosing right rvm ruby version
rvm use #{your-ruby-v} did the trick)

from capistrano-puma.

abhianair avatar abhianair commented on September 26, 2024

I got the same error.... how to solve??

from capistrano-puma.

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.