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
diff --git a/Makefile.in b/Makefile.in | |
index 40fb8cc..fa7015d 100644 | |
--- a/Makefile.in | |
+++ b/Makefile.in | |
@@ -757,7 +757,12 @@ uninstall-man: uninstall-man1 | |
@SSH_NODELAY_SO_TRUE@ rm -f "$(DESTDIR)$(libdir)/sshnodelay.so" | |
@SSH_NODELAY_SO_TRUE@sshnodelay.so: | |
+ifeq "$(shell_uname)" "Darwin" | |
+@SSH_NODELAY_SO_TRUE@ $(CC) -Wall -dynamiclib $(CFLAGS) $(sshnodelay_libs) -install_name "$(DESTDIR)$(libdir)/sshnodelay.so" sshnodelay.c -o sshnodelay.so |
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
diff --git a/Makefile.in b/Makefile.in | |
index 40fb8cc..fa7015d 100644 | |
--- a/Makefile.in | |
+++ b/Makefile.in | |
@@ -757,7 +757,12 @@ uninstall-man: uninstall-man1 | |
@SSH_NODELAY_SO_TRUE@ rm -f "$(DESTDIR)$(libdir)/sshnodelay.so" | |
@SSH_NODELAY_SO_TRUE@sshnodelay.so: | |
+ifeq "$(shell_uname)" "Darwin" | |
+@SSH_NODELAY_SO_TRUE@ $(CC) -Wall -dynamiclib $(CFLAGS) $(sshnodelay_libs) -install_name "$(DESTDIR)$(libdir)/sshnodelay.so" sshnodelay.c -o sshnodelay.so |
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
Tarifador::Application.configure do | |
# Settings specified here will take precedence over those in config/application.rb | |
# The production environment is meant for finished, "live" apps. | |
# Code is not reloaded between requests | |
config.cache_classes = true | |
# Full error reports are disabled and caching is turned on | |
config.consider_all_requests_local = false | |
config.action_controller.perform_caching = true |
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 File.expand_path('../boot', __FILE__) | |
require 'rails/all' | |
require 'exception_notifier' | |
if defined?(Bundler) | |
# Bundler.require(:default, :assets, Rails.env) | |
Bundler.require *Rails.groups(:assets => %w(development test)) | |
end | |
module Tarifador |
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 "money" | |
class Decorator < BasicObject | |
undef_method :== | |
def initialize(component) | |
@component = component | |
end | |
def method_missing(name, *args, &block) |
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
~/Code/tarifador ‹1.9.3@tarifador› ‹master*› $ rc | |
########################################################################################## | |
/Users/lunks/.rvm/gems/ruby-1.9.3-p0@global/gems/mime-types-1.17.2/lib/mime/types.rb:756:in `open' | |
/Users/lunks/.rvm/gems/ruby-1.9.3-p0@global/gems/mime-types-1.17.2/lib/mime/types.rb:756:in `load_from_file' | |
/Users/lunks/.rvm/gems/ruby-1.9.3-p0@global/gems/mime-types-1.17.2/lib/mime/types.rb:843:in `block in <class:Types>' | |
/Users/lunks/.rvm/gems/ruby-1.9.3-p0@global/gems/mime-types-1.17.2/lib/mime/types.rb:843:in `each' | |
/Users/lunks/.rvm/gems/ruby-1.9.3-p0@global/gems/mime-types-1.17.2/lib/mime/types.rb:843:in `<class:Types>' | |
/Users/lunks/.rvm/gems/ruby-1.9.3-p0@global/gems/mime-types-1.17.2/lib/mime/types.rb:578:in `<module:MIME>' | |
/Users/lunks/.rvm/gems/ruby-1.9.3-p0@global/gems/mime-types-1.17.2/lib/mime/types.rb:4:in `<top (required)>' | |
/Users/lunks/.rvm/gems/ruby-1.9.3-p0@tarifador/bundler/gems/rails-9e9e17a62e4d/activesupport/lib/active_support/dependencies.rb:251:i |
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
# Pathe to your oh-my-zsh configuration. | |
export ZSH=$HOME/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
export ZSH_THEME="macovsky" | |
# Set to this to use case-sensitive completion |
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
Before @awesome_guy_ove do | |
@user = User.new | |
@user.register_site :ove | |
end |
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
module NewSession | |
class User | |
@users = Hash.new {|hash, key| hash[key] = User.new} | |
class << self | |
def find_or_create_user name | |
name = name.to_sym | |
@users[name] | |
end | |
end |
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
module NewSession | |
class User | |
@users = Hash.new {|hash, key| hash[key] = User.new} | |
class << self | |
def find_or_create_user name | |
name = name.to_sym | |
@users[name] | |
end | |
end |