如何安装prawn plugin.now我正在使用此命令。“rails plugin install https://github.com/prior/prawnto.git”。它在控制台中抛出以下错误。
Aptana Studio Workspace1/rails3/config/application.rb:1:in `<top (required)>': uninitialized constant Object::S (NameError)
from /usr/share/ruby-rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.0/lib/rails/commands.rb:15:in `require'
from /usr/share/ruby-rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.0/lib/rails/commands.rb:15:in `<top (required)>'
from script/rails:10:in `require'
from script/rails:10:in `<main>'
答案 0 :(得分:1)
认为你的问题可能是“3年前创作的”。 我建议使用gem http://rubygems.org/gems/prawn,它更新,更受支持。把它放在你的gemfile中
gem 'prawn'