Tag: ruby on rails

git diff is not showing in meld in ubuntu 14.04?

I installed meld in my ubuntu 14.04 system. by following these commands. In the following directory path: anurag@LIBSERV-PC:~$mkdir -p work/crap anurag@LIBSERV-PC:~$cd work/crap anurag@LIBSERV-PC:~/work/crap$git clone https://git.gnome.org/browse/meld anurag@LIBSERV-PC:~/work/crap$cd meld anurag@LIBSERV-PC:~/work/crap/meld$sudo apt-get install intltool itstool gir1.2-gtksource-3.0 libxml2-utils anurag@LIBSERV-PC:~/work/crap/meld$sudo python setup.py install It seems installation is done properly. I am working on my rails project in the following location: […]

Heroku issue with Rails 4 app

I am working on getting a site up on the web through heroku. I have done this four times before but on the fifth I ran into some issues. To start, I did successfully get the app up but it was a test app. I decided to delete it and get the same code up […]

cannot create directory at db:migrate

I have repository at github for ruby on rails project. First time i did push from comp. under windows system with msysgit. Then cloned this project from another comp. under ubuntu, did some changes, commited and pushed to repository at github. Now when i try to pull or even clone this repository from my comp. […]

Trying to deploy on heroku but encounter error

I am fresh with ruby on rails and I’ve been trying to deploy to heroku using git but I encounter error. My working environment is windows but using WSL to run ruby code in a ubuntu environment. This is the content my gem file source ‘https://rubygems.org’ git_source(:github) do |repo_name| repo_name = “#{repo_name}/#{repo_name}” unless repo_name.include?(“/”) “https://github.com/#{repo_name}.git” […]

Cannot run cap production deploy:initial with Net::SSH::AuthenticationFailed: Authentication failed for user?

I tried to deploy my rails app from my mac into the server on digital ocean (using github). So when i ran cap production deploy:initial for the firstime i got this error ** Invoke production (first_time) ** Execute production ** Invoke load:defaults (first_time) ** Execute load:defaults ** Invoke bundler:map_bins (first_time) ** Execute bundler:map_bins ** Invoke […]

How to fix gem file in rails app after changing gem versions? (github, heroku)

First, I am an idiot, and I know this question may be a bit vague. I have a rails site that I pushed to github, and I was then trying to push it to heroku and I changed a few of the gems. I do have gems mentioned twice in gem file, the second under […]

ENOTFOUND: getaddrinfo ENOTFOUND api.heroku.com api.heroku.com:443 Error for heroku create

My steps are below: Download the heroku-osx.pkg, and installed it. $ heroku login with my account and password cloned the ruby-getting-started: $ git clone https://github.com/heroku/ruby-getting-started.git But when I run $ heroku create in my Terminal. Reports the error: Creating app… ! ▸ ENOTFOUND: getaddrinfo ENOTFOUND api.heroku.com api.heroku.com:443 I have find the related question in SO: […]

React on Rails – ! master -> master (pre-receive hook declined)

I’m working in rails 4.2.5, recently I have added react_on_rails in my app. I am getting the error(mkdir: cannot create directory) when I try to deploy the code on Heroku. App uses couple of webpacks one for Ruby and another for Node. git push heroku master Counting objects: 963, done. Delta compression using up to […]

Ruby gem common deployement for all apps

I am trying to deploy APM solution provided by scout app. Scout apm documentation says I need to install a gem in all the applications I am running on the server. I have multiple applications running on single server. All my ruby applications are located at /var/www. Is there a way I can deploy that […]

How to use github repo as like CDN server for uploading assets file?

I am learning ruby on rails. I am developing a rails 5 application. I don’t want to use amazon s3 service for containing my assets files. I want to use github for serving my assets files as like CDN. But I am facing a problem, I have dynamic file and image upload system. So therefore, […]

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