diff options
Diffstat (limited to 'railties')
-rw-r--r-- | railties/Rakefile | 9 | ||||
-rwxr-xr-x | railties/bin/railsgen | 18 |
2 files changed, 0 insertions, 27 deletions
diff --git a/railties/Rakefile b/railties/Rakefile index 830cdd6a80..81dddb22bc 100644 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -70,15 +70,6 @@ end # Update spinoffs ------------------------------------------------------------------- -desc "Updates railties to the latest version of the javascript spinoffs" -task :update_js do - for js in %w( prototype controls dragdrop effects ) - rm "lib/generators/rails/app/templates/public/javascripts/#{js}.js" - cp "./../actionpack/lib/action_view/helpers/javascripts/#{js}.js", - "lib/generators/rails/app/templates/public/javascripts" - end -end - desc "Updates application README to the latest version Railties README" task :update_readme do readme = "lib/generators/rails/app/templates/README" diff --git a/railties/bin/railsgen b/railties/bin/railsgen deleted file mode 100755 index 809e75acb5..0000000000 --- a/railties/bin/railsgen +++ /dev/null @@ -1,18 +0,0 @@ -require File.dirname(__FILE__) + '/../lib/ruby_version_check' -Signal.trap("INT") { puts; exit } - -require File.dirname(__FILE__) + '/../lib/rails/version' -if %w(--version -v).include? ARGV.first - puts "Rails #{Rails::VERSION::STRING}" - exit(0) -end - -require File.dirname(__FILE__) + '/../lib/generators' - -if ARGV.size == 0 - Rails::Generators.help - exit -end - -name = ARGV.shift -Rails::Generators.invoke name, ARGV, :invoke |