开发者

Is it possible to load the rails environment into Textmate?

I spend alot of time in rails console, but when I have something to work out that doesn't involve rails it's even easier to create tests at the bottom of the .rb file, and just command-R to run it in Textmate.

It would be amazing and really speed up my workflow if I could do the same with classes that depend on my rails environment being loaded. Is there an include I could temporarily put in a f开发者_JS百科ile that would load what I need?


I have done this both with rails 2 and 3 by requiring "./config/environment.rb".

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜