2

我正在尝试在 RoR 3.2.8、Ruby 1.9.3、OS Linux Mint 13 Mate 上为 Jasmine 初始化一个项目。希望得到您的帮助。

rails g jasmine:install

之后我得到一个错误:

/home/shults/.rvm/gems/ruby-1.9.3-p286/gems/jasmine-rails-0.2.2/config/initializers/sprockets.rb:6:in `<top (required)>': uninitialized constant Jasmine::Config (NameError)
from /home/shults/.rvm/gems/ruby-1.9.3-p286/gems/railties-3.2.8/lib/rails/engine.rb:588:in `block (2 levels) in <class:Engine>'
from /home/shults/.rvm/gems/ruby-1.9.3-p286/gems/railties-3.2.8/lib/rails/engine.rb:587:in `each'
from /home/shults/.rvm/gems/ruby-1.9.3-p286/gems/railties-3.2.8/lib/rails/engine.rb:587:in `block in <class:Engine>'
from /home/shults/.rvm/gems/ruby-1.9.3-p286/gems/railties-3.2.8/lib/rails/initializable.rb:30:in `instance_exec'
from /home/shults/.rvm/gems/ruby-1.9.3-p286/gems/railties-3.2.8/lib/rails/initializable.rb:30:in `run'
from /home/shults/.rvm/gems/ruby-1.9.3-p286/gems/railties-3.2.8/lib/rails/initializable.rb:55:in `block in run_initializers'
from /home/shults/.rvm/gems/ruby-1.9.3-p286/gems/railties-3.2.8/lib/rails/initializable.rb:54:in `each'
from /home/shults/.rvm/gems/ruby-1.9.3-p286/gems/railties-3.2.8/lib/rails/initializable.rb:54:in `run_initializers'
from /home/shults/.rvm/gems/ruby-1.9.3-p286/gems/railties-3.2.8/lib/rails/application.rb:136:in `initialize!'
from /home/shults/.rvm/gems/ruby-1.9.3-p286/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:in `method_missing'
from /home/shults/rails/developers/config/environment.rb:5:in `<top (required)>'
from /home/shults/.rvm/gems/ruby-1.9.3-p286/gems/railties-3.2.8/lib/rails/application.rb:103:in `require_environment!'
from /home/shults/.rvm/gems/ruby-1.9.3-p286/gems/railties-3.2.8/lib/rails/commands.rb:25:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
4

0 回答 0