Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jan 6th, 2013  |  syntax: None  |  size: 0.39 KB  |  hits: 21  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Gem::Specification.new do |s|
  2.   s.name        = 'topic'
  3.   s.version     = '1.0.0'
  4.   s.date        = '2012-12-30'
  5.   s.files   = ["lib/models/topic.rb"]
  6. end
  7.        
  8. gem 'topic', :path => '.'
  9.        
  10. uninitialized constant ApplicationController::Topic
  11.        
  12. gem 'topic', :path => './topic'
  13.        
  14. # in topic/lib/topic.rb
  15. module Topic
  16. end
  17.  
  18. #require other parts of the gem
  19. require 'topic/foo'
  20. require 'topic/bar'