This project is archived and is in readonly mode.
rake rails:freeze:edge on windows
Reported by August Lilleaas | April 14th, 2008 @ 08:40 PM
This patch uses the system's 'unzip' command if available, or the rubyzip gem if the system does not have a 'unzip' command (e.g. on windows). If neither is available, it'll ask the user to install the rubyzip gem and exit.
It's rather ugly, though, feel free to improve.
Comments and changes to this ticket
-

August Lilleaas April 14th, 2008 @ 08:45 PM
Forgot to mention - this will fail now, as the rails_edge.zip on dev.rubyonrails.org is just an empty file. I tested this with a working zip, the parts except from the invalid zip seems to be working.
-

August Lilleaas April 16th, 2008 @ 12:56 PM
- Title changed from rake rails:freeze:edge on windows to [PATCH] rake rails:freeze:edge on windows
Should I bump? ; )
-

John Barnette April 22nd, 2008 @ 08:25 AM
- Title changed from [PATCH] rake rails:freeze:edge on windows to rake rails:freeze:edge on windows
-

Michael Koziarski April 23rd, 2008 @ 09:31 AM
We're looking into the zip file, it appears to be cron jobs stomping on one another or something.
As for this, perhaps we could extract this all into a class in railties somewhere so the rake task isn't full of this code? Rails::Unzipper or some such?
Look in the 1.2.x branch for a less 'horrible' way to detect whether or not we have a command installed. We used it previously for detecting svn.
-

DHH April 29th, 2008 @ 11:21 PM
- State changed from new to incomplete
Change ticket status to open when fixed.
-

Repository March 2nd, 2009 @ 05:47 AM
- Tag set to patch, windows
(from [38136f86dc5504bde94dc7399d4a854023d7481f]) DDL transactions and savepoints for sqlite
Sqlite has had DDL transactions since 2.0.0[1] and savepoints since 3.6.8[2]. This patch updates the connection_adapters.
[1] http://tinyurl.com/sqlite-v2-0-0 [2] http://tinyurl.com/sqlite-v3-6-8
Signed-off-by: Michael Koziarski michael@koziarski.com [#2080 state:committed] http://github.com/rails/rails/co...
-

Repository March 2nd, 2009 @ 05:47 AM
(from [38136f86dc5504bde94dc7399d4a854023d7481f]) DDL transactions and savepoints for sqlite
Sqlite has had DDL transactions since 2.0.0[1] and savepoints since 3.6.8[2]. This patch updates the connection_adapters.
[1] http://tinyurl.com/sqlite-v2-0-0 [2] http://tinyurl.com/sqlite-v3-6-8
Signed-off-by: Michael Koziarski michael@koziarski.com [#2080 state:committed] http://github.com/rails/rails/co...
-

Rohit Arondekar June 17th, 2010 @ 07:33 AM
- State changed from incomplete to committed
Changing state to committed as the patch was committed.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Referenced by
-
53
Edge-zip has zero length
Sorry, this is a duplicate of #2. I didn't found the sea...
-
324
Gem dependencies inconsistently load rails/init.rb
#2, Plain gem dependency
-
3029
[PATCH] Non JavaScript dependent record deletion solution
FYI, Rails Magazine #2 (http://railsmagazine.com/issues/2...
-
4437
XML Mini Parser NoMethodError :getc when application running through Phusion Passenger
Rails Version: 3.0.0 beta 3
Scenario: ActiveResource from...
-
4437
XML Mini Parser NoMethodError :getc when application running through Phusion Passenger
Rails Version: 3.0.0 beta 3
Scenario: ActiveResource from...
-
3579
ActiveRecord not setting/checking MySQL session variable time_zone
A good solution here is to give developers an expansion p...
-
1788
Telling ActiveRecord::ConnectionAdapters::SchemaStatements#create_table to not create a primary key isn't effective if you manually create an id column
That leads to Problem #2:
-
1825
Using Fixtures docs in API RDoc needs work
Recommend moving method #3 to be the primary method, and ...
-
1840
Scaffolding Cleanup
Uh ... why the #2?
-
3687
nested attributes with belongs_to only supports one use case
Not sure if there's a bug here - case 3 in your example c...
-
4037
ActionView::TemplateError crashes Ruby 1.9.1 on Windows
ruby -d script\server .. .. [2010-02-22 18:39:39] INFO WE...
-
2488
Ability to set the filename for inline MIME parts
patching file test/mail_service_test.rb Hunk #1 succeeded...
-
5307
Module table_name_prefix not respected for using set_table_name
Including a patch to fix #2. set_table_name now accepts :...
-
4361
has_many through self join does not include table alias, so fails
patching file
activerecord/test/cases/associations/has_ma...
-
5578
AbstractController#asset_path overrides routes helper
I might look into making a patch for solution #2 - though...
-
6450
Arel generates invalid SQL when using DISTINCT ON in PostgreSQL
I'm for #2 in a short term, because right now it doesn't
...
-
6246
Time.zone is broken in most every version of rails including 3.x
As Szymon pointed out, #2 is not an issue either as AR be...
-
6450
Arel generates invalid SQL when using DISTINCT ON in PostgreSQL
Personally I lean towards #2 since there is less magic in...