Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 12, 2022. It is now read-only.
This repository was archived by the owner on Feb 12, 2022. It is now read-only.

Installation/deployment is broken #14

@putsi

Description

@putsi

I'm having a hard time getting the app installed.
When deploying to Heroku, the deployment fails with error:

-----> Ruby app detected
-----> Compiling Ruby/Rack
-----> Using Ruby version: ruby-2.1.2
-----> Installing dependencies using bundler 1.13.7
       Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
       Your Ruby version is 2.1.2, but your Gemfile specified > 2.1.2
       Bundler Output: Your Ruby version is 2.1.2, but your Gemfile specified > 2.1.2
 !
 !     Failed to install gems via Bundler.
 !     Detected a mismatch between your Ruby version installed and
 !     Ruby version specified in Gemfile or Gemfile.lock:
 !     https://devcenter.heroku.com/articles/ruby-versions#your-ruby-version-is-x-but-your-gemfile-specified-y
 !
 !     Push rejected, failed to compile Ruby app.
 !     Push failed

When I try to install it on a local Ubuntu 16.04 server, the same Ruby version error is shown. That can be "fixed" by removing the 'ruby "> 2.1.2"'-line from the Gemfile. However after that, the "bundle install"-command fails because postgres-related gems cannot be compiled.

Metadata

Metadata

Assignees

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