サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
パリ五輪
effectif.com
Do you sometimes find yourself wanting to read the code of a method in one of the gems that your project is using? Wouldn't it be good if you could put your cursor on the method or class in question, and press a key to jump straight to the definition within the gem's source code? With the ctags program you can, and with Ivan Tkalin's guard-ctags-bundler gem your tag files will be automatically upd
MongoDB is a document database. One of the "NoSQL" databases that have swept the web development world, Mongo is well suited to situations in which you need to store documents that don't have a particularly rigid schema. Is it better than a relational database? No; it's different. Which should you use? That depends entirely on your situation (and there are also many other document databases to cho
Bundler is a program for installing the libraries (i.e. gems) that a Ruby application depends on, in a sandbox. By specifying an application's dependencies with Bundler developers can guarantee that only specific versions of the dependencies are used when the application is running on a user's computer, or when deployed to a web server. Quick instructions Before I get into the nitty gritty of how
The biggest news in Rails 2.3 is its support for Rack, the WSGI inspired Ruby web server interface. Of all the Rack goodness that has come along lately, the one that has me the most excited is Bryan Helmkamp's Rack::Test library, of which Bryan said "Basically, I extracted Merb’s request helper code into a small, reusable, framework agnostic library." I loved Merb's request specs. I suspect that I
So you've just written a nice new Sinatra application, and you want to get it running on your web server. How hard can it be? Well with Vlad the Deployer, it's actually rather easy. Creating a sample application Let's start by making ourselves a test app: $ mkdir hello $ cd hello $ touch app.rb Open app.rb in your editor and put this code in it: require "rubygems" require "sinatra" get "/" do "Hel
I've been trying to persuade git-svn to work properly with Rails plugins that are installed via svn:externals. Whilst working out how to do it I stumbled across several great articles, but I couldn't get any of the solutions presented to work perfectly. Samuel Tesla's article is especially informative, but for a long time I couldn't stop git-svn from trying to commit Git metadata back into my Subv
Update: The :clean_unix_socket behaviour was merged into God and has now been released in God 0.7.8, so you don't need to add that big block of code to the top of your god.conf file to make it work! :-) God is a very neat piece of software, frequently used by Rails developers to monitor mongrel servers, and restart them if/when they crash or use up too many system resources. Its use isn't limited
Update: Mike pointed out below how to avoid hard coding the path to your installed gems, so I've updated the scripts to use gem environment gemdir accordingly. Thanks Mike... How often do you find yourself wanting to check the source code of a locally installed Ruby gem? Do you find it painful digging around your filesystem to locate the gems directory? Rather than this: mate /Library/Ruby/Gems/1.
このページを最初にブックマークしてみませんか?
『effectif.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く