This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# $ heroku addons:add scheduler:standard | |
# $ heroku addons:open scheduler | |
require "net/http" | |
desc "Ping app" | |
task :ping do | |
url = 'my-app.herokuapp.com' | |
puts "ping? (#{url})" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
Sample Propane caveatPatchor.js file based on tmm1's avatar hack. | |
You'll need at least version 1.1.1 to experiment with this: | |
http://propaneapp.com/appcast/Propane.1.1.1.zip | |
Once I'm sure exposing this hack-injection point doesn't cause problems | |
I'll do an official auto-updating version. | |
As of version 1.1.1, Propane will load and execute the contents of |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~ › brew --config | |
HOMEBREW_VERSION: 0.9.3 | |
HEAD: 5a0d6f96dcfaa29dce9183828bdd96273b3a72c4 | |
HOMEBREW_PREFIX: /usr/local | |
HOMEBREW_CELLAR: /usr/local/Cellar | |
CPU: quad-core 64-bit ivybridge | |
OS X: 10.8.2-x86_64 | |
Xcode: 4.5.2 | |
CLT: 1.0.0.9000000000.1.1249367152 | |
GCC-4.2: build 5666 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ resque --config config/resque.rb work |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source "http://rubygems.org" | |
gem "webmachine" | |
gem "actionpack" | |
gem "thin" | |
gem "datamapper" | |
gem "dm-migrations" | |
gem "dm-sqlite-adapter" | |
gem "debugger" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ActionController::Base | |
ActionDispatch::Routing::RouteSet::MountedHelpers | |
#<Module:0x007fd9d3c66420> | |
#<Module:0x007fd9d210f640> | |
ActionController::Testing | |
ActionController::ParamsWrapper | |
ActionController::Instrumentation | |
ActionController::Rescue | |
ActionController::HttpAuthentication::Token::ControllerMethods | |
ActionController::HttpAuthentication::Digest::ControllerMethods |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/projects/rails/railties extract_renderers› rake test | |
/Users/strzalek/.rbenv/versions/1.9.3-p194/bin/ruby -w -Itest:lib:/Users/strzalek/projects/rails/railties/../activesupport/lib:/Users/strzalek/projects/rails/railties/../actionpack/lib:/Users/strzalek/projects/rails/railties/../activemodel/lib test/app_rails_loader_test.rb | |
Run options: --seed 41815 | |
# Running: | |
.............. | |
Finished in 0.044610s, 313.8310 runs/s, 403.4970 assertions/s. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Running: | |
/Users/strzalek/projects/rails/railties/lib/rails/railtie/configuration.rb:95:in `method_missing': undefined method `action_view' for #<Rails::Railtie::Configuration:0x007fda0caf6ef8> (NoMethodError) | |
from /Users/strzalek/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/jquery-rails-2.2.2/lib/jquery/rails/railtie.rb:7:in `block in <class:Railtie>' | |
from /Users/strzalek/projects/rails/activesupport/lib/active_support/lazy_load_hooks.rb:36:in `call' | |
from /Users/strzalek/projects/rails/activesupport/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook' | |
from /Users/strzalek/projects/rails/activesupport/lib/active_support/lazy_load_hooks.rb:45:in `block in run_load_hooks' | |
from /Users/strzalek/projects/rails/activesupport/lib/active_support/lazy_load_hooks.rb:44:in `each' | |
from /Users/strzalek/projects/rails/activesupport/lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks' | |
from /Users/strzalek/projects/rails/railties/lib/rails/application.rb:118:in `initialize' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TestController < ActionController::Base | |
protect_from_forgery | |
def render_string_hello_world | |
render "Hello world!" | |
end | |
def render_text_hello_world | |
render :text => "hello world" | |
end |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.