私はrvmを使い始めてから苦労しました。私はすべてのrvm/textmateをセットアップして、最新のバンドルを持っていましたが、まだテキストメイトからRspecテストを実行できません。TextMateとrvmでRspecバンドルが壊れています
は私が
github.com/rspec/rspec-tmbundle.git
から最新のバンドルを持っており、それがシステムにルビー1.8.6RSpecの宝石のバージョン
宝石のリストを使用している
~/Library/Application\ Support/TextMate/Bundles/ RSpec.tmbundle
RVMのデフォルトでインストールされています - -local | RSpecの(2.2.0) RSpecのコア(2.2.1、2.0.1) RSpecの-期待(2.2.0、2.0.1) RSpecの-モック(2.2.0(0.2.0)grepの仕様 blue_light_special 、2.0.1) RSpecのレール(2.0.1、1.3.2)
TextMateの
TM_RUBY = /ユーザ/ jspooner/.rvm/binに/ RVM-自動ルビー
エラー:rspec/core(LoadError)
/ユーザー/ jspooner /ライブラリ/アプリケーションサポート/ TextMate /バンドル/ RSpec.tmbundle /サポート/ lib/rspec/mate.rb:29:
require': no such file to load -- rspec/core (LoadError) from /Users/jspooner/Library/Application Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/rspec/mate.rb:29 from /tmp/textmate-command-8073.rb:2:in
で 'from /tmp/textmate-command-8073.rb:2
完全に機能します!お見事。 – Evolve