我试图将 rails 应用程序从 2.3.8 迁移到 3.2。我发现适合迁移任务的 rails_upgrade 插件。但是有些东西阻止了我,我对此一无所知。
还尝试使用 ssh 克隆相同的插件,但未建立插件的 rake 任务。
ruby script/plugin install git://github.com/rails/rails_upgrade.git "git://github.com/rails/rails_upgrade.git"
/home/chitrank/.rvm/rubies/ruby-1.8.7-p374/lib/ruby/1.8/open-uri.rb:35:in `initialize': No such file or directory - git://github.com/rails/rails_upgrade.git (Errno::ENOENT)
from /home/chitrank/.rvm/rubies/ruby-1.8.7-p374/lib/ruby/1.8/open-uri.rb:35:in `open_uri_original_open'
from /home/chitrank/.rvm/rubies/ruby-1.8.7-p374/lib/ruby/1.8/open-uri.rb:35:in `open'
from ./script/../config/../vendor/rails/railties/lib/commands/plugin.rb:863:in `fetch_dir'
from ./script/../config/../vendor/rails/railties/lib/commands/plugin.rb:857:in `fetch'
from ./script/../config/../vendor/rails/railties/lib/commands/plugin.rb:856:in `each'
from ./script/../config/../vendor/rails/railties/lib/commands/plugin.rb:856:in `fetch'
from ./script/../config/../vendor/rails/railties/lib/commands/plugin.rb:219:in `install_using_http'
from ./script/../config/../vendor/rails/railties/lib/commands/plugin.rb:169:in `send'
from ./script/../config/../vendor/rails/railties/lib/commands/plugin.rb:169:in `install'
from ./script/../config/../vendor/rails/railties/lib/commands/plugin.rb:734:in `parse!'
from ./script/../config/../vendor/rails/railties/lib/commands/plugin.rb:732:in `each'
from ./script/../config/../vendor/rails/railties/lib/commands/plugin.rb:732:in `parse!'
from ./script/../config/../vendor/rails/railties/lib/commands/plugin.rb:447:in `parse!'
from ./script/../config/../vendor/rails/railties/lib/commands/plugin.rb:463:in `parse!'
from ./script/../config/../vendor/rails/railties/lib/commands/plugin.rb:871
from script/plugin:3:in `require'
from script/plugin:3
谁能帮我解决这个问题?