Tag: ruby on rails

RoR/Heroku : detected sqlite3 gem which is not supported on heroku

This question already has an answer here: Deploying RoR app to Heroku with Sqlite3 fails 6 answers

Can't push on heroku

I’ve just cloned one of my repositories on github, I’ve made some changes and I would like to send it on the heroku application. But when I try to run git push heroku master, I get : fatal: ‘heroku’ does not appear to be a git repository fatal: Could not read from remote repository. Please […]

Use one “main project” as source for many projects: how to do it best with GitHub?

I’m planning 3-4 Rails projects. All of them share some basic functionalities, and I want to use the same development tools (e.g. RSpec) for all of them. But I don’t feel like configuring every project completely from the ground up. So I’m thinking of starting with one “base project” in which I configure all needed […]

Deploying app to Heroku: 'NameError: uninitialized constant Devise'

I want to deploy my Rails app to Heroku. Of course I have some additional gems included like ‘devise‘ or ‘rails_admin’. I have followed strictly Rails Girls’ tutorial (http://guides.railsgirls.com/heroku/). I have faced some really annoying problem when running git push heroku master. Counting objects: 220, done. Delta compression using up to 4 threads. Compressing objects: […]

Unable to push to heroku master because of rails/spring version error

The exact I keep getting when ever I try git push herou master is this: There was an error parsing your Gemfile, we cannot continue You cannot specify the same gem twice with different version requirements. You specified: spring (>= 0) and spring (= 1.1.3) Here’s what my Gemfile looks like though: source ‘https://rubygems.org’ # […]

Git problems, 'git not installed'

I have set up my github account, configured it with SSH and now I am trying to retrieve group work from gitlab. I have managed to pull the work so that it is on my machine but when I go to bundle install I encounter an error. It says that I need to install git […]

How to add Bitbucket repository in to jenkins?

I have a ruby on rails code in bitbucket private repository. And i have added my repository remote into jenkins as follows: https://bitbucket.org/myuser_name/demo_app followed by Credentials: Kind: username and password and i have given bitbucket username and password into it. Before i am saving the project configuration i got no error under Repository URL. So […]

Rails: .gitignore still tracking my database.yml file

I have like 4 guys in my team and they constantly have to change the socket of the database because they have different paths for it, well it is becoming annoying, I tried to add database.yml to the .gitignore: /config/database.yml But for some weird reason when I edit the file and make a git statusit […]

Heroku app url made out of random words

I’m new to rails and heroku, and this may very well seem like a daft question, if so I appologise, but would appreciate someone at least telling me so. I’ve followed the heroku “getting started” guide, and managed to deploy a copy of the rails default project. But the url preovided by heroku was http://radiant-ice-84.heroku.com, […]

What's a good strategy for storing database snapshots in git?

I currently exclude my development.sqlite3 from Git so that I can keep my git status clean unless a file has actually changed. However when I want to checkout a much earlier version of the code that relied on a different database (and dummy data) from an earlier time I end up with code and a […]

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