- Java JDK error
The first error I've catch was an error in Java JDK. A popup was shown with this message: "To view this web content, you need to install the Java Runtime Environment."
In order to fix this, you need to install the latest Java 8 JDK.
module ScopeByAttribute | |
def self.included(base) | |
base.send(:extend, ScopeByAttribute::ClassMethods) | |
end | |
module ClassMethods | |
def scope_by_attribute(attribute) | |
@scoped_attributes ||= [] | |
@scoped_attributes << attribute.to_sym | |
end |
"Use Vim settings, rather then Vi settings (much better!). | |
"This must be first, because it changes other options as a side effect. | |
set nocompatible | |
"allow backspacing over everything in insert mode | |
set backspace=indent,eol,start | |
"store lots of :cmdline history | |
set history=1000 |
# Authors: Anderson Dias (andersondias.github.com) and João Vitor (joaovitor.github.com) | |
# This monkey patch intends to solve cache errors on development environment when config.cache_classes = false. | |
# In order to use it you need to put it into you lib/ folder and | |
# insert "require File.join(RAILS_ROOT, 'lib', 'no_store_cache_monkey_patch')" | |
# after the "require File.join(File.dirname(__FILE__), 'boot')" line in config/environment.rb: | |
module ActiveSupport | |
module Cache | |
class NoStore < Store |
diff --git a/activesupport/lib/active_support/cache.rb b/activesupport/lib/active_support/cache.rb | |
index e62cec6..336f7c4 100644 | |
--- a/activesupport/lib/active_support/cache.rb | |
+++ b/activesupport/lib/active_support/cache.rb | |
@@ -221,3 +221,4 @@ require 'active_support/cache/memory_store' | |
require 'active_support/cache/drb_store' | |
require 'active_support/cache/mem_cache_store' | |
require 'active_support/cache/compressed_mem_cache_store' | |
+require 'active_support/cache/no_store' | |
diff --git a/activesupport/lib/active_support/cache/no_store.rb b/activesupport/lib/active_support/cache/no_store.rb |
# template.rb | |
# from Anderson Dias | |
#==================== | |
# PLUGINS | |
#==================== | |
# Testing | |
plugin 'rspec-rails', :git => 'git://github.com/dchelimsky/rspec-rails.git' | |
plugin 'cucumber', :git => 'git://github.com/aslakhellesoy/cucumber.git' |
# Updating Ubuntu | |
sudo aptitude update | |
sudo aptitude --assume-yes dist-upgrade | |
# Installing vim | |
sudo aptitude --assume-yes install vim vim-gnome | |
# Installing dependencies | |
sudo aptitude --assume-yes install build-essential |
#!/usr/bin/env ruby | |
# usage: git-release branch-name-1 branch-name-2 origin/remote-branch-name-3 | |
branchs = ARGV[0..-1] | |
abort unless system("git checkout master") | |
abort unless system("git pull") | |
abort unless system("git remote prune origin") | |
system("gitk") | |
print("Informe qual a tag que será usada nesse release: ") |
The first error I've catch was an error in Java JDK. A popup was shown with this message: "To view this web content, you need to install the Java Runtime Environment."
In order to fix this, you need to install the latest Java 8 JDK.