Don't add "require 'rubygems'" to the created init.rb.
This commit is contained in:
parent
2dc6832c42
commit
7577212331
|
@ -5,14 +5,18 @@
|
|||
|
||||
## 2.2.4
|
||||
|
||||
Allow `end` to be used for silent script when it's followed by code.
|
||||
For example:
|
||||
* Allow `end` to be used for silent script when it's followed by code.
|
||||
For example:
|
||||
|
||||
- form_for do
|
||||
...
|
||||
- end if @show_form
|
||||
- form_for do
|
||||
...
|
||||
- end if @show_form
|
||||
|
||||
This isn't very good style, but we're supporting it for consistency's sake.
|
||||
This isn't very good style, but we're supporting it for consistency's sake.
|
||||
|
||||
* Don't add `require 'rubygems'` to the top of init.rb when installed
|
||||
via `haml --rails`. This isn't necessary, and actually gets
|
||||
clobbered as soon as haml/template is loaded.
|
||||
|
||||
## [2.2.3](http://github.com/nex3/haml/commit/2.2.3)
|
||||
|
||||
|
|
|
@ -3,6 +3,12 @@
|
|||
* Table of contents
|
||||
{:toc}
|
||||
|
||||
## 2.2.4
|
||||
|
||||
Don't add `require 'rubygems'` to the top of init.rb when installed
|
||||
via `sass --rails`. This isn't necessary, and actually gets
|
||||
clobbered as soon as haml/template is loaded.
|
||||
|
||||
## [2.2.3](http://github.com/nex3/haml/commit/2.2.3)
|
||||
|
||||
Sass 2.2.3 prints line numbers for warnings about selectors
|
||||
|
|
|
@ -164,7 +164,6 @@ END
|
|||
end
|
||||
|
||||
File.open(File.join(dir, 'init.rb'), 'w') do |file|
|
||||
file.puts "require 'rubygems'"
|
||||
file << File.read(File.dirname(__FILE__) + "/../../init.rb")
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue