Tag: ruby on rails

deploy to Heroku from multiple computers

I have two computers and want to use only one for deployment. I regularly do push to my private git repo on another computer and on the current computer I do both push to git repo and deploy to heroku. If I made changes on another computer (such as adding new files) and push to […]

Error installing charlock_holmes on rhel5

I am trying to deploy a rails application that make use of a specific gem, but I cannot succesfully build it: [git@Porta-Git ~]$ gem install charlock_holmes –version ‘0.6.9.4’ Building native extensions. This could take a while… ERROR: Error installing charlock_holmes: ERROR: Failed to build gem native extension. /usr/local/bin/ruby extconf.rb checking for main() in -licui18n… yes […]

Maintaining different apps sharing the same code

I have a Rails app that is deployed on one site. I want to now be able to create, maintain and deploy a copy of this app but with slightly different configurations and a different frontend. The main differences would be in the html and css but there are also some differences in the text […]

Ruby on Rails – 404 response – “The page you were looking for doesn't exit”

I’ve been stuck on this error of “The page you were looking for doesn’t exit” for a while now. Does anyone know how to solve it? GEMFILE source ‘https://rubygems.org’ gem ‘heroku’, ‘3.0.1’ # Bundle edge Rails instead: gem ‘rails’, github: ‘rails/rails’ gem ‘rails’, ‘4.0.0’ # Use sqlite3 as the database for Active Record group :development […]

Why does rails remember deleted css?

For some reason, unknown to me, I am forced to precompile my assets when I deploy to Heroku. After I locally precompile and deploy, I obviously go back to changing my site. I have come across a problem where Rails “remembers” css rules that I have precompiled when I try to change them in my […]

Error installing RVM in gitbash

The command that I tried to install RVM in gitbash is \curl -sSL https://get.rvm.io | bash -s stable The error that I am getting is: bash: line 84: conditional binary operator expected url: (23) Failed writing body (0 != 6628)

Files updated in git seemingly not updated in slug or on dyno

I’ve updated several files in the public/assets/partials directory of my Rails/Heroku application in Git. For example: $ git remote show -n staging * remote staging Fetch URL: git@heroku.com:myapp-staging.git Push URL: git@heroku.com:myapp-staging.git $ git diff staging/master~1..staging/master diff –git a/public/assets/partials/feed.html b/public/assets/partials/feed.html index 7161cc0..c8c03f0 100644 — a/public/assets/partials/feed.html +++ b/public/assets/partials/feed.html @@ -1,3 +1,4 @@ +<h1>some really obvious text</h1> <button […]

Working on Eclipse 3.8 with Rails 4.0: Project/App Explorer does not show new files, maybe because of git?

Been working on Hartl’s Rails tutorial. However, after starting chapter 6, I found that Eclipse’s App Explorer does not show any new files anymore. Eg running rails generate model User does indeed generate the file user.rb in app/models/, however the App Explorer does not show the file. Also, when I just copy and paste other […]

“Updates were rejected” trying to push to Github

I know there are similar questions to this, but nothing that has been suggested is working for me, and I’m losing my mind with this! Quick rundown: Completely new to programming. Started from scratch on learning Rails with a book. I’m on a mac(osx 10.7.5),I’ve installed Ruby, Rails, and Git (and the needed command line […]

Changes show up locally but not on Heroku

I’ve tried a bunch of different things as per suggestions, but cannot get it to work for me, what are some more alternatives? When I git push, it says its already updated… is it a problem with uploading gem files, css? How can I know where it starts so I can then find an answer. […]

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