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
module.exports.Foo = new (function(init_param) { | |
var private_function = function(thing_to_log) { | |
console.log(thing_to_log); | |
} | |
this.public_function = function() { | |
private_function(init_param); | |
} | |
})("from the private func"); |
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
/bin/sh bin/standalone.sh -Djruby.home=/Users/tsingh/.rvm/rubies/jruby-1.6.7 | |
========================================================================= | |
JBoss Bootstrap Environment | |
JBOSS_HOME: /Users/tsingh/.rvm/gems/jruby-1.6.7@global/gems/torquebox-server-2.0.0.cr1-java/jboss | |
JAVA: /System/Library/Frameworks/JavaVM.framework/Home//bin/java | |
JAVA_OPTS: -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=standalone.xml |
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
/Users/tsingh/.rvm/rubies/jruby-head/bin/jruby extconf.rb | |
WARNING: JRuby does not support native extensions or the `mkmf' library very well. | |
Check https://wiki.jruby.org/C-Extension-Alternatives for alternatives. | |
/Users/tsingh/.rvm/rubies/jruby-head/lib/ruby/shared/mkmf.rb:36: Use RbConfig instead of obsolete and deprecated Config. | |
creating Makefile | |
make | |
cc -I. -I/Users/tsingh/.rvm/rubies/jruby-head/lib/native/include -I/Users/tsingh/.rvm/rubies/jruby-head/lib/native/include/ruby -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fPIC -DTARGET_RT_MAC_CFM=0 -fno-omit-frame-pointer -fno-strict-aliasing -fexceptions -Wall -arch amd64 -c posix-spawn.c | |
llvm-gcc-4.2: Invalid arch name : amd64 | |
make: *** [posix-spawn.o] Error 1 |
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
source "https://rubygems.org" | |
gem "rails", "3.1.4" | |
gem "jquery-rails" | |
gem "devise" | |
gem "inherited_resources" | |
gem "geokit" |
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
sprockets (2.1.0) lib/sprockets/trail.rb:81:in `resolve' | |
sprockets (2.1.0) lib/sprockets/context.rb:102:in `resolve' | |
sprockets (2.1.0) lib/sprockets/context.rb:113:in `depend_on' | |
sprockets (2.1.0) lib/sprockets/directive_processor.rb:295:in `process_require_tree_directive' | |
org/jruby/RubyBasicObject.java:1694:in `__send__' | |
org/jruby/RubyKernel.java:2118:in `send' | |
sprockets (2.1.0) lib/sprockets/directive_processor.rb:165:in `process_directives' | |
org/jruby/RubyArray.java:1612:in `each' | |
sprockets (2.1.0) lib/sprockets/directive_processor.rb:163:in `process_directives' | |
sprockets (2.1.0) lib/sprockets/directive_processor.rb:97:in `evaluate' |
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
org/jruby/RubyDir.java:480:in `rmdir' | |
torquebox-vfs-2.x.incremental.608 (java) lib/torquebox/vfs/ext/dir.rb:71:in `rmdir' | |
carrierwave (0.5.7) lib/carrierwave/uploader/store.rb:75:in `delete_cache_id' | |
carrierwave (0.5.7) lib/carrierwave/uploader/store.rb:61:in `store!' | |
carrierwave (0.5.7) lib/carrierwave/uploader/callbacks.rb:17:in `with_callbacks' | |
carrierwave (0.5.7) lib/carrierwave/uploader/store.rb:58:in `store!' | |
carrierwave (0.5.7) lib/carrierwave/mount.rb:347:in `store!' | |
carrierwave (0.5.7) lib/carrierwave/mount.rb:306:in `store_logo!' | |
activesupport (3.1.1) lib/active_support/callbacks.rb:442:in `_run_save_callbacks' | |
org/jruby/RubyBasicObject.java:1688:in `__send__' |
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
carrierwave (0.5.7) lib/carrierwave/processing/mini_magick.rb:249:in `manipulate!' | |
carrierwave (0.5.7) lib/carrierwave/processing/mini_magick.rb:206:in `resize_and_pad' | |
org/jruby/RubyBasicObject.java:1700:in `__send__' | |
org/jruby/RubyKernel.java:2122:in `send' | |
carrierwave (0.5.7) lib/carrierwave/uploader/processing.rb:83:in `process!' | |
org/jruby/RubyArray.java:1612:in `each' | |
carrierwave (0.5.7) lib/carrierwave/uploader/processing.rb:81:in `process!' | |
org/jruby/RubyBasicObject.java:1694:in `__send__' | |
org/jruby/RubyKernel.java:2118:in `send' | |
carrierwave (0.5.7) lib/carrierwave/uploader/callbacks.rb:18:in `with_callbacks' |
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
source 'http://rubygems.org' | |
gem 'rails', '3.1.1' | |
# Bundle edge Rails instead: | |
#gem 'rails', :git => 'git://github.com/rails/rails.git' | |
#gem 'mysql2' | |
#gem 'sqlite3' | |
gem 'jdbc-sqlite3' |
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
# Using MongoDB | |
cucumber: | |
<<: *test | |
development: | |
adapter: sqlite3 | |
database: db/development.sqlite3 | |
pool: 5 | |
timeout: 5000 |
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
source 'http://rubygems.org' | |
gem 'rails', '3.1.1' | |
# Bundle edge Rails instead: | |
#gem 'rails', :git => 'git://github.com/rails/rails.git' | |
#gem 'mysql2' | |
gem 'sqlite3' | |
gem 'redis' |