RVM, Ruby 1.9.3-p194, ruby-debugger and "You need to install ruby-debug" Posted by mencio on May 12, 2012 — 0 comments Blog post about fixing the "You need to install ruby-debug to run the server" message when trying to use RVM, Ruby 1.9.3 and Ruby debugger. Comments Post a Commen...
May 12, 2012 Tagged: journey open source shoulda shoulda-matchers SHOULDABEENGONE Comments (View) SHOULDA BEEN GONE We haven’t been taking pull requests on shoulda-matchers as much as we shoulda, but it’s back in the spotlight now. Shoulda’s been gone … but it’s back. Here are the new...
#207 Syntax Highlighting (revised) May 11, 2012 | 8 minutes | Views , Plugins Here I compare several syntax highlighting solutions and show how to use Pygments in a Rails app. I also show how to integrate it with Markdown and add caching. Subscribe to Watch Episode Tweet Show Notes 1 ...
In December, we went to the city of Jaipur in Rajasthan, India with Kelly’s mother and sister. It was an amazing place. Incredibly different from being in South India. I guess it must be something like the difference for foreigners in the USA going from Wisconsin to New Mexico. Comple...
JRuby on Google AppEngine: First Impressions Posted by Nick Sieger Sat, 11 Apr 2009 04:10:51 GMT I was surprised by Tuesday’s announcements as much as anyone else. Ola keeps secrets well . He sent me a pull request for jruby-rack just last week mentioning “some restrictive environment...
May 8th, 2012 We Hook into Common Rails Mistakes, Process an Ox, drink some Oj, and watch RailsConf videos of a Monologue with Opee on this episode of Ruby5. May 4th, 2012 Spree 1.1.0 e-commerce platform released … the “t” gem is command-line power tool for Twitter … the Focused Contr...
describe("CreditCard", function() { it("cleans number by removing spaces and dashes", function() { expect(CreditCard.cleanNumber("123 4-5")).toEqual("12345"); }); it("validates based on mod 10", function() { expect(CreditCard.validNumber("4111 1111-11111111")).toBeTruthy(); expect(Cre...
range_sentence_parser 0.0.2 Parser for range sentences like '1990; 1995-2000; 2005' install gem install range_sentence_parser Download Documentation Subscribe Stats Authors Gabriel Sobrinho 17 total downloads 9 for this version Owners Links Homepage Gemfile gem "range_sentence_parser"...
Represents forks (child processes) as objects and makes interaction with forks easy. It provides a simple interface to create forked futures, get the return value of the fork, get an exception raised in the fork, and to send objects between parent and forked process.
rack middleware for writing access log to fluentd.
Our team finds that we get the greatest leverage out of our existing collection of code snippets by organizing them into well structured, easy to maintain libraries of pluggable modules. This is the first article in a two part series. In this article, we take a whirl-wind tour of how ...
Replacing the drop-downs with a text field will mean that we have a field on the form that doesn’t directly map on to a field in the database. We’ll have to create a virtual attribute in the Task model to handle the new field. Before we do that we’ll update the view code and replace o...
La communauté Ruby française va avoir le droit à deux événements importants au mois de juin. Le premier, Rails Girls Paris , se tiendra les 15 et 16 juin à Paris. Le second, Ruby Lugdunum , se déroulera juste après, les 22 et 23 juin, à Lyon. Rails Girls vise à apporter de la diversit...
Engine Yard Expands Infrastructure Offerings with HP Cloud Services SAN FRANCISCO – May 10, 2012 – Engine Yard , the leading Platform as a Service (PaaS), today announced its support of HP Cloud Services , expanding the infrastructure options available to Engine Yard customers. Engine...
ファイル path を削除します。path がディレクトリなら再帰的に削除します。 force が真のときは削除中に発生した StandardError を無視します。 rm_r および remove_entry には TOCTTOU (time-of-check to time-of-use) 脆弱性が存在します。このメソッドはそれを防ぐために新設されました。 rm_r および remove_entry は以下の条件が満たされるときにはセキュリティ ホールになりえます。 親ディレクトリが全ユーザから書き込み可能 (/tmp を含む) path 以下のいずれかのデ...
I'm using redmine 1.3.2 and I'm also facing this problem. I'm using this on a CentOS 6.2 system with cpanel and mongrel installed from the repository. I tried putting mongrel.rb and patch_for_mongrel.rb in my <my_redmine_path>/config/initializers, but it didn't work. I tried other cas...
Hi Matt – Thanks for sharing your thoughts on this! Very good read. I am really amazed by how much Laurent has done to make this happen. I have been dabbling with xcode for a while and no matter how much I try it is just not fun to work with. Could be the ide or the language or both. ...
HireFire automatically "hires" and "fires" (aka "scales") Delayed Job and Resque workers on Heroku. When there are no queue jobs, HireFire will fire (shut down) all workers. If there are queued jobs, then it'll hire (spin up) workers. The amount of workers that get hired depends on th...
Provides common authentication needs such as signing in/out, activating by email and resetting password.
#335 Deploying to a VPS Mar 21, 2012 | 18 minutes | Deployment , Production , Tools Deploying a Rails application can be overwhelming because there are so many different options. Here I present a pattern for deploying a Rails app to a VPS using nginx, Unicorn, PostgreSQL, rbenv and mo...