buildpack

Installing Ruby / GSL in Heroku Application

随声附和 提交于 2020-01-15 12:46:08
问题 Context: I have an application that makes heavy use of the GSL library and its Ruby bindings. I'd like to deploy the app to Heroku. I'm very new to programming in general, much less deployment, and Heroku is very simple to use, especially for Rails apps. I have GSL installed on my laptop. I am using the 'gsl' gem. The Problem: The gem requires that the GSL library already be installed. GSL is not already installed in the Heroku environment. So, unsurprisingly, I get this error from Heroku

How to have package.json not at top level of heroku app

♀尐吖头ヾ 提交于 2020-01-14 08:55:09
问题 I have this app that deploys to heroku: https://github.com/justin808/react-webpack-rails-tutorial http://react-webpack-rails-tutorial.herokuapp.com/ The technique is described here: http://www.railsonmaui.com/blog/2014/10/02/integrating-webpack-and-the-es6-transpiler-into-an-existing-rails-project/ Currently, package.json is at the root level of the project. How do move the /package.json and /node_modules to be inside of the /webpack directory? I.e., how do I tell the node buildpack where to

how to use apt-buildpack from cloudfoundry repo

◇◆丶佛笑我妖孽 提交于 2020-01-06 03:56:05
问题 The apt-buildpack is experimental and not yet intended for production use. I guess that's why also no documentation. Creating container Successfully created container Downloading app package... Downloaded app package (862.7K) Warning: this buildpack can only be run as a supply buildpack, it can not be run alone Failed to compile droplet: Failed to compile droplet: exit status 1 Destroying container Exit status 223 Stopping instance abdfc8d0-699e-4834-9f2d-2b8aec218423 Successfully destroyed

Deploying Meteor 0.8.3 application to Heroku

安稳与你 提交于 2020-01-05 09:08:37
问题 Lately I was trying to deploy Meteor application to Heroku but current version of buildpack is outdated, so I've spend some time to make it work with newest Meteor release 0.8.3. 回答1: You can find buildpack repository here https://github.com/jagi/heroku-buildpack-meteor. And if someone needs movie showing the whole process step by step, please go here https://www.youtube.com/watch?v=boeTv3527E0 Hope it will help you :). 来源: https://stackoverflow.com/questions/25078414/deploying-meteor-0-8-3

Constructing Custom Heroku Ruby/Rails Buildpack for Web App Using Taglib-Ruby

心已入冬 提交于 2020-01-01 06:39:07
问题 I've built an application using Rails 3.2 that makes use of the taglib-ruby gem. I need to upload this app to Heroku, but it cannot successfully build the taglib-ruby gem because the associated C++ taglib library needs to be installed on the machine. Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /usr/local/bin/ruby extconf.rb checking for main() in -lstdc++... yes checking for main() in -ltag... no You must have taglib installed in order to use taglib-ruby.

Heroku Buildpack error: Could not open library 'opencc'

妖精的绣舞 提交于 2019-12-24 19:30:56
问题 Trying to create a Heroku buildpack for OpenCC, mainly following this tutorial. Below is my binary and buildpack on github: https://github.com/echan00/opencc-binary https://github.com/echan00/opencc-buildpack I am getting an error when pushing to Heroku: remote: LoadError: Could not open library 'opencc': opencc: cannot open shared object file: No such file or directory. remote: Could not open library 'libopencc.so': libopencc.so: cannot open shared object file: No such file or directory 回答1:

How can I avoid loading buildpack components from cache on Bluemix?

坚强是说给别人听的谎言 提交于 2019-12-24 03:39:24
问题 I want to automatically download all components of my buildpack from the internet every time I push or re-stage my application to be assured I have the latest versions. Currently I am seeing cached buildpack components being picked up for jboss buildpack :https://github.com/cloudfoundry-community/jboss-buildpack. -----> Downloaded app package (14M) -----> Downloaded app buildpack cache (181M) Cloning into '/tmp/buildpacks/jboss-buildpack'... -----> Java Buildpack Version: b96641c | https:/

Go App On Heroku With Local Packages

99封情书 提交于 2019-12-24 02:33:29
问题 I'm trying to put a Go app on Heroku using the Go Buildpack, which is fine when it's something basic, but as soon as I do a local package it does not compile. Here's an example setup: Structure +ship +foo foo.go main.go main.go package main import ( "os" "fmt" "net/http" "ship/foo" ) func main() { foo.Bar() port := os.Getenv("PORT") http.HandleFunc("/", root) http.ListenAndServe(":" + port, nil) } func root(w http.ResponseWriter, r *http.Request) { fmt.Fprint(w, "Aloha, world!") } foo.go

I am trying to deploy my first django app on heroku and getting error a pre-receive hook declined

泄露秘密 提交于 2019-12-24 02:28:15
问题 I have unsettling the buildpacks but it didn't work and I do have requirements.txt and procfile as well as virtual env. (deploy) C:\Users\Samar\Desktop\deploy\blog>git push heroku master Counting objects: 127, done. Delta compression using up to 4 threads. Compressing objects: 100% (122/122), done. Writing objects: 100% (127/127), 45.25 KiB | 0 bytes/s, done. Total 127 (delta 47), reused 0 (delta 0) remote: Compressing source files... done. remote: Building source: remote: remote: ----->

Heroku: Unable to find chromedriver when using Selenium

送分小仙女□ 提交于 2019-12-23 10:51:11
问题 I have a Ruby code that does this: browser = Watir::Browser.new(:chrome, switches: switches, headless: true) browser.goto(....) When I run the code on Heroku I get Selenium::WebDriver::Error::WebDriverError: Unable to find chromedriver. Please download the server from http://chromedriver.storage.googleapis.com/index.html and place it somewhere on your PATH. More info at https://github .com/SeleniumHQ/selenium/wiki/ChromeDriver. I've seen posts like Heroku: unable to connect to chromedriver