gem install thor
mkdir -p ~/vagrants && cd ~/vagrants
curl -LO https://raw.github.com/gist/1528832/vagrantify
chmod 755 vagrantify
./vagrantify init webserver
class_paths = [ | |
"./jars/commons-lang-2.1.jar", | |
"./jars/oscar4-all-4.1-with-dependencies.jar", | |
] | |
for class_path in class_paths | |
require class_path | |
end |
require 'minitest/unit' | |
require 'celluloid' | |
module MiniTest | |
module Celluloid | |
class Runner < MiniTest::Unit | |
def _run_suites(suites, type) | |
futures = suites.map do |suite| | |
::Celluloid::Future.new { _run_suite suite, type } |
--- | |
http: | |
maxThreads: 1 |
#!/bin/bash | |
# | |
# Provides a function that allows you to choose a JDK. Just set the environment | |
# variable JDKS_ROOT to the directory containing multiple versions of the JDK | |
# and the function will prompt you to select one. JAVA_HOME and PATH will be cleaned | |
# up and set appropriately. | |
_macosx() | |
{ | |
if [ $(uname -s) = Darwin ]; then |
gem install ey_cli
ey_cli create_app
gem install ey_cli
ey_cli create_app
$ gem push engineyard-serverside-1.4.3.gem | |
Pushing gem to https://rubygems.org... | |
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> | |
<html><head> | |
<title>500 Internal Server Error</title> | |
</head><body> | |
<h1>Internal Server Error</h1> | |
<p>The server encountered an internal error or | |
misconfiguration and was unable to complete | |
your request.</p> |
cd /System/Library/Frameworks/JavaVM.framework/Versions/
ln -s /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents 1.7.0
EXPERIMENTAL AND UNOFFICIAL, don't expect support of any type from Engine Yard on this. This is just a crazy idea that came to my mind a few weeks ago.