Skip to content

Instantly share code, notes, and snippets.

View merbjedi's full-sized avatar

Jacques Crocker merbjedi

View GitHub Profile
/Users/jc/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/site_ruby/1.8/rubygems/specification.rb:618:in `installation_path': spec bundler-0.9.10 is not from an installed gem (Gem::Exception)
from /Users/jc/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/site_ruby/1.8/rubygems/specification.rb:599:in `full_gem_path'
from /Users/jc/.rvm/gems/ruby-1.8.7-p249%railsgen/gems/bundler-0.9.11/lib/bundler/rubygems_ext.rb:13:in `load_paths'
from /Users/jc/.rvm/gems/ruby-1.8.7-p249%railsgen/gems/bundler-0.9.11/lib/bundler/rubygems_ext.rb:13:in `map'
from /Users/jc/.rvm/gems/ruby-1.8.7-p249%railsgen/gems/bundler-0.9.11/lib/bundler/rubygems_ext.rb:13:in `load_paths'
from /Users/jc/.rvm/gems/ruby-1.8.7-p249%railsgen/gems/bundler-0.9.11/lib/bundler/runtime.rb:177:in `specs_for_lock_file'
from /Users/jc/.rvm/gems/ruby-1.8.7-p249%railsgen/gems/bundler-0.9.11/lib/bundler/runtime.rb:174:in `map'
from /Users/jc/.rvm/gems/ruby-1.8.7-p249%railsgen/gems/bundler-0.9.11/lib/bundler/runtime.rb:174:in `specs_for_lock_file'
from (erb):13:in `write_rb
gem "rails", "3.0.0.beta1", :git => "git://github.com/rails/rails.git"
# running `bundle install` (bundler 0.9.11) from a fresh gemset causes:
No compatible versions could be found for required dependencies:
rack-test (~> 0.5.0, runtime) not found in any of the sources
required by rails (= 3.0.0.beta1, runtime)
All possible versions of origin requirements conflict.
# Edit this Gemfile to bundle your application's dependencies.
source 'http://gemcutter.org'
gem "rails", "3.0.0.beta"
gem "ruby-debug"
gem "mongrel"
gem "haml-edge", :require => "haml"
gem "compass", ">= 0.10.0.pre8"
[jc@macbookpro ~]# rvm gemset create blah6
Gemset 'blah6' created.
[jc@macbookpro ~]# rvm gemset use blah6
Gemset 'blah6' does not exist, rvm gemset create 'blah6' first.
[jc@macbookpro ~]# rvm --trace gemset use blah6
--trace gemset use blah6
[jc@macbookpro ~]# rvm --trace gemset use blah3
--trace gemset use blah3
rvm 0.1.20 by Wayne E. Seguin ([email protected]) [http://rvm.beginrescueend.com/]
+ [[ -z '' ]]
+ [[ ! -z '' ]]
+ [[ ! -z '' ]]
+ [[ ! -z '' ]]
+ [[ 3 -gt 0 ]]
[jc@macbookpro ~/Gems/mongomapper(rails3)]# rake
(in /Users/jc/Gems/mongomapper)
/Users/jc/.rvm/gems/ruby-1.8.7-p249%rails3/gems/jeweler-1.4.0/lib/jeweler/commands/check_dependencies.rb:13:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement
All dependencies seem to be installed.
/Users/jc/.rvm/rubies/ruby-1.8.7-p249/bin/ruby -I"lib:test" -rubygems "/Users/jc/.rvm/gems/ruby-1.8.7-p249%rails3/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/functional/associations/test_belongs_to_polymorphic_proxy.rb" "test/functional/associations/test_belongs_to_proxy.rb" "test/functional/associations/test_in_array_proxy.rb" "test/functional/associations/test_many_documents_as_proxy.rb" "test/functional/associations/test_many_documents_proxy.rb" "test/functional/associations/test_many_embedded_polymorphic_proxy.rb" "test/functional/associations/test_many_embedded_proxy.rb" "test/functional/associations/test_many_polymorphic_proxy.rb" "test/functional/ass
// clear rounded
= rounded-clear
-moz-border-radius: 0px
-webkit-border-radius: 0px
border-radius: 0
// round corners (base)
= rounded(!radius = 10)
-moz-border-radius: #{!radius}px
-webkit-border-radius: #{!radius}px
# Here's my CarrierWave Config
require 'carrierwave/orm/mongomapper'
CarrierWave.configure do |config|
config.storage = :grid_fs
config.grid_fs_access_url = "/attachments/show"
config.grid_fs_database = "files"
config.grid_fs_host = "localhost"
end
# Here's my uploader
/*
NameError: undefined local variable or method `controller' for #<Sass::Script::Functions::EvaluationContext:0x00000103ea6768>
Backtrace:
/Users/jc/Rails3/rails/actionpack/lib/action_view/helpers/asset_tag_helper.rb:638:in `compute_public_path'
/Users/jc/Rails3/rails/actionpack/lib/action_view/helpers/asset_tag_helper.rb:462:in `image_path'
/Users/jc/Gems/compass/lib/compass/app_integration/rails/urls.rb:7:in `image_url_with_rails_integration'
/Users/jc/.rvm/gems/ruby-1.9.2-head/gems/haml-edge-2.3.162/lib/sass/script/funcall.rb:44:in `perform'
/Users/jc/.rvm/gems/ruby-1.9.2-head/gems/haml-edge-2.3.162/lib/sass/tree/prop_node.rb:104:in `perform!'
/Users/jc/.rvm/gems/ruby-1.9.2-head/gems/haml-edge-2.3.162/lib/sass/tree/node.rb:237:in `_perform'
rvm install 1.9.2-head
rvm use 1.9.2-head
[jc@macbookpro ~]# gem install linecache19
Building native extensions. This could take a while...
ERROR: Error installing linecache19:
ERROR: Failed to build gem native extension.
/Users/jc/.rvm/rubies/ruby-1.9.2-head/bin/ruby extconf.rb
checking for vm_core.h... no