Skip to content

Instantly share code, notes, and snippets.

View taylor's full-sized avatar
🐢
🌊

Taylor Carpenter taylor

🐢
🌊
View GitHub Profile
$ bundle update
Invalid gemspec in [/Users/taylor/sw/depot/rvm/gems/jruby-1.6.4@global/specifications/gem-ctags-1.0.2.gemspec]: invalid date format in specification: "2011-08-23 00:00:00.000000000Z"
Invalid gemspec in [/Users/taylor/sw/depot/rvm/gems/jruby-1.6.4@mojolingo/specifications/guard-0.8.8.gemspec]: invalid date format in specification: "2011-10-21 00:00:00.000000000Z"
RegexpError: /.../n has a non escaped non ASCII character in non ASCII-8BIT script
Meta at /Users/taylor/sw/depot/rvm/rubies/jruby-head/lib/ruby/1.9/open-uri.rb:458
OpenURI at /Users/taylor/sw/depot/rvm/rubies/jruby-head/lib/ruby/1.9/open-uri.rb:394
(root) at /Users/taylor/sw/depot/rvm/rubies/jruby-head/lib/ruby/1.9/open-uri.rb:94
require at org/jruby/RubyKernel.java:970
require at /Users/taylor/sw/depot/rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36
(root) at /Users/taylor/sw/depot/rvm/rubies/jruby-head/lib/ruby/1.9/open-uri.rb:2
31239:[0] $ rvm gemset create mojolingo
'mojolingo' gemset created (/Users/taylor/sw/depot/rvm/gems/jruby-1.6.4@mojolingo).
31240:[0] $ )`use': rvm use jruby@mojolingo
Using /Users/taylor/sw/depot/rvm/gems/jruby-1.6.4 with gemset mojolingo
31241:[0] $ gem install bundler
Fetching: bundler-1.0.21.gem (100%)
LoadError: no such file to load -- rubygems/commands/ctags_command
require at org/jruby/RubyKernel.java:1047
require at /Users/taylor/sw/depot/rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29
(root) at /Users/taylor/sw/depot/rvm/gems/jruby-1.6.4@global/gems/gem-ctags-1.0.2/lib/rubygems_plugin.rb:6
$> JRUBY_OPTS="" jruby -S rake
install -c tmp/java/nokogiri/nokogiri.jar lib/nokogiri/nokogiri.jar
/Users/taylor/sw/depot/rvm/gems/jruby-1.6.4@mojolingo/bin/racc -l -o lib/nokogiri/css/parser.rb lib/nokogiri/css/parser.y
ArgumentError: rb_iterate only supported with rb_each and an Array
send at org/jruby/RubyKernel.java:2104
yyparse at /Users/taylor/sw/depot/rvm/gems/jruby-1.6.4@mojolingo/gems/racc-1.4.7/lib/racc/parser.rb:152
parse at /Users/taylor/sw/depot/rvm/gems/jruby-1.6.4@mojolingo/gems/racc-1.4.7/lib/racc/grammarfileparser.rb:184
main at /Users/taylor/sw/depot/rvm/gems/jruby-1.6.4@mojolingo/gems/racc-1.4.7/bin/racc:143
section at /Users/taylor/sw/depot/rvm/gems/jruby-1.6.4@mojolingo/gems/racc-1.4.7/bin/racc:277
main at /Users/taylor/sw/depot/rvm/gems/jruby-1.6.4@mojolingo/gems/racc-1.4.7/bin/racc:141
$> bundle exec rake
#<Gem::LoadError: rdoc is not part of the bundle. Add it to Gemfile.>
WARNING: 'require 'rake/rdoctask'' is deprecated. Please use 'require 'rdoc/task' (in RDoc 2.4.2+)' instead.
at /Users/taylor/sw/depot/rvm/gems/jruby-1.6.4@mojolingo/gems/rake-0.9.2.2/lib/rake/rdoctask.rb
install -c tmp/java/nokogiri/nokogiri.jar lib/nokogiri/nokogiri.jar
/Users/taylor/sw/depot/rvm/gems/jruby-1.6.4@mojolingo/bin/racc -l -o lib/nokogiri/css/parser.rb lib/nokogiri/css/parser.y
ArgumentError: rb_iterate only supported with rb_each and an Array
__send__ at org/jruby/RubyBasicObject.java:1712
yyparse at /Users/taylor/sw/depot/rvm/gems/jruby-1.6.4@mojolingo/gems/racc-1.4.7/lib/racc/parser.rb:152
parse at /Users/taylor/sw/depot/rvm/gems/jruby-1.6.4@mojolingo/gems/racc-1.4.7/lib/racc/grammarfileparser.rb:184
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = %q{nokogiri}
s.version = "1.5.0.20111101100609"
s.platform = %q{java}
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Aaron Patterson", "Mike Dalessio", "Yoko Harada"]
s.date = %q{2011-11-01}
$> rvm install jruby-1.6.5
jruby-1.6.5 - #fetching
jruby-1.6.5 - #downloading jruby-bin-1.6.5, this may take a while depending on your connection...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 14.6M 100 14.6M 0 0 655k 0 0:00:22 0:00:22 --:--:-- 809k
jruby-1.6.5 - #extracting jruby-bin-1.6.5 to /Users/taylor/sw/depot/rvm/src/jruby-1.6.5
jruby-1.6.5 - #extracted to /Users/taylor/sw/depot/rvm/src/jruby-1.6.5
Building Nailgun
jruby-1.6.5 - #installing to /Users/taylor/sw/depot/rvm/rubies/jruby-1.6.5
@taylor
taylor / gist:1331008
Created November 1, 2011 16:26
death to bundle gem list after nokogiri from source install -- 1.5.0.20111101100609
After installing nokogiri from source (1.5.0.20111101100609) I get the following
$> JRUBY_OPTS="--1.9" gem list |grep nokogiri
nokogiri (1.5.0.20111101100609 java)
jruby-1.6.4@mojolingo taylor@lindqvist:(30388/0) ~/work/mojolingo/src/niceogiri
$> JRUBY_OPTS="--1.9" bundle exec gem list |grep nokogiri
StreamReader.java:98:in `checkPrintable': unacceptable character '‹' (0x8B) special characters are not allowed
in "<reader>", position 415
from StreamReader.java:191:in `update'
jruby-1.6.4 taylor@lindqvist:(30450/0) ~/work/mojolingo/src/niceogiri
$> rvm gemset create mojolingo
'mojolingo' gemset created (/Users/taylor/sw/depot/rvm/gems/jruby-1.6.4@mojolingo).
$> rvm use jruby-1.6.4@mojolingo
Using /Users/taylor/sw/depot/rvm/gems/jruby-1.6.4 with gemset mojolingo
jruby-1.6.4@mojolingo taylor@lindqvist:(30463/0) ~/work/mojolingo/src/niceogiri
$> gem list
*** LOCAL GEMS ***
@taylor
taylor / gist:1331228
Created November 1, 2011 17:16
nokogiri gemspec created with rake create under ruby MRI 1.9.2
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = %q{nokogiri}
s.version = "1.5.0.20111101100609"
s.platform = %q{java}
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Aaron Patterson", "Mike Dalessio", "Yoko Harada"]
s.date = %q{2011-11-01}
ruby-1.9.2-head@mojolingo taylor@lindqvist:(31789/0) ~/work/mojolingo/src/nokogiri
$> rvm use jruby-1.6.4@mojolingo
Using /Users/taylor/sw/depot/rvm/gems/jruby-1.6.4 with gemset mojolingo
jruby-1.6.4@mojolingo taylor@lindqvist:(31790/0) ~/work/mojolingo/src/nokogiri
$> bundle install
Fetching source index for http://rubygems.org/
Using rake (0.9.2.2)
Installing hoe (2.12.3)
Installing hoe-bundler (1.1.0)
Installing hoe-debugging (1.0.1)