Skip to content

Beta (lettered) gem versions #82

@itay-grudev

Description

@itay-grudev

I am getting the following deployment error which I believe is cause by the fact that my projects is dependent upon sprockets (>= 4.0.0.alpha4) (which doesn't seem to be installed on the server).

00:17 rvm1:install:gems
      01 /home/deploy/app/rvm1scripts/rvm-auto.sh . gem install --file Gemfile
      01 ERROR:  While executing gem ... (Gem::DependencyError)
      01     Unresolved dependency found during sorting - sprockets (>= 3.0.0) (requested by sprockets-rails-3.2.0)
      01
(Backtrace restricted to imported tasks)
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as [email protected]: gem exit status: 1
gem stdout: Nothing written
gem stderr: ERROR:  While executing gem ... (Gem::DependencyError)
    Unresolved dependency found during sorting - sprockets (>= 3.0.0) (requested by sprockets-rails-3.2.0)

SSHKit::Command::Failed: gem exit status: 1
gem stdout: Nothing written
gem stderr: ERROR:  While executing gem ... (Gem::DependencyError)
    Unresolved dependency found during sorting - sprockets (>= 3.0.0) (requested by sprockets-rails-3.2.0)

Tasks: TOP => deploy => rvm1:install:gems
(See full trace by running task with --trace)

Here is a shortened version of my Gemfile.lock file:

GEM
  remote: https://rubygems.org/
  specs:
    handlebars_assets (0.23.2)
      execjs (~> 2.0)
      sprockets (>= 2.0.0)
      tilt (>= 1.2)
    rails (5.0.4)
      actioncable (= 5.0.4)
      actionmailer (= 5.0.4)
      actionpack (= 5.0.4)
      actionview (= 5.0.4)
      activejob (= 5.0.4)
      activemodel (= 5.0.4)
      activerecord (= 5.0.4)
      activesupport (= 5.0.4)
      bundler (>= 1.3.0, < 2.0)
      railties (= 5.0.4)
      sprockets-rails (>= 2.0.0)
    sass-rails (5.0.6)
      railties (>= 4.0.0, < 6)
      sass (~> 3.1)
      sprockets (>= 2.8, < 4.0)
      sprockets-rails (>= 2.0, < 4.0)
      tilt (>= 1.1, < 3)
    sprockets (4.0.0.beta4)
      concurrent-ruby (~> 1.0)
      rack (> 1, < 3)
    sprockets-rails (3.2.0)
      actionpack (>= 4.0)
      activesupport (>= 4.0)
      sprockets (>= 3.0.0)

PLATFORMS
  ruby

DEPENDENCIES
  capistrano (~> 3.7.2)
  rails (~> 5.0.1)
  rvm1-capistrano3
  sprockets (>= 4.0.0.alpha4)

RUBY VERSION
   ruby 2.3.4p301

BUNDLED WITH
   1.15.1

Tell me if you need anything else. I'll buy you a coffee/or a beer if you help me with this one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions