Tag: ruby on rails

Best way to keep some custom local changes in GIT?

We have a Rails app that we share with several developers and we are using git. I’ve made a few changes to the Rails app to match my computer configuration and my own preferences that I don’t want to share in the main GitHub repository. I wonder what’s the best way to keep my custom […]

Figure out when bug was introduced by reading previous git commits

I merged develop into feature and then found a bug and now I am trying to figure out how it got there. If I run git checkout develop and then run a test, the bug is not there. If I run git checkout feature and then run a test, the bug is there. I started […]

how to setup rspec run on jenkins build

I was trying to setup jenkins for my rails app. So basically I wanted the build to run rspec and pass/fail when Click on build manually Trigger the build and run rspec as soon as a commit is made to master. I have my jenkins running on port 8080. In Jenkins I have the following […]

Nitrous.IO and AWS Elasticbeanstalk initialization failure

I am deploying a Rails 4.1 app through Nitrous.IO onto AWS Elasticbeanstalk. I have used autoparts to install the EB CLI 2.6.3. I managed to successfully push, and eb status gives a “Ready” and “Green” Health, but when I run eb init I always get a “Failed to update local Git configuration” message. However, it […]

Git – Heroku deploy app that is composed of a couple of git repos

Recently I built an rails app for a local business. They like this app so much that they’ve gotten a couple of other local businesses interested in having their own version of the app. Here lies the problem that Im uncertain how to fix. The core business logic behind the app would be the same […]

getting the error ! master -> master (pre-receive hook declined)

I am not able to git push heroku master anymore I get the following error (after the bundle install and assets precompile step that looks like had no problem) The error is the following: remote: Verifying deploy………………………. remote: remote: ! Push rejected to my-project. remote: To https://git.heroku.com/my-project.git ! [remote rejected] master -> master (pre-receive hook […]

Heroku Repo Size and Slug Size increase with each deployment. Why?

I change some text in my application and deploy new version with git push heroku master But everytime I push, it increase a lot. I write here the increasement after each deploy. 168.2 KB 37.9 MB 178.6 KB 38.7 MB 187 KB 39.4 MB 194 KB 40.2 MB 205.3 KB 40.9 MB 232.8 KB 41.8 […]

Images not getting displayed

I am facing the following problem. I am not able to see the images (Seen as broken images). Till yesterday everything was working properly, I did the following and from that on-wards its giving error. I wanted one image(without using file uploader, eg. carrierwave) from file-system to be changed on the server, So I did […]

Build Rails+SPA as a distribution prior to deployment

I have a small but growing Angular application that runs with a Rails backend. Deployment right now takes a very long time to run because all of the devDependencies have to be installed and then everything has to compiled. What I’d like to do is have a distribution created for my application, and then that […]

Net::SMTPFatalError in MessagesController#create — 550 Cannot receive from specified address : Unauthenticated senders not allowed

I have a rails 4.1.8 app using Devise, Heroku and Sendgrid. Sending emails is part of the apps functionality. Everything works perfectly in development on my laptop that I built the app in. Emails are being sent and received…all is good. I git cloned the repo on my desktop, and I am getting the above […]

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