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
namespace :resque do | |
puts "Loading Rails environment for Resque" | |
task :setup do | |
end | |
end |
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
PG::Error: ERROR: relation "domains_users" does not exist | |
LINE 14: AND dep.refobjid = '"domains_users"'::regcl... | |
^ | |
: SELECT attr.attname, seq.relname | |
FROM pg_class seq, | |
pg_attribute attr, | |
pg_depend dep, | |
pg_namespace name, | |
pg_constraint cons | |
WHERE seq.oid = dep.objid |
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
~ % java -version | |
java version "1.6.0_31" | |
Java(TM) SE Runtime Environment (build 1.6.0_31-b04-415-11M3646) | |
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01-415, mixed mode) |
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
Removing /Users/joshrendek/.rvm/src/jruby-1.5.6... | |
Removing /Users/joshrendek/.rvm/rubies/jruby-1.5.6... | |
Removing jruby-1.5.6 aliases... | |
Removing jruby-1.5.6 wrappers... | |
Removing jruby-1.5.6 environments... | |
Removing jruby-1.5.6 binaries... | |
jruby-1.5.6 - #fetching | |
jruby-1.5.6 - #extracting jruby-bin-1.5.6 to /Users/joshrendek/.rvm/src/jruby-1.5.6 | |
jruby-1.5.6 - #extracted to /Users/joshrendek/.rvm/src/jruby-1.5.6 | |
Building Nailgun |
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
~ % ls -l /Users/joshrendek/.rvm/rubies/jruby-1.6.5.1/lib/jruby.jar /Users/joshrendek/.rvm/rubies/jruby-1.6.7/lib/jruby.jar /Users/joshrendek/.rvm/rubies/jruby-head/lib/jruby.jar | |
-rw-r--r-- 1 joshrendek staff 9676159 Mar 29 17:28 /Users/joshrendek/.rvm/rubies/jruby-1.6.5.1/lib/jruby.jar | |
-rw-r--r-- 1 joshrendek staff 10017442 May 14 23:47 /Users/joshrendek/.rvm/rubies/jruby-1.6.7/lib/jruby.jar | |
-rw-r--r-- 1 joshrendek staff 13830900 May 14 23:51 /Users/joshrendek/.rvm/rubies/jruby-head/lib/jruby.jar |
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
~ % rvm list | |
rvm rubies | |
jruby-1.6.5.1 [ x86_64 ] | |
=> /Users/joshrendek/.rvm/scripts/list: line 294: /Users/joshrendek/.rvm/rubies/jruby-1.6.7/config: No such file or directory | |
jruby-1.6.7 [ ] | |
/Users/joshrendek/.rvm/scripts/list: line 294: /Users/joshrendek/.rvm/rubies/jruby-head/config: No such file or directory | |
jruby-head [ ] | |
ree-1.8.7-2011.12 [ i686 ] |
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
[2012-05-14 23:38:39] GEM_HOME='/Users/joshrendek/.rvm/gems/jruby-1.6.7@global' GEM_PATH='/Users/joshrendek/.rvm/gems/jruby-1.6.7@global' gem install --remote rvm | |
Exception in thread "main" java.lang.NoClassDefFoundError: org/jruby/Main | |
Caused by: java.lang.ClassNotFoundException: org.jruby.Main | |
at java.net.URLClassLoader$1.run(URLClassLoader.java:202) | |
at java.security.AccessController.doPrivileged(Native Method) | |
at java.net.URLClassLoader.findClass(URLClassLoader.java:190) | |
at java.lang.ClassLoader.loadClass(ClassLoader.java:306) | |
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) | |
at java.lang.ClassLoader.loadClass(ClassLoader.java:247) | |
~ % |
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
installing jruby-openssl ... | |
jruby-openssl installed. | |
installing jruby-launcher ... | |
jruby-launcher installed. | |
installing bundler ... | |
Error running 'GEM_HOME='/Users/joshrendek/.rvm/gems/jruby-1.6.7@global' GEM_PATH='/Users/joshrendek/.rvm/gems/jruby-1.6.7@global' gem install --remote bundler ', please read /Users/joshrendek/.rvm/log/jruby-1.6.7/gem.install.log | |
bundler failed to install ( output logged to: /Users/joshrendek/.rvm/log/jruby-1.6.7/gem.install.log ) | |
installing rubygems-bundler ... | |
Error running 'GEM_HOME='/Users/joshrendek/.rvm/gems/jruby-1.6.7@global' GEM_PATH='/Users/joshrendek/.rvm/gems/jruby-1.6.7@global' gem install --remote rubygems-bundler ', please read /Users/joshrendek/.rvm/log/jruby-1.6.7/gem.install.log | |
rubygems-bundler failed to install ( output logged to: /Users/joshrendek/.rvm/log/jruby-1.6.7/gem.install.log ) |
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
~ % rvm reinstall jruby | |
Removing /Users/joshrendek/.rvm/src/jruby-1.6.7... | |
Removing /Users/joshrendek/.rvm/rubies/jruby-1.6.7... | |
Removing jruby-1.6.7 aliases... | |
Removing jruby-1.6.7 wrappers... | |
Removing jruby-1.6.7 environments... | |
Removing jruby-1.6.7 binaries... | |
jruby-1.6.7 - #fetching | |
jruby-1.6.7 - #extracting jruby-bin-1.6.7 to /Users/joshrendek/.rvm/src/jruby-1.6.7 | |
jruby-1.6.7 - #extracted to /Users/joshrendek/.rvm/src/jruby-1.6.7 |
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
def course_time_exists_in_occupied_time?(course_time) | |
exists = false | |
@occupied_time.each do |ot| | |
b1 = course_time.end > ot.start | |
b2 = course_time.start < ot.end | |
b3 = course_time.days.include?(ot.day) | |
binding.pry | |
if !b3 |