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
$script = <<SCRIPT | |
su -c "source #{vm_script_dir}/utils/rvm_install2.sh \ | |
--provisioned-dir=#{vm_provisioned_dir} | |
" vagrant | |
SCRIPT | |
# Install RVM | |
config.vm.provision "shell", inline: $script |
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
12:24:06.164 EVENT Checking Resource aliases | |
12:24:06.196 EVENT Starting Jetty/4.2.19 | |
=================================================================== | |
SERVER CONTEXT | |
------------------------------------------------------------------- | |
- config:E:\Users\15037\git\lucee\lucee-java\lucee-debug\.\server\context | |
- loader-version:4.3 | |
=================================================================== | |
Sat Feb 28 12:24:06 EST 2015-570 using JRE Date Library |
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
/** | |
* @mxunit:decorators DynamicFunctionsTestDecorator | |
**/ | |
component extends="mxunit.framework.TestCase" { | |
init(); | |
private function init() { | |
dynamicFunctions = {}; |
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
<cfscript> | |
base = "s3://MYKEY:MYSKEY@/files-stage.mysite.com"; | |
writeDump( | |
var = directoryList( base ), | |
label = "directoryList(#base#)", | |
output = "console" | |
); | |
dir = base & "/reports"; |
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
<!-- | |
~ Copyright (c) 2014-2015 Enrico M. Crisostomo | |
~ All rights reserved. | |
~ | |
~ Redistribution and use in source and binary forms, with or without | |
~ modification, are permitted provided that the following conditions are met: | |
~ | |
~ * Redistributions of source code must retain the above copyright notice, this | |
~ list of conditions and the following disclaimer. | |
~ |
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
#!/usr/bin/env bash | |
# install module compiling prerequisite | |
sudo apt-get install apache2-threaded-dev | |
# get/compile/place new module | |
cd /tmp | |
wget -O mod_cfml-master.zip https://github.com/utdream/mod_cfml/archive/master.zip | |
unzip mod_cfml-master.zip | |
cd ./mod_cfml-master/C |
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
gem uninstall jruby-rack; # get rid of old jruby-rack gem | |
git clone https://github.com/jruby/jruby-rack.git; # clones into jruby-rack directory | |
cd jruby-rack; # cd into the new directory | |
bundle install; # shouldn't this put the gem into the gemset? | |
rake install_gem; # what's this for? | |
# delete the git source from my rails project | |
cd ../; | |
rm -rf jruby-jack; |
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
$ # in my project's rails root | |
$ git clone https://github.com/jruby/jruby-rack.git | |
$ cd jruby-rack | |
$ rake gem | |
mkdir -p target/classes | |
mvn org.jruby.plugins:jruby-rake-plugin:classpath -Djruby.classpath.scope=test | |
rake aborted! | |
Command failed with status (127): [mvn org.jruby.plugins:jruby-rake-plugin:cl...] |
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
jamie@icf109118-Ubuntu:~/workspace_ruby/probs/jruby-rack$ rake gem | |
mvn org.jruby.plugins:jruby-rake-plugin:classpath -Djruby.classpath.scope=test | |
rake aborted! | |
Command failed with status (127): [mvn org.jruby.plugins:jruby-rake-plugin:cl...] | |
Tasks: TOP => spec => compile => target/classpath.rb | |
(See full trace by running task with --trace) | |
jamie@icf109118-Ubuntu:~/workspace_ruby/probs/jruby-rack$ rake gem --trace | |
** Invoke gem (first_time) | |
** Invoke target/jruby-rack-1.1.3.dev-SNAPSHOT.jar (first_time) |
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
$ sudo apt-get install maven2 # install maven2, if you don't have it | |
$ gem uninstall jruby-jack | |
$ gedit Gemfile # add: gem 'jruby-rack', '1.1.3.dev' | |
$ # while in my project's rails root | |
$ git clone https://github.com/jruby/jruby-rack.git | |
$ cd jruby-rack | |
$ bundle install | |
$ rake gem | |
$ gem install target/jruby-rack-1.1.3.dev.gem | |
$ cd ../ |