This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Head, body, yield etc. should be inside of application.html.erb (covered by Markus) | |
and the views go inside of this | |
Ask Markus questions about this. | |
The easy way to add user authentication with ruby gem devise |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Project Redux | |
Where does stuff go? | |
Refactoring | |
Code Reviews | |
PM Javascript Review |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Google.com | |
Command+Option+J to get Javascript console | |
window.location | |
window.location.href | |
User agent tag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Routes file: | |
EtsyApp::Application.routes.draw do | |
resources :listings | |
get "pages/about" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Building native extensions. This could take a while... | |
ERROR: Error installing middleman: | |
ERROR: Failed to build gem native extension. | |
/usr/local/rvm/rubies/ruby-1.9.3-p429/bin/ruby extconf.rb | |
creating Makefile | |
make | |
compiling hitimes.c | |
make: gcc-4.2: No such file or directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/local/bin/brew: /usr/local/Library/brew.rb: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby: bad interpreter: No such file or directory | |
/usr/local/bin/brew: line 21: /usr/local/Library/brew.rb: Undefined error: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I was prompted to run "rvm cleanup all" when I attempted to install rvm per your instructions, Mike. I got this error message instead: | |
rm: /usr/local/rvm/gems/ruby-1.9.3-p429/doc/bundler-1.6.2/rdoc/Bundler/BundlerError.html: Permission denied | |
rm: /usr/local/rvm/gems/ruby-1.9.3-p429/doc/bundler-1.6.2/rdoc/Bundler/CLI/Binstubs.html: Permission denied | |
rm: /usr/local/rvm/gems/ruby-1.9.3-p429/doc/bundler-1.6.2/rdoc/Bundler/CLI/Cache.html: Permission denied | |
rm: /usr/local/rvm/gems/ruby-1.9.3-p429/doc/bundler-1.6.2/rdoc/Bundler/CLI/Check.html: Permission denied | |
rm: /usr/local/rvm/gems/ruby-1.9.3-p429/doc/bundler-1.6.2/rdoc/Bundler/CLI/Clean.html: Permission denied | |
rm: /usr/local/rvm/gems/ruby-1.9.3-p429/doc/bundler-1.6.2/rdoc/Bundler/CLI/Common.html: Permission denied | |
rm: /usr/local/rvm/gems/ruby-1.9.3-p429/doc/bundler-1.6.2/rdoc/Bundler/CLI/Config.html: Permission denied | |
rm: /usr/local/rvm/gems/ruby-1.9.3-p429/doc/bundler-1.6.2/rdoc/Bundler/CLI/Console.html: Permission denied |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Still getting this error when I run: | |
"rvm install 2.0.0-p247" | |
Searching for binary rubies, this might take some time. | |
No binary rubies available for: osx/10.10/x86_64/ruby-2.0.0-p247. | |
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies. | |
Checking requirements for osx. | |
/usr/local/bin/brew: /usr/local/Library/brew.rb: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby: bad interpreter: No such file or directory | |
/usr/local/bin/brew: line 21: /usr/local/Library/brew.rb: Undefined error: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failed AddDevisetoUsers file | |
class AddDeviseToUsers < ActiveRecord::Migration | |
def self.up | |
change_table(:users) do |t| | |
## Database authenticatable | |
t.string :email, null: false, default: "" | |
t.string :encrypted_password, null: false, default: "" | |
## Recoverable |
OlderNewer