This file contains hidden or 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
| ree-1.8.7-2010.02 > class Foo < ActiveRecord::Base | |
| ree-1.8.7-2010.02 ?> end | |
| => nil | |
| ree-1.8.7-2010.02 > Foo | |
| => Foo(Table doesn't exist) | |
| ree-1.8.7-2010.02 > Foo.kind_of? ActiveRecord::Base | |
| => false |
This file contains hidden or 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 value=(new_value=[]) | |
| if new_value.is_a? String | |
| new_value = new_value.split(delimiter) | |
| end | |
| raise ArgumentError("argument to #{current_method} must be an Array").new unless new_value.is_a? Array | |
| @value = new_value | |
| end |
This file contains hidden or 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
| /home/bweinraub/.rvm/gems/ruby-1.8.7-p302@adb-demo/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:440:in `load_missing_constant': uninitialized constant DashboardWidgetBuilder::Base (NameError) | |
| from /home/bweinraub/.rvm/gems/ruby-1.8.7-p302@adb-demo/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:80:in `const_missing' | |
| from /home/bweinraub/.rvm/gems/ruby-1.8.7-p302@adb-demo/gems/dashboard-widget-builder-0.2.0/lib/dashboard-widget-builder/google_bar_chart.rb:14 | |
| from /home/bweinraub/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' | |
| from /home/bweinraub/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' | |
| from /home/bweinraub/.rvm/gems/ruby-1.8.7-p302@adb-demo/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:156:in `require' | |
| from /home/bweinraub/.rvm/gems/ruby-1.8.7-p302@adb-demo/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:521:in `new_constants_in' | |
| from /home |
This file contains hidden or 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
| 1): ./ruby-1.8.7-p302@seer_sample | |
| 2): ./ruby-1.8.7-p302@meteor_catalog | |
| 3): ./ruby-1.8.7-p302@medtronic | |
| 4): ./ruby-1.8.7-p302@ziya-galeria | |
| 5): ./ruby-1.8.7-p302@global | |
| 6): ./ruby-1.8.7-p302@alexion | |
| 1 | |
| Using /home/bweinraub/.rvm/gems/ruby-1.8.7-p302 with gemset seer_sample |
This file contains hidden or 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
| rvmuse () { | |
| gemsets=$(grep '@' < <(cd ~/.rvm/gems; find . -maxdepth 1 -type d)) | |
| set $gemsets | |
| x=0 | |
| while [ $# -gt 0 ];do | |
| ((x=$x+1)) | |
| echo $x"): "$1 >&2 | |
| shift | |
| done | |
| read line |
NewerOlder