Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/search/2.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 如何从我的档案中的:git获取对虾?_Ruby On Rails_Bundler_Prawn_Gemspecs - Fatal编程技术网

Ruby on rails 如何从我的档案中的:git获取对虾?

Ruby on rails 如何从我的档案中的:git获取对虾?,ruby-on-rails,bundler,prawn,gemspecs,Ruby On Rails,Bundler,Prawn,Gemspecs,这是Rails 2.3.8,我在Mac上使用Bundler 1.0.21和RubyGems 1.6.2 当我这样做时: bundle install 我会见了: "PRAWN_VERSION = \"1.0.0.rc1\"\n\nGem::Specification.new do |spec|\n spec.name = \"prawn\"\n spec.version = PRAWN_VERSION\n spec.platform = Gem::Platform::RUBY\n sp

这是Rails 2.3.8,我在Mac上使用Bundler 1.0.21和RubyGems 1.6.2

当我这样做时:

bundle install
我会见了:

"PRAWN_VERSION = \"1.0.0.rc1\"\n\nGem::Specification.new do |spec|\n  spec.name = \"prawn\"\n  spec.version = PRAWN_VERSION\n  spec.platform = Gem::Platform::RUBY\n  spec.summary = \"A fast and nimble PDF generator for Ruby\"\n  spec.files =  Dir.glob(\"{examples,lib,spec,data,manual}/**/**/*\") +\n    [\"Rakefile\", \"prawn.gemspec\", \"COPYING\", \"LICENSE\", \"GPLv2\", \"GPLv3\",\n     \"Gemfile\"]\n  spec.require_path = \"lib\"\n  spec.required_ruby_version = '>= 1.8.7'\n  spec.required_rubygems_version = \">= 1.3.6\"\n\n  spec.test_files = Dir[ \"spec/*_spec.rb\" ]\n  spec.extra_rdoc_files = %w{README.md LICENSE COPYING GPLv2 GPLv3}\n  spec.rdoc_options << '--title' << 'Prawn Documentation' <<\n                       '--main'  << 'README.md' << '-q'\n  spec.authors = [\"Gregory Brown\",\"Brad Ediger\",\"Daniel Nelson\",\"Jonathan Greenberg\",\"James Healy\"]\n  spec.email = [\"gregory.t.brown@gmail.com\",\"brad@bradediger.com\",\"dnelson@bluejade.com\",\"greenberg@entryway.net\",\"jimmy@deefa.com\"]\n  spec.rubyforge_project = \"prawn\"\n  spec.add_dependency('pdf-reader', '>=0.9.0')\n  spec.add_dependency('ttfunk', '~>1.0.3')\n  spec.add_development_dependency('pdf-inspector', '~> 1.0.1')\n  spec.homepage = \"http://prawn.majesticseacreature.com\"\n  spec.description = <<END_DESC\n  Prawn is a fast, tiny, and nimble PDF generator for Ruby\nEND_DESC\n  spec.post_install_message = <<END_DESC\n\n  ********************************************\n\n\n  A lot has changed recently in Prawn.\n\n  Please read the changelog for details:\n\n  https://github.com/sandal/prawn/wiki/CHANGELOG\n\n\n  ********************************************\n\nEND_DESC\nend\n"
syntax error on line 35, col 39: `  Please read the changelog for details:'

gemspec有一些地方不能正常工作。请帮助,我已经有这个问题超过2个月了。

我使用的是Ruby-1.8.7-p334。当我转到Ruby-1.8.7-p352时,这个问题就消失了