Skip to content

Instantly share code, notes, and snippets.

View jacqueline-homan's full-sized avatar

Jacqueline S. Homan jacqueline-homan

View GitHub Profile
@jacqueline-homan
jacqueline-homan / stacktrace.txt
Created July 31, 2013 14:51
Team Hackety-Hack RGSoC project: possible rvm-related errors on freshly cloned hackety-hack.com repo after only adding the simplecov gem
jacqueline@jacqueline-Satellite-S55-A:~/user/hackety-hack.com$ rspec spec
/home/jacqueline/user/hackety-hack.com/.bundle/ruby/1.9.1/gems/activesupport-3.1.11/lib/active_support/testing/mochaing.rb:5: warning: already initialized constant Mocha
FFF..*......................*.....
Pending:
BlogPost add some examples to (or delete) /home/jacqueline/user/hackety-hack.com/spec/models/blog_post_spec.rb
# No reason given
# ./spec/models/blog_post_spec.rb:4
BlogHelper add some examples to (or delete) /home/jacqueline/user/hackety-hack.com/spec/helpers/blog_helper_spec.rb
# No reason given
@jacqueline-homan
jacqueline-homan / terminal output
Created August 1, 2013 08:15
Gist file for getting RVM sorted so I can work on my team's Summer of Code project
jacqueline@jacqueline-Satellite-S55-A:~$ rvm install 1.9.3-p392
Already installed ruby-1.9.3-p392.
To reinstall use:
rvm reinstall 1.9.3-p392
jacqueline@jacqueline-Satellite-S55-A:~$ cat .bundle/config
cat: .bundle/config: No such file or directory
jacqueline@jacqueline-Satellite-S55-A:~$ rm -rf .bundle
jacqueline@jacqueline-Satellite-S55-A:~$ echo $GEM_HOME
@jacqueline-homan
jacqueline-homan / re-try
Created August 1, 2013 18:34
rvm install stacktrace
jacqueline@jacqueline-Satellite-S55-A:~$ rvm install 1.9.3-p392
Already installed ruby-1.9.3-p392.
To reinstall use:
rvm reinstall 1.9.3-p392
jacqueline@jacqueline-Satellite-S55-A:~$ cd hackety-hack.com
RVM used your Gemfile for selecting Ruby, it is all fine - Heroku does that too,
you can ignore these warnings with 'rvm rvmrc warning ignore /home/jacqueline/hackety-hack.com/Gemfile'.
To ignore the warning for all files run 'rvm rvmrc warning ignore allGemfiles'.
@jacqueline-homan
jacqueline-homan / gist:6134801
Created August 1, 2013 20:11
gist of original project directory (~/hackety-hack.com)
jacqueline@jacqueline-Satellite-S55-A:~$ cd hackety-hack.com
RVM used your Gemfile for selecting Ruby, it is all fine - Heroku does that too,
you can ignore these warnings with 'rvm rvmrc warning ignore /home/jacqueline/hackety-hack.com/Gemfile'.
To ignore the warning for all files run 'rvm rvmrc warning ignore allGemfiles'.
jacqueline@jacqueline-Satellite-S55-A:~/hackety-hack.com$ rspec
*** Mocha deprecation warning: Change `require 'mocha'` to `require 'mocha/setup'`.
@jacqueline-homan
jacqueline-homan / re-clone and reinstall problem-rails not present
Created August 2, 2013 10:54
Unable to reinstall the project in new directory, starting from scratch.
jacqueline@jacqueline-Satellite-S55-A:~$ mkdir project
jacqueline@jacqueline-Satellite-S55-A:~$ cd project
jacqueline@jacqueline-Satellite-S55-A:~/project$ git clone git@github.com:teamhacketyhack/hackety-hack.com.git
Cloning into 'hackety-hack.com'...
remote: Counting objects: 5640, done.
remote: Compressing objects: 100% (3361/3361), done.
remote: Total 5640 (delta 2095), reused 5584 (delta 2051)
Receiving objects: 100% (5640/5640), 4.54 MiB | 1.61 MiB/s, done.
Resolving deltas: 100% (2095/2095), done.
jacqueline@jacqueline-Satellite-S55-A:~/project$ script/bootstrap
@jacqueline-homan
jacqueline-homan / re-clone and reinstall problem-rails not present
Created August 2, 2013 10:54
Unable to reinstall the project in new directory, starting from scratch.
jacqueline@jacqueline-Satellite-S55-A:~$ mkdir project
jacqueline@jacqueline-Satellite-S55-A:~$ cd project
jacqueline@jacqueline-Satellite-S55-A:~/project$ git clone git@github.com:teamhacketyhack/hackety-hack.com.git
Cloning into 'hackety-hack.com'...
remote: Counting objects: 5640, done.
remote: Compressing objects: 100% (3361/3361), done.
remote: Total 5640 (delta 2095), reused 5584 (delta 2051)
Receiving objects: 100% (5640/5640), 4.54 MiB | 1.61 MiB/s, done.
Resolving deltas: 100% (2095/2095), done.
jacqueline@jacqueline-Satellite-S55-A:~/project$ script/bootstrap
Your bundle is complete!
It was installed into ./.bundle
/home/jacqueline/.rvm/rubies/ruby-1.9.3-p392/bin/ruby -S rspec ./spec/controllers/blog_controller_spec.rb ./spec/controllers/questions_controller_spec.rb ./spec/following_policy_spec.rb ./spec/helpers/blog_helper_spec.rb ./spec/mailers/notification_spec.rb ./spec/models/blog_post_spec.rb ./spec/unit/program_spec.rb ./spec/unit/sluggifier_spec.rb ./spec/views/questions/index.atom.builder_spec.rb ./spec/views/questions/index.html.haml_spec.rb -r./spec/spec_helper.rb
/home/jacqueline/project/hackety-hack.com/.bundle/ruby/1.9.1/gems/activesupport-3.1.11/lib/active_support/testing/mochaing.rb:5: warning: already initialized constant Mocha
.....................*....*.......
Pending:
BlogHelper add some examples to (or delete) /home/jacqueline/project/hackety-hack.com/spec/helpers/blog_helper_spec.rb
# No reason given
# ./spec/helpers/blog_helper_spec.rb:14
@jacqueline-homan
jacqueline-homan / gist:6140752
Created August 2, 2013 15:25
reinstalled master file, ran bootstrap, then installed simplecov gem and still have NameError problem
jacqueline@jacqueline-Satellite-S55-A:~$ mkdir project
jacqueline@jacqueline-Satellite-S55-A:~$ cd project
jacqueline@jacqueline-Satellite-S55-A:~/project$ ls -a
. .. hackety-hack.com-master
jacqueline@jacqueline-Satellite-S55-A:~/project$ cd hackety-hack.com-master
RVM used your Gemfile for selecting Ruby, it is all fine - Heroku does that too,
you can ignore these warnings with 'rvm rvmrc warning ignore /home/jacqueline/project/hackety-hack.com-master/Gemfile'.
To ignore the warning for all files run 'rvm rvmrc warning ignore allGemfiles'.
jacqueline@jacqueline-Satellite-S55-A:~/project/hackety-hack.com-master$ script/bootstrap
jacqueline@jacqueline-Satellite-S55-A:~/project/hackety-hack.com-master$ sublime-text Gemfile
jacqueline@jacqueline-Satellite-S55-A:~/project/hackety-hack.com-master$ gem install simplecov
Successfully installed simplecov-0.7.1
unable to convert "\xF1" from ASCII-8BIT to UTF-8 for test/fixtures/iso-8859.rb, skipping
1 gem installed
jacqueline@jacqueline-Satellite-S55-A:~/project/hackety-hack.com-master$ bundle install
Fetching gem metadata from http://rubygems.org/.......
Fetching gem metadata from http://rubygems.org/..
Resolving dependencies...
Using rake (10.0.3)
@jacqueline-homan
jacqueline-homan / gist:6233442
Created August 14, 2013 17:37
git output from doing "git reflog"
e80c126 HEAD@{0}: checkout: moving from master to e80c12627b07f59deaef5b54e1666a3fb21d727a
e80c126 HEAD@{1}: reset: moving to e80c12627b07f59deaef5b54e1666a3fb21d727a
0d20452 HEAD@{2}: commit: trying to sort out the authentication with Mongo
0791b9a HEAD@{3}: checkout: moving from overwritedb to master
0791b9a HEAD@{4}: checkout: moving from master to overwritedb
0791b9a HEAD@{5}: checkout: moving from overwritedb to master
0791b9a HEAD@{6}: checkout: moving from master to overwritedb
0791b9a HEAD@{7}: commit: authentications Stage 1 updated
e80c126 HEAD@{8}: commit: Stage 1 authentications updated - called omniauth/builder directly in user.rb file using require statement
76e8f26 HEAD@{9}: commit: rspec test for user login and 3rd party images