Skip to content

Commit

Permalink
fixing gem require because backbone-rails gem is taken
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Fitzgerald committed Jun 19, 2011
1 parent b1ab5a1 commit 5303bda
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion backbone-rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# project in your rails apps through git.
Gem::Specification.new do |s|
s.name = "rails-backbone"
s.version = "0.1.2"
s.version = "0.2.0"
s.authors = ["Ryan Fitzgerald", "Code Brew Studios"]
s.email = ["ryan@codebrewstudios.com"]
s.homepage = "http://github.com/codebrew/backbone-rails"
Expand Down
6 changes: 0 additions & 6 deletions lib/backbone-rails.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,5 @@

module BackboneRails
class Engine < Rails::Engine
# config.autoload_paths << File.expand_path("../backbone-rails", __FILE__)

config.after_initialize do |app|
# app.assets.register_engine '.jst', Tilt::UnderscoreTemplate
end
end

end
2 changes: 2 additions & 0 deletions lib/rails-backbone.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# hack because backbone-rails gem was taken
require File.expand_path("../backbone-rails", __FILE__)
2 changes: 1 addition & 1 deletion test/dummy/config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
require 'rails/all'

Bundler.require
require "backbone-rails"
require "rails-backbone"

module Dummy
class Application < Rails::Application
Expand Down

0 comments on commit 5303bda

Please sign in to comment.