Turns out version.rb is important if the main lib needs Rails

This commit is contained in:
Andre Arko 2010-08-15 21:05:03 -07:00
parent f1ae53d4ff
commit 27345e82d8
3 changed files with 8 additions and 3 deletions

View File

@ -1,7 +1,9 @@
# -*- encoding: utf-8 -*-
require File.expand_path("../lib/haml-rails/version", __FILE__)
Gem::Specification.new do |s|
s.name = "haml-rails"
s.version = "0.1"
s.version = Haml::Rails::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["André Arko"]
s.email = ["andre@arko.net"]

View File

@ -1,7 +1,5 @@
module Haml
module Rails
VERSION = "0.1"
class Railtie < ::Rails::Railtie
config.generators.template_engine :haml
end

View File

@ -0,0 +1,5 @@
module Haml
module Rails
VERSION = "0.1"
end
end