开发者

Error using CMD-R on a Cucumber feature in TextMate

Running a Cucumber feature from inside TextMate is producing an error. Works perfectly from the terminal

error is:

Running: /usr/local/bin/ruby /Users/craig/Projects/lahaina/script/cucumber /Users/craig/Projects/lahaina/features/top_level_pages.feature --format=html Missing these required gems: cucumber-rails >= 0.3.2 database_cleaner >= 0.5.0 w开发者_StackOverflow社区ebrat >= 0.7.0 You're running: ruby 1.8.7.174 at /usr/local/bin/ruby rubygems 1.3.7 at /Users/craig/.gem/ruby/1.8, /usr/local/lib/ruby/gems/1.8 Run rake gems:install to install the missing gems. Using the default profile... false

If I check my gems with 'gem query' i can clearly see that the mentioned gems are installed:

cucumber-rails (0.3.2) database-cleaner (0.5.2) webrat (0.7.1)

running 'rake gems:install' as suggested has no effect


Turned out to be a combination of issues:

Removed all the gems etc. back to almost a bare install and reinstalled ruby, rails, cucumber and rspec and it all started working again.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜