Tag: heroku

Heroku Ruby version won't upgrade?

I am struggling changing Ruby versions on Heroku. I use Ruby 2.0.0 with rails 4. My Gemfile has: source ‘https://rubygems.org’ ruby ‘2.0.0’ … The path in Heroku points to: $ heroku config -s | grep PATH PATH=bin:vendor/bundle/ruby/1.9.1/bin:/usr/local/bin:/usr/bin:/bin When I pushed my app, I could see: Fetching repository, done. Counting objects: 7, done. Delta compression using […]

Conditional .gitignore based on origin

I have an application that I want to host on Heroku. It has sensitive database information that I don’t want pushed into the public repo on github… However, I can’t add it to the gitignore file, because then it won’t get pushed to heroku. Is it possible to have a conditional gitignore, where I ignore […]

An error occurred while installing sqlite3 (1.3.11), and Bundler cannot continue

So im trying to $ bundle install –without production before I $ git push heroku masterbut i keep getting this error $ bundle install –without production Fetching gem metadata from https://rubygems.org/………… Fetching version metadata from https://rubygems.org/… Fetching dependency metadata from https://rubygems.org/.. Resolving dependencies…… Using rake 10.4.2 Using i18n 0.7.0 Using json 1.8.3 Using minitest 5.8.3 […]

What is the different between Parse-server and Parse-server-example on ParsePlatform on GitHub?

I am doing migration from my Parse hosted applications to ParseServer running on AWS or Heroku slowly. The Heroku “guide to deploy to Heroku and MongoLab” uses “Parse-server-example” on GitHub while the ParseServer wiki mentions cloning “Parse-server” instead. In particular, “Parse-server” repository does not contain the “cloud\main.js” file which is the cloud function file. If […]

Git – make development and master track different repos. Sensible?

I have a project which is in git and deploys to heroku. The remote url is git@heroku.com:myappname.git and the .git/config looks like this: [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote “origin”] fetch = +refs/heads/*:refs/remotes/origin/* url = git@heroku.com:myappname.git [branch “master”] remote = origin merge = refs/heads/master I just made […]

How do I securely store a .pem file when working with git-tracked heroku project?

I’ve got a git-tracked repo and am setting it up to work with APN for IOS push notifications. I’m looking at implementing the npm module https://github.com/argon/node-apn in a similar way as here: https://github.com/hollyschinsky/PushNotificationSample In this code, there is var options = { gateway: ‘gateway.sandbox.push.apple.com’, // this URL is different for Apple’s Production Servers and changes […]

Pushing to heroku gives PuTTY Fatal Error

I am trying to push my local git repository to heroku using the following command (this is on a Windows 7 machine): git push heroku master However this brings up a popup showing the following error: PuTTY Fatal Error No supported authentication methods available (server sent: publickey) I am wondering how PuTTY even comes into […]

Heroku: Error pushing Rails app to Heroku, Heroku can't find Rails app

I am attempting to push a Rails app to Heroku however I am constantly getting this error. Taimurs-MacBook-Pro:taimurknaziri.com taimurknaziri$ git push heroku master Initializing repository, done. Counting objects: 158, done. Delta compression using up to 4 threads. Compressing objects: 100% (144/144), done. Writing objects: 100% (158/158), 671.52 KiB | 160.00 KiB/s, done. Total 158 (delta […]

Error on deploying with Git on Heroku

I’m not able to deploy in Heroku. I’m getting Permission Denied! everytime. I have my repository already exists. $ git remote -v heroku git@heroku.com:catapp11.git (fetch) heroku git@heroku.com:catapp11.git (push) But while I try to push in Heroku, I always get error. $ git push -u heroku master Permission denied (publickey). fatal: Could not read from remote […]

Mac Terminal Commands – how to come back after forgetting to close quotation marks

Warning: Noob question ahead! I’m using Heroku, and have forgetting to close the quotation marks when committing: localhost: app myMac$ git commit -m “testing > As you can see the last ” is missing on the end of testing. Now I’ve got the > sign and I’m unsure how to get out of it? This […]

Git Baby is a git and github fan, let's start git clone.