My Recent Pastes (45 and counting)

Pastes by rubydiamond (45 and counting)

Pages:

Below are the 15 most recent pasties by rubydiamond.

January 05, 2008
5:49AM EDT
by rubydiamond

 bin # gem list --local
/usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- sources (LoadError)
        from /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from /usr/lib64/ruby/site_ruby/1.8/rubygems/source_info_cache.rb:6
        from /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'

January 05, 2008
5:23AM EDT
by rubydiamond

anilwadghule etc # gem update --system
Updating RubyGems...
Bulk updating Gem source index for: http://gems.rubyforge.org
Attempting remote update of rubygems-update
Successfully installed rubygems-update-1.0.1

January 04, 2008
2:20PM EDT
by rubydiamond

anil-wadghules-computer:~ anilwadghule$ ssh
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!

January 01, 2008
2:55AM EDT
by rubydiamond

To create a new A record for this zone file, please enter the Host Name, "Points To" IP Address, and TTL in the fields below; then click "Continue."

An A record . short for address record . is a record within a zone file that maps a domain name to an IP address. Thus, you can use an A record to indicate the IP address you want your domain or subdomain to point to. Also referred to as a host or host name. For example, if you want your domain "domainnamegoeshere.com" to point to your home computer (whose IP address is, for example, 172.0.0.1), the A record would list "domainnamegoeshere.com", or "@" as the host and "172.0.0.1" as the "Points To" IP address. Entering "@" will automatically insert your domain name as the host name for the A Record. If the A Record is for the domain "www.domainnamegoeshere.com", the host name should be entered as "www".

Do not enter "www.domainnamegoeshere.com" as the host name for an A Record.

December 31, 2007
7:21AM EDT
by rubydiamond

jQuery.ajaxSetup({ 
  'beforeSend': function(xhr) {xhr.setRequestHeader("Accept", "text/javascript")} 
})
jQuery(document).ready(function($) {

December 31, 2007
6:52AM EDT
by rubydiamond

jQuery.ajaxSetup({ 
  'beforeSend': function(xhr) {xhr.setRequestHeader("Accept", "text/javascript")} 
})
jQuery(document).ready(function($) {
  $('div.main a').livequery('click', function() {

December 29, 2007
5:02AM EDT
by rubydiamond

  for method in Internet.methods(false)
    define_method(method) { self.instance_eval("Internet.#{method}") }
  end

  for method in Name.methods(false)

December 29, 2007
3:48AM EDT
by rubydiamond

for method in Internet.methods(false)
  define_method(method) { @#{method} = Internet.method } 
end

December 25, 2007
9:39AM EDT
by rubydiamond

$ svn status | grep ? | awk '{print $2}' | xargs svn add # it adds all the files which are unknown to svn likewise we could remove

December 25, 2007
8:06AM EDT
by rubydiamond

anil-wadghules-computer:~ anilwadghule$ sudo port install subversion +tools
--->  Fetching db44
--->  Verifying checksum(s) for db44
--->  Extracting db44
--->  Applying patches to db44

December 25, 2007
7:11AM EDT
by rubydiamond

anil-wadghules-computer:~ anilwadghule$ git-svn --version
Can't locate SVN/Core.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.6/darwin-thread-multi-2level /usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1 .) at /usr/local/bin/git-svn line 24.
anil-wadghules-computer:~ anilwadghule$ 

December 25, 2007
4:26AM EDT
by rubydiamond

anil-wadghules-computer:~ anilwadghule$ sudo port install git-core +svn
--->  Building db44 with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db44/work/db-4.4.20/build_unix" && make all " returned error 2
Command output: /bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -c -O2  -I../dist/.. -I/opt/local/include ../dist/../db_dump185/db_dump185.c
 /usr/bin/gcc-4.0 -c -O2 -I../dist/.. -I/opt/local/include ../dist/../db_dump185/db_dump185.c  -fno-common -DPIC -o .libs/db_dump185.o

December 22, 2007
3:00AM EDT
by rubydiamond

/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/associations/has_many_through_association.rb:    class HasManyThroughAssociation < AssociationProxy #:nodoc:
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/associations.rb:  class HasManyThroughAssociationNotFoundError < ActiveRecordError #:nodoc:
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/associations.rb:  class HasManyThroughAssociationPolymorphicError < ActiveRecordError #:nodoc:
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/associations.rb:  class HasManyThroughAssociationPointlessSourceTypeError < ActiveRecordError #:nodoc:
/usr/lib/ruby/gems/1.8/gems/select_with_include-0.0.1/lib/select_with_include/has_many_through_association.rb:      class HasManyThroughAssociation

December 22, 2007
2:47AM EDT
by rubydiamond

** Invoke utils:send_emails (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
superclass mismatch for class HasManyThroughAssociation

December 20, 2007
2:02AM EDT
by rubydiamond

require 'ruby-prof'

# Profile the code
RubyProf.start
  1000.times do

Previous page