Code Monkey home page Code Monkey logo

locomotive-heroku's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

locomotive-heroku's Issues

Upgrate to allow Rails 4.2 for Locomotive 3

Getting the following message when attempting to install locomotivecms/engine from master:

Bundler could not find compatible versions for gem "rails":
  In Gemfile:
    locomotive-heroku (~> 0.1.0) ruby depends on
      rails (~> 3.2.13) ruby

    rails (4.2.0)

Excon gem needs to be updated to prevent OpenSSL::SSL::SSLError

We've had a couple of reports on Heroku support that this gem is now failing because excon v0.23.0 can't handle the connection to api.heroku.com now that it has a new TLS security policy in place.

It now throws this kind of error:

/app/vendor/bundle/ruby/1.9.1/gems/excon-0.23.0/lib/excon/ssl_socket.rb:55:in `connect': SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: tlsv1 alert protocol version (OpenSSL::SSL::SSLError) (Excon::Errors::SocketError)

on startup due to the call to get_domains in the Heroku API gem.

One possible fix would be to bump the version of the Heroku API gem which now includes excon v0.44.0. Let me know if you need any more information.

Heroku Issue

I just upgraded Locomotive and now I'm getting a weird error message on Heroku:

-----> Installing dependencies using 
       Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin --deployment
       env: bundle: No such file or directory
       Bundler Output: env: bundle: No such file or directory

I can't for the life of me figure out what this means. Here's my gem file:

source 'https://rubygems.org'

gem 'rails', '~> 3.2'

# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'

gem 'rails_12factor'

# Gems used only for assets and not required
# in production environments by default.
group :assets do
  gem 'sass-rails',   '~> 3.2.3'
  gem 'coffee-rails', '~> 3.2.1'
  gem 'turbo-sprockets-rails3'
  # See https://github.com/sstephenson/execjs#readme for more supported runtimes
  # gem 'therubyracer', :platform => :ruby
  gem 'compass-rails', '~> 1.0.0'
  gem 'uglifier', '>= 1.0.3'
end


# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'

# To use Jbuilder templates for JSON
# gem 'jbuilder'

gem 'locomotive_cms', '~> 2.0.0', :require => 'locomotive/engine'
gem 'unicorn', :group => 'development'

gem 'locomotive-heroku', :require => 'locomotive/heroku'
gem 'thin', :group => 'production'

Failed AWS authorization

  • Pushing Pages
    en
    updating index{"error"=>"Expected(200) <=> Actual(400 Bad Request)\n response => #<Excon::Response:0x007f86ed863be0 @DaTa={:body=>"\nInvalidRequestThe authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.5F63FD1C5AFFD77CFGZI3zQq9oHxeoEfEXxWWsq4sHiqJ99ew5G62vSyuxafgmqpuVlEY04t7JpcTFkMUt6v03fqqZE=", :headers=>{"x-amz-request-id"=>"5F63FD1C5AFFD77C", "x-amz-id-2"=>"FGZI3zQq9oHxeoEfEXxWWsq4sHiqJ99ew5G62vSyuxafgmqpuVlEY04t7JpcTFkMUt6v03fqqZE=", "Content-Type"=>"application/xml", "Transfer-Encoding"=>"chunked", "Date"=>"Sat, 24 Jan 2015 16:58:04 GMT", "Connection"=>"close", "Server"=>"AmazonS3"}, :status=>400, :remote_ip=>"54.231.193.1"}, @Body="\nInvalidRequestThe authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.5F63FD1C5AFFD77CFGZI3zQq9oHxeoEfEXxWWsq4sHiqJ99ew5G62vSyuxafgmqpuVlEY04t7JpcTFkMUt6v03fqqZE=", @headers={"x-amz-request-id"=>"5F63FD1C5AFFD77C", "x-amz-id-2"=>"FGZI3zQq9oHxeoEfEXxWWsq4sHiqJ99ew5G62vSyuxafgmqpuVlEY04t7JpcTFkMUt6v03fqqZE=", "Content-Type"=>"application/xml", "Transfer-Encoding"=>"chunked", "Date"=>"Sat, 24 Jan 2015 16:58:04 GMT", "Connection"=>"close", "Server"=>"AmazonS3"}, @status=400, @remote_ip="54.231.193.1">"}

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.