locomotivecms / locomotive-heroku Goto Github PK
View Code? Open in Web Editor NEWHeroku extension for LocomotiveCMS
License: MIT License
Heroku extension for LocomotiveCMS
License: MIT License
Please see this discussion: locomotivecms/engine#380
We will need to use the environment variable if it is available, the user will also be able to specify a value which will override this value.
Sunsetting Heroku’s Legacy Platform API (v2)
https://blog.heroku.com/sunsetting_heroku_s_legacy_platform_api_v2
The Heroku Ruby Client is now deprecated.
https://github.com/heroku/heroku.rb/
Time to switch to the Heroku Platform API.
https://github.com/heroku/platform-api
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)
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.
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'
Trying to upgrade loco 2.1, i get the following error.
Bundler could not find compatible versions for gem "excon":
In Gemfile:
locomotive-heroku (> 0.0.2) ruby depends on> 0.9.4) ruby
excon (
locomotive_cms (>= 0) ruby depends on
excon (0.20.0)
InvalidRequest
The 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="\nInvalidRequest
The 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">"}A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.