This file contains hidden or 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
-rwxr-xr-x 1 michaelmurray staff 2386 Aug 20 16:30 /Users/michaelmurray/.rvm/scripts/rvm |
This file contains hidden or 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
$ sudo /etc/init.d/apache2 start | |
* Starting web server apache2 | |
[Thu Aug 26 03:46:44 2010] [warn] NameVirtualHost *:80 has no VirtualHosts | |
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 | |
no listening sockets available, shutting down | |
Unable to open logs | |
...fail! |
This file contains hidden or 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
$ sudo /etc/init.d/apache2 start | |
* Starting web server apache2 | |
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 | |
no listening sockets available, shutting down | |
Unable to open logs | |
...fail! |
This file contains hidden or 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
No route matches {:action=>"destroy", :controller=>"user_sessions"} |
This file contains hidden or 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
Ftc::Application.routes.draw do | |
resources :users | |
resources :user_sessions | |
end |
This file contains hidden or 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
$ beet -g ftc -r="rails3/js/jquery, rails3/db/mysql, rails3/auth/devise, rails3/git" | |
Generating rails 3 project ftc... | |
create | |
create README | |
create Rakefile | |
create config.ru | |
create .gitignore | |
create Gemfile |
This file contains hidden or 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
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %> | |
<%= error_messages_for :resource, :header_message => nil, :message => 'Oops, an error occurred:' %> | |
<table> | |
<tr> | |
<td><%= f.label :email %></td> | |
<td><%= f.text_field :email %></td> | |
</tr> | |
<tr> | |
<td><%= f.label :password %></td> |
This file contains hidden or 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
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %> | |
<%= error_messages_for :resource, :header_message => nil, :message => 'Oops, an error occurred:' %> | |
<table> | |
<tr> | |
<td><%= f.label :email %></td> | |
<td><%= f.text_field :email %></td> | |
</tr> | |
<tr> | |
<td><%= f.label :password %></td> |
This file contains hidden or 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
<div class="round-box black"> | |
<div class="loginForm"> | |
<h2>Login</h2> | |
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %> | |
<table> | |
<tr> | |
<td><%= f.label :email %></td> | |
<td><%= f.text_field :email %></td> | |
</tr> |
This file contains hidden or 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
<div class="round-box black"> | |
<div class="loginForm"> | |
<h2>Login</h2> | |
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %> | |
<table> | |
<tr> | |
<td><%= f.label :email %></td> | |
<td><%= f.text_field :email %></td> | |
</tr> |