Seems Half Pipe is looking for my assets in public/assets/styles and public/assets/scripts, which naturally 404s.
Here's what I did:
- 
Installed grunt-cli:
npm install grunt-cli -g - 
Added Half-Pipe to my Gemfile:
 
| task :test do | |
| array = [ | |
| "lorem", | |
| "ipsum", | |
| "dolor" | |
| ] | |
| array.each do |word| | |
| # http://stackoverflow.com/questions/2504445/spawn-a-background-process-in-ruby | 
| # bad | |
| hashed_books["ItemSearchResponse"]["Items"]["Item"].each do |item| | |
| books = OpenStruct.new | |
| books.name = item["ItemAttributes"]["Title"] | |
| books.url = item["DetailPageURL"] | |
| books.image_url = item["LargeImage"]["URL"] | |
| @books << book | |
| end | 
Seems Half Pipe is looking for my assets in public/assets/styles and public/assets/scripts, which naturally 404s.
Here's what I did:
Installed grunt-cli:
  npm install grunt-cli -g
Added Half-Pipe to my Gemfile:
https://gist.github.com/frankie-loves-jesus/df7c8e869903341e92c8 should make this:
Hello
| % env | |
| !::=::\ | |
| ALLUSERSPROFILE=C:\ProgramData | |
| APPDATA=C:\Users\anon\AppData\Roaming | |
| COMMONPROGRAMFILES=C:\Program Files\Common Files | |
| CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files | |
| CommonProgramW6432=C:\Program Files\Common Files | |
| COMPUTERNAME=MACBOOK | |
| COMSPEC=C:\Windows\system32\cmd.exe | |
| FP_NO_HOST_CHECK=NO | 
http://edgeguides.rubyonrails.org/4_1_release_notes.html#config-secrets-yml
config/environments/production.rb:30:in 'key': wrong number of arguments (0 for 1) (ArgumentError)
Attempt to display some cool search stats using pg_search. About 759,000,000 results (0.29 seconds), Searches related to <keyword>: <keyword> <keyword> <keyword> etc.
Hi,
Here's a gist which sketches a very basic implementation. There are some shortcomings, but I hope it's clear how to tweak and extend it to fit your purposes. I'm not sure how to get ActiveRecord to return the duration of a single query, which is why I set the
@durationto the "realtime" benchmark of the whole time spent in ActiveRecord. You may be able to do something hacky with ActiveSupport::Notifications, but I opted for an easy-to-understand solution over a technically precise solution.P.S. the Case Commons Development Google Group is quite helpful for all things pg_search, and I'm sure they have more intelligent things to say than I! >
http://www.openbsd.org/55.html
dev% curl -L https://get.rvm.io | bash -s stable --ruby
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   184  100   184    0     0     11      0  0:00:16  0:00:15  0:00:01    45
100 20511  100 20511    0     0    713      0  0:00:28  0:00:28 --:--:-- 14323
Downloading https://github.com/wayneeseguin/rvm/archive/stable.tar.gz
| { | |
| "ItemSearchResponse" => { | |
| "xmlns" => "http://webservices.amazon.com/AWSECommerceService/2011-08-01", "OperationRequest" => { | |
| "HTTPHeaders" => { | |
| "Header" => { | |
| "Name" => "UserAgent", "Value" => "Jeff/1.0.1 (Language=Ruby; dev.my.domain)" | |
| } | |
| }, "RequestId" => "4ba63efd-0ff2-4b71-9713-eced654944fd", "Arguments" => { | |
| "Argument" => [{ | |
| "Name" => "Service", "Value" => "AWSECommerceService" |