1
所以问题的症结,是运行问题与耙切换到RVM后和轨道3
rake -T
WARNING: Global access to Rake DSL methods is deprecated. Please Include
... Rake::DSL into classes and modules which use the Rake DSL methods.
WARNING: DSL method SeenicServer::Application#task called at /home/grantismo/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.7/lib/rails/application.rb:215:in `initialize_tasks'
rake aborted!
no such file to load -- parse_tree
当所以,很显然我没有,我得到以下错误,创业板安装分析树。 运行gem list -d ParseTree
生产:
*** LOCAL GEMS ***
ParseTree (3.0.7)
Author: Ryan Davis
Rubyforge: http://rubyforge.org/projects/parsetree
Homepage: http://rubyforge.org/projects/parsetree/
Installed at: /home/grantismo/.rvm/gems/ruby-1.9.2-p180
ParseTree is a C extension (using RubyInline) that extracts the
parse tree for an entire class or a specific method and returns it
as a s-expression (aka sexp) using ruby's arrays, strings, symbols,
and integers
它看起来像我使用的是正确的耙
which rake
/home/grantismo/.rvm/gems/ruby-1.9.2-p180/bin/rake
大多数我读过的解释说,运行sudo gem install ParseTree
,但我不明白为什么我如果我通过rvm管理宝石,应该使用sudo进行安装。
任何想法?我是unix noob,所以它可能很简单。谢谢你的时间。
谢谢,我完全忘了捆绑。 – Grantismo 2011-06-06 00:40:42