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
# require gems | |
gem 'cucumber' | |
gem 'webrat' | |
# generate Cucumber infrastructure | |
run './script/generate cucumber' |
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
apply "http://gist.github.com/187990.txt" | |
apply "http://gist.github.com/187993.txt" |
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/bin/env ruby | |
# Written by Kieran P | |
# http://github.com/KieranP | |
# http://twitter.com/k776 | |
# http://k776.tumblr.com | |
# | |
# Feel free to fork and modify. | |
# If you do, send me a message on | |
# Github details changes and I'll |
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
Processing UsersController#create (for 91.34.233.49 at 2010-03-21 09:57:39) [POST] | |
Parameters: {"commit"=>"Sign Up!", "authenticity_token"=>"iKq0flasdjfhi9234ulAdeNnBGA=", "inviter_code"=>"", "inviter_id"=>"", "user"=>{"birthday(1i)"=>"1985", "birthday(2i)"=>"3", "password_confirmation"=>"xxxxxxxx", "birthday(3i)"=>"21", "password"=>"xxxxxxxxxx", "login"=>"lgsadmin", "email"=>"[email protected]"}} | |
Sent mail to [email protected] | |
Errno::ECONNREFUSED (Connection refused - connect(2)): | |
/usr/lib/ruby/1.8/net/smtp.rb:551:in `initialize' | |
/usr/lib/ruby/1.8/net/smtp.rb:551:in `open' | |
/usr/lib/ruby/1.8/net/smtp.rb:551:in `do_start' | |
/usr/lib/ruby/1.8/timeout.rb:62:in `timeout' |
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
#---------------------------------------------------------------------------- | |
# Git Setup | |
#---------------------------------------------------------------------------- | |
file '.gitignore', <<-FILE | |
.DS_Store | |
log/*.log | |
tmp/**/* | |
config/database.yml | |
db/*.sqlite3 | |
public/uploads/* |
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
lsoave@ubuntu:~/templates/prova$ script/rails g devise_views | |
/usr/lib/ruby/gems/1.8/gems/bundler-0.9.7/lib/bundler/resolver.rb:97:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement | |
exist devise | |
identical devise/shared/_links.erb | |
identical devise/passwords/new.html.erb | |
identical devise/passwords/edit.html.erb | |
identical devise/mailer/confirmation_instructions.html.erb | |
identical devise/mailer/unlock_instructions.html.erb | |
identical devise/mailer/reset_password_instructions.html.erb | |
identical devise/unlocks/new.html.erb |
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
require "rubygems" | |
require "superfeedr" | |
## You can have all the XMPP logging by changing the Skates log level | |
Skates.logger.level = Log4r::DEBUG | |
## | |
# Don't ever forget that all this is ASYNCHRONOUS... | |
# If you don't run EM in your program, then it will started for... however, EM.run begin a blocking call, you shoudl probably run it into a specific Thread to keep the rest of your app running :) |
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
This example shows how to setup an environment running Rails 3 beta under 1.9.2-head with a 'rails3' gem set. | |
∴ rvm update --head | |
# ((Open a new shell)) or do 'rvm reload' | |
# If you do not already have the ruby interpreter installed, install it: | |
∴ rvm install 1.9.2-head | |
# Switch to 1.9.2-head and gemset rails3, create if it doesn't exist. | |
∴ rvm --create use 1.9.2-head@rails3 |
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
source 'http://rubygems.org' | |
gem 'rack', '1.1.0', :git => 'git://github.com/rails/rack.git' | |
gem 'rack-mount' | |
gem 'rack-test' | |
gem 'rails', '3.0.0.beta3', :git => 'git://github.com/rails/rails.git' | |
# Bundle edge Rails instead: | |
# gem 'rails', :git => 'git://github.com/rails/rails.git' |
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
#---------------------------------------------------------------------------- | |
# Compass | |
#---------------------------------------------------------------------------- | |
file 'config/compass.rb', <<-CODE | |
# Require any additional compass plugins here. | |
project_type = :rails | |
project_path = RAILS_ROOT if defined?(RAILS_ROOT) | |
# Set this to the root of your project when deployed: |