Advertisement
Guest User

Untitled

a guest
Jan 6th, 2013
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  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'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement