Skip to content

Instantly share code, notes, and snippets.

View felipero's full-sized avatar
🐞
Debugging

Felipe Rodrigues felipero

🐞
Debugging
View GitHub Profile
[master] felipe:/workspaces/wave20/sehabitat$ rake inploy:remote:setup
(in /data/workspaces/wave20/sehabitat)
Inploy => ssh rails@sehabitat.fratech.net 'cd /srv/sehabitat && git clone --depth 1 git@github.com:felipero/sehabitat.git release && cd release && rake inploy:local:setup environment=production'
rails@sehabitat.fratech.net's password:
Initialized empty Git repository in /srv/sehabitat/release/.git/
rake aborted!
Could not find gem 'mysql (>= 0, runtime)' in any of the sources.
/srv/sehabitat/release/Rakefile:4:in `require'
(See full trace by running task with --trace)
(in /srv/sehabitat/release)
felipe:/data/workspaces/assembla/platform_dev/trunk$ rake gems:install --trace
(in /data/workspaces/assembla/platform_dev/trunk)
** Invoke gems:install (first_time)
** Invoke gems:base (first_time)
** Execute gems:base
** Invoke environment (first_time)
** Execute environment
config.gem: Unpacked gem cached-models-0.0.3 in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this.
config.gem: Unpacked gem starling-0.9.8 in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this.
config.gem: Unpacked gem fastercsv-1.4.0 in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this.
import groovyx.net.http.HTTPBuilder
import static groovyx.net.http.Method.GET
import static groovyx.net.http.ContentType.TEXT
class HTTPTester {
static void main(String[] args){
def http = new HTTPBuilder( 'http://fratechit.appspot.com' )
# enconding: utf-8
require File.join(File.dirname(__FILE__), "lib", "couch_rails", "version")
require 'rubygems'
require 'thor/rake_compat'
require 'spec/rake/spectask'
begin
require 'rdoc/task'
rescue LoadError
end
package com.novell.aca.snippet
import org.junit.runner.RunWith
import org.specs._
import org.specs.mock.EasyMock
import runner.{JUnitSuiteRunner, JUnit4}
@RunWith(classOf[JUnitSuiteRunner])
class ProfilePageTest extends JUnit4(ProfilePageSpecs)
class Pessoa implements Serializable {
static hasMany = [atendimentos:Atendimento]
String nome
Endereco endereco
static constraints = {
endereco(nullable:true)
}
# Clojure jar file
clj=/opt/clojure/clojure/clojure.jar
# Directory where libaries/jar files can be found
clj_ext=~/.clojure
###
# Various java options:
###
;;; THIS CODE MUST BE UNDER THE ELPA CODE ADDE WHEN YOU INSTALLED ELPA
;; Clojure configuration
(clojure-slime-config "/opt/clojure")
;; Slime configuration
(require 'slime)
;; Adding sbcl to slime
(add-to-list 'slime-lisp-implementations '(sbcl ("sbcl")))
;; Clojure configuration
77 (clojure-slime-config "/opt/clojure")
78
79 ;; Slime configuration
80 (require 'slime)
81 ;; Adding sbcl to slime
82 (add-to-list 'slime-lisp-implementations '(sbcl ("sbcl")))
(let ((buffer (url-retrieve-synchronously
"http://tromey.com/elpa/package-install.el")))
(save-excursion
(set-buffer buffer)
(goto-char (point-min))
(re-search-forward "^$" nil 'move)
(eval-region (point) (point-max))
(kill-buffer (current-buffer))))