Skip to content

Instantly share code, notes, and snippets.

Jack Repenning jrep

Block or report user

Report or block jrep

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jrep
jrep / gist:1359766
Created Nov 12, 2011
controller helpers for URLs
View gist:1359766
# I'm looking for URL helpers that allow me to generate URLs from within the controller.
# All controllers inherit from a common base:
class UsersController < ApplicationController
end
# This is an API, not a web site: there are no views. Instead, controller methods
# use ApplicationController#render_result() to format the result in the requested
@jrep
jrep / gist:1260402
Created Oct 3, 2011
Can't "gem install bundler" under rvm
View gist:1260402
On RHEL 5.2, I can't do various bundler-related things under "rvm use 1.9.2-p180@rails". works fine under "rvm system". Where should I look for cause?
Example:
% rvm system
% gem install bundler # works
% rvm use 1.9.2-p180@rails
% gem install bundler
You can’t perform that action at this time.