We all love TextMate, by all means. It is the best friend for Ruby Developers.
After our project upgraded to Rails 2.0+ at LearnHub.com, I noticed that there are some very powerful Ruby Bundle Commands just stopped working. Especially these two:
This is an awesome lovely command in Ruby Bundle, absolutely my favorite! It allows you to run a single unit test out of a whole suite of tests by simply positioning your cursor into the test you’d like to run.
This is another cool command too. It shows a popup window which list all the available rake tasks you have and it will show a pretty HTML result window after you choose from the list.
This thing really bothers me a lot. I could be fine for the second one, as I do have terminal windows open all the time. But I really really miss the first one, as our test files get longer very soon.
I have to make it work!
After couple of hours trying today, I’ve pretty much got the right reason and the simple solution, for now.
The reason is that TextMate includes its own version of builder.rb, which is conflicting with Rails 2.0′ version of builder.rb.
The simple solution:
- Open TextMate Bundlers Editor
- Find Ruby -> Run Focused Unit Test
- Search for RUBYLIB=”$TM_BUNDLE_SUPPORT/RakeMate${RUBYLIB:+:$RUBYLIB}”
- Change to RUBYLIB=”$TM_BUNDLE_SUPPORT/RakeMate”
- Reload Bundlers
That’s it! And apply the same changing method to other commands such as “Run Rake Task” as well.
And just want to point out the alternate solution is:
mv /Applications/TextMate.app/Contents/SharedSupport/Support/lib/Builder.rb /Applications/TextMate.app/Contents/SharedSupport/Support/lib/Builder.rb.bak
It’s up to you to choose one of them.
Hope Google can pickup this post quickly so we can save somebody else sometime too.
Enjoy!
-
OpenKM is an multiplatform application for document management based on open technology (JBoss + GWT + Jackrabbit). Thanks to its elegant and intuitive interface, OpenKM transforms complex operations into easy tasks.
-
The difference between local and global markets is like the difference between the fishbowl and the ocean. To understand and engage successfully requires a shift in perspective.
-
My Git Work Flow
-
BSP博客服务商大全(2008版)
Toronto, May 10, Sunny, 19°C. A beautiful day after the long long winter.
There is a ZipCar parking spot in front of our building, I’ve been thinking to try them for a while. Finally, I’ve got my zipcard this Monday. So I decided to spend some time with this hot red mini cooper today. It was absolutely an exciting experience and I’ve learned three things:
- ZipCar is a great solution for occasional driving needs. Reliable and convenient access plus a reasonable price could make our life a little easier and more fun. You just reserve it early, drive it safe and return it on time. After that, you could just forget it until you need it again, so you don’t have to deal with those vampire insurance companies here in Ontario.
- Mini Cooper is an awesome car. It is beautiful, smart, powerful and big enough. The one I was driving is pretty much the same as the one in the picture. It has some very nice features such as sunroof. Driving mini is a really enjoyable and comfortable experience. I love this car and I am planing to get one when I really need. Well, maybe. If we could have ZENN electric car here?
- Time is money! (If you return ZipCar late, penalty starts from $50.) Your time is money, every second counts. Even some moments nobody pays you or you don’t pay anybody, they still are. So, if you don’t use it, you lose it, for even.
Wanna give ZipCar a try too?
-
Interview with the owner of MunchAway: an online food ordering application build with Ruby On Rails.
-
Fireworks.js is a bit of Javascript that creates starburst-type explosions in a web document; in short, it’s a fireworks effect someone could theoretically use on their site.
-
Finest collection of resources for Ruby on Rails developers
-
Rails Machine provides software, services and support for commercial Ruby on Rails application deployments.
-
Freeway is the most advanced Open Source eCommerce platform and Freeway offers selling methods only previously available in enterprise class or niche bespoke systems.
-
Collection of WordPress Resources
-
Improve your web site performance – tips & tricks to get a good YSlow rating
-
inputEx is a javascript framework to build fields and forms.
-
JSGallery is a very nice AJAX image gallery built with Mootools.
Look & effects of the script is configurable. It supports browsing with keyboard between images and also pages.
-
One pixel notched corners as used by Google Analytics
-
A little wiki for iPhone!
-
Distributed programming with Jabber and EventMachine
-
Ruby/EventMachine is a fast, simple event-processing library for Ruby programs. It lets you write network clients and servers without handling sockets- all you do is send and receive data. Single-threaded socket engine- scalable and FAST!
-
Not For Tourists™
-
easyb is a behavior driven development framework for the Java platform. By using a specification based Domain Specific Language, easyb aims to enable executable, yet readable documentation.
-
Welcome to FEST (Fixtures for Easy Software Testing)
FEST is a collection of APIs, released under the Apache 2.0 license, which mission is to simplify software testing.
-
Ruby is sexy, Ruby is cool and its metaprogramming potential offers some really cook features. However you might not realize that your cleverness is slowing down your code.
-
Signing up to the Generous community (it’s free), is about wanting to do a little bit more and little bit more often in order to make shared life on our planet sustainable.
-
Event delegation with JavaScript
-
Welcome to TradeVibes, the best way to discover, find and share opinions and information about cool startups.
-
CrunchBase is the free directory of technology companies, people, and investors that anyone can edit.
-
I was thingk of create these.
-
The Ruby bundle includes a large collection of snippet that simplify day to day coding in the language. At first glance through the menus, this may seem like an overwhelming amount of information to try and become familiar with.
-
Rails endless page plugin
-
Securimage is an open-source free PHP CAPTCHA script for generating complex images and CAPTCHA codes to protect forms from spam and abuse. It can be easily added into existing forms on your website to provide protection from spam bots.
-
Insoshi is a product and a project. The product aims to be the best open-source social networking platform. The project is to make the product!
-
Scrollovers are a way to quickly and easily add flair to your web pages, giving your users an experience they weren’t expecting.
-
Mindquarry DO
Free Open Source Teamwork Software
-
PixelPerfect is an AIR application that lets you measure things on your screen in pixels.
-
isigami” is both an image search application and screen-saver. Right now it can search from three different image sources: Google Images, Picasa, and Flickr.
-
AppMenuBoy is an OS X application that puts a hierarchical menu of applications in the Dock
-
tm_syntax_highlighting is a new Rails plugin that allows you to do TextMate-style syntax coloring in your app
-
Whether it’s participant-driven conferences, or providing tools for feedback at other conferences, engaging the audience and giving them the opportunity to connect and share is key to having a successful conference.