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
| mbp:phishing mariovisic$ ruby -r mysql2 -e 'p Thread.current.keys' | |
| -e:1: [BUG] Segmentation fault | |
| ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.4.0] | |
| -- Control frame information ----------------------------------------------- | |
| c:0006 p:---- s:0014 b:0014 l:000013 d:000013 CFUNC :inspect | |
| c:0005 p:---- s:0012 b:0012 l:000011 d:000011 CFUNC :inspect | |
| c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC :p | |
| c:0003 p:0028 s:0006 b:0006 l:0021d8 d:000a08 EVAL -e:1 | |
| c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH |
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
| group :assets do | |
| gem 'asset_sync' | |
| end | |
| gem 'fog' |
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
| #!/bin/sh | |
| # | |
| # This shell script passes all its arguments to the binary inside the | |
| # MacVim.app application bundle. If you make links to this script as view, | |
| # gvim, etc., then it will peek at the name used to call it and set options | |
| # appropriately. | |
| # | |
| # Based on a script by Wout Mertens and suggestions from Laurent Bihanic. This | |
| # version is the fault of Benji Fisher, 16 May 2005 (with modifications by Nico | |
| # Weber and Bjorn Winckler, Aug 13 2007). |
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
| # If I run this on the rails console it works fine: | |
| Spree::Core::Engine.routes.url_helpers.cart_path | |
| # => "/cart" | |
| #If i use this module in my cucumber features it works fine: | |
| visit Spree::Core::Engine.routes.url_helpers.cart_path | |
| # To not have to use the whole thing and have direct acces to the routes I created the following file | |
| # features/support/spree.rb |
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
| 1) Admin::CategoriesController#index when logged in as an admin should be successful | |
| Failure/Error: get :index | |
| undefined method `schema_cache' for ActiveRecord::Base:Class | |
| # /Users/mario/.rvm/gems/ruby-1.9.3-p0@airtasker/gems/activerecord-3.2.0.rc1/lib/active_record/dynamic_matchers.rb:50:in `method_missing' | |
| # /Users/mario/.rvm/gems/ruby-1.9.3-p0@airtasker/gems/arel-3.0.0.rc1/lib/arel/visitors/to_sql.rb:11:in `initialize' | |
| # /Users/mario/.rvm/gems/ruby-1.9.3-p0@airtasker/gems/arel-3.0.0.rc1/lib/arel/visitors.rb:34:in `new' | |
| # /Users/mario/.rvm/gems/ruby-1.9.3-p0@airtasker/gems/arel-3.0.0.rc1/lib/arel/visitors.rb:34:in `block in <module:Visitors>' | |
| # /Users/mario/.rvm/gems/ruby-1.9.3-p0@airtasker/gems/arel-3.0.0.rc1/lib/arel/visitors.rb:38:in `yield' | |
| # /Users/mario/.rvm/gems/ruby-1.9.3-p0@airtasker/gems/arel-3.0.0.rc1/lib/arel/visitors.rb:38:in `default' | |
| # /Users/mario/.rvm/gems/ruby-1.9.3-p0@airtasker/gems/arel-3.0.0.rc1/lib/arel/visitors.rb:38:in `visitor_for' |
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
| = "#{link_to 'terms and conditions', '#'}.".html_safe |
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
| Feature: Authentication (No Web Steps, Declarative) | |
| As A User | |
| In order to gain access to sknet | |
| I want to be able to login and logout | |
| Background: | |
| Given I have a valid account | |
| Then I should be able to login |
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
| Bundler could not find compatible versions for gem "builder": | |
| In Gemfile: | |
| rails (~> 3.1.1) depends on | |
| builder (~> 3.0.0) | |
| rspec_junit_formatter depends on | |
| builder (2.1.1) |
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
| @questions.to_a #=> [] | |
| @questions.first #=> #<Question id: 202, difficulty: "medium", question_image: nil, active: true, question_source_id: 1> | |
| @questions.size #=> 13 | |
| @questions.any? #=> false |
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
| curl https://github.com/ruby/ruby/pull/47.patch >> /tmp/r193.patch && rvm install 1.9.3-preview1 --patch /tmp/r193.patch && rm /tmp/r193.patch |