Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails 无法在Rails中安装插件_Ruby On Rails_Ruby_Ruby On Rails Plugins - Fatal编程技术网

Ruby on rails 无法在Rails中安装插件

Ruby on rails 无法在Rails中安装插件,ruby-on-rails,ruby,ruby-on-rails-plugins,Ruby On Rails,Ruby,Ruby On Rails Plugins,我正在运行32位的Windows7。我刚刚安装了Ruby 1.9.2和Rails 3.0.1。我设置了rails示例应用程序,一切似乎都很正常。我试着从github安装restful\u认证插件,这真是一场噩梦。我正在执行以下命令: rails plugin install -force git://github.com/technoweenie/restful-authentication.git …我得到以下错误: Cannot install using checkout because

我正在运行32位的Windows7。我刚刚安装了Ruby 1.9.2和Rails 3.0.1。我设置了rails示例应用程序,一切似乎都很正常。我试着从github安装
restful\u认证
插件,这真是一场噩梦。我正在执行以下命令:

rails plugin install -force git://github.com/technoweenie/restful-authentication.git
…我得到以下错误:

Cannot install using checkout because this project is not under subversion.

我该怎么做?我已经安装了SVN和Git命令行客户端,它们在我的路径中

是的,您不应该将此插件用于Rails 3。使用设计

  • 为Rails开发购买linux或mac
  • 根据需要,您只需将项目克隆到pluginsdir

    git克隆git://github.com/technoweenie/restful-authentication.git restful_认证

  • 正如其他人所建议的那样,这是一个更好的选择


  • restful身份验证不是Rails 3.0.1的一个好选择,它甚至不兼容。