Skip to content

Commit

Permalink
fixing load path
Browse files Browse the repository at this point in the history
  • Loading branch information
pboling committed Sep 13, 2009
1 parent 7480af5 commit 71ea09d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Added current_domain method
* Added controller & view usage to readme
* Added more tests
* Fixing load path

== 2009-08-26

Expand Down
2 changes: 1 addition & 1 deletion VERSION.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
:minor: 5
:patch: 0
:patch: 1
:major: 0
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# I use this to make life easier when installing and testing from source:
rm -rf subdomain-fu-*.gem && gem build subdomain-fu.gemspec && sudo gem uninstall subdomain-fu && sudo gem install subdomain-fu-0.5.0.gem --no-ri --no-rdoc
rm -rf subdomain-fu-*.gem && gem build subdomain-fu.gemspec && sudo gem uninstall subdomain-fu && sudo gem install subdomain-fu-0.5.1.gem --no-ri --no-rdoc
4 changes: 1 addition & 3 deletions rails/init.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# Add this path to ruby load path
$:.unshift "#{File.dirname(__FILE__)}/../lib"

#Allow whatever Ruby Package tool is being used ot manage load paths. gem auto adds the gem's lib dir to load path.
require 'subdomain-fu' unless defined?(SubdomainFu)

ActionController::Base.send :include, SubdomainFu::Controller
Expand Down
3 changes: 2 additions & 1 deletion subdomain-fu.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |s|
s.name = %q{subdomain-fu}
s.version = "0.5.0"
s.version = "0.5.1"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Michael Bleigh"]
Expand All @@ -21,6 +21,7 @@ Gem::Specification.new do |s|
"lib/subdomain-fu.rb",
"lib/subdomain_fu/routing_extensions.rb",
"lib/subdomain_fu/url_rewriter.rb",
"init.rb",
"rails/init.rb",
"spec/spec.opts",
"spec/spec_helper.rb",
Expand Down

0 comments on commit 71ea09d

Please sign in to comment.