I find the internal plumbing of git really fascinating. At least on a conceptual level it is simple and very elegant. Many sources on the topic have detailed descriptions of the blob object (Git Magic and Git Internals), and even short ruby scripts describing how to write blob objects with a few lines of ruby […]
Introduction We have a Rails5 application, which is splittend in about 10+ engines and a core application, which mounts these engines. A engine in our case is a plain old rails engine defined as a gem and located in a dedicated git repository. The Gemfile in the core application refers all engines (see below). Required […]
I ran the following command on terminal (Mac El Capitan) $ /usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)” and got the following error message: Failed during: git fetch origin master:refs/remotes/origin/master -n –depth=1 Additionally tried: sudo chown $(whoami):admin /usr/local && sudo chown -R $(whoami):admin /usr/local then the two commands above. Any idea how to install Homebrew? brew is […]
I have an app I’ve been upgrading to Rails 3, I’ve been hosting it on heroku for the past 6 months (rails 2.3.8 currently) but am unclear how to test my Rails 3 branch before I proceed. The most i could find about the subject in their docs was that I could do something like […]
Am working Ruby on Rails site, and I have implemented Travis CI with it and pushed to to GitHub, so as to Test my build before pushing to Heroku. When Travis parsed my github source code, I get an error asking me to input my Heroku Credentials before Travis can push to Heroku. What I […]
I would like to clone a project from a Git server and then perform some tests and then deploy to Heroku. I have been able to get my project from Git, and then perform “bundle install” which does succeed. Leaving the middle tests part out, I am unable to deploy to Heroku. To deploy, I […]
I’m learning Chef and am keeping my chef-repo in version control. When I use knife cookbook upload and then run git status I see a bunch of new files in .chef/syntaxcache. They look like this: .chef/syntaxcache/8ab66bdf1ceb07273f7b3d71f483fbd84be595e845e90ffcbeb0ba6d22f684b0 Should I be adding these to version control or just put a pattern in .gitignore to leave them out?
Using bundler to install a gem from github, there are two obvious choices; https:// or git://. From the default rails template; gem “rails”, :git => “git://github.com/rails/rails” But, when viewing the rails repo on github, the default clone url is the https:// url. Copying and pasting straight from github, I’d end up with; gem “rails”, :git […]
Muhammed-Bhikhas-MacBook-Pro:mashs_wing_ranch BH1KH4$ git remote -v heroku email@example.com:sleepy-cliffs-9120.git (fetch) heroku firstname.lastname@example.org:sleepy-cliffs-9120.git (push) origin email@example.com:gentle-bastion-5131.git (fetch) origin firstname.lastname@example.org:gentle-bastion-5131.git (push) When I run git remote -v, I get the wrong app for heroku. That is an app I had previously, how do I get the sleepy-cliffs-9120.git to change to my new app gentle-bastion-5131 ?
So I’m trying to make the switch from Bootstrap to Foundation , and I’m attempting to follow the instructions on this page (as I’m trying to install Foundation with Sass), but the instructions on the site are rather unclear to me – I’ve installed Git, Ruby and NodeJS but every time I get to the […]