Skip to content

Instantly share code, notes, and snippets.

View techsnapr's full-sized avatar

Yogesh Kumar techsnapr

View GitHub Profile
@techsnapr
techsnapr / gist:34c9957b912c010cefb3
Created November 26, 2014 18:36
RVM Installation Error
Yogeshs-MacBook-Air:~ yogeshkumar$ \curl -L https://get.rvm.io | bash -s stable --ruby
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 184 100 184 0 0 26 0 0:00:07 0:00:06 0:00:01 39
100 22728 100 22728 0 0 1576 0 0:00:14 0:00:14 --:--:-- 5468
Downloading https://github.com/wayneeseguin/rvm/archive/1.26.3.tar.gz
Downloading https://github.com/wayneeseguin/rvm/releases/download/1.26.3/1.26.3.tar.gz.asc
Found PGP signature at: 'https://github.com/wayneeseguin/rvm/releases/download/1.26.3/1.26.3.tar.gz.asc',
but no GPG software exists to validate it, skipping.
@techsnapr
techsnapr / gist:258edf0ffab14e660aa8
Created November 29, 2014 07:12
Configuring GIT - Error
Yogeshs-MacBook-Air:~ yogeshkumar$ git config --global color.ui true
Yogeshs-MacBook-Air:~ yogeshkumar$ git config --global user.name "Yogesh Kumar"
Yogeshs-MacBook-Air:~ yogeshkumar$ git config --global user.email "yogesh.niitian@gmail.com"
Yogeshs-MacBook-Air:~ yogeshkumar$ ssh-keygen -t rsa -C "yogesh.niitian@gmail.com"
Generating public/private rsa key pair.
Enter file in which to save the key (/Users/yogeshkumar/.ssh/id_rsa): cat ~/.ssh/id_rsa.pub
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
open cat ~/.ssh/id_rsa.pub failed: No such file or directory.
Saving the key failed: cat ~/.ssh/id_rsa.pub.
yogeshkumar$ heroku logs
2014-12-03T10:47:33.963199+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2014-12-03T10:47:33.963189+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/application.rb:144:in `call'
2014-12-03T10:47:33.963192+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
2014-12-03T10:47:33.963193+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2014-12-03T10:47:33.963200+00:00 app[web.1]:
2014-12-03T10:47:33.963201+00:00 app[web.1]:
2014-12-03T10:47:33.963195+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2014-12-03T10:47:33.963175+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/tagged_logging.rb:68:in `tagged'
2014-12-03T10:47:33.963177+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/rack/logger.rb:20