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
| begin | |
| # Load the bundler environment from #{Merb.root}/gems/environment.rb | |
| require File.join(File.dirname(__FILE__), "..", "gems", "environment") | |
| rescue LoadError | |
| # Default to using system rubygems not bundled | |
| require "rubygems" | |
| end |
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
| [2009-10-10 17:24:31] `rvm 1.8.6 -m rbx ; rake build` | |
| /Users/jc/.rvm/ruby-1.8.6-p383/bin/ruby vm/codegen/instruction_macros.rb | |
| /Users/jc/.rvm/ruby-1.8.6-p383/bin/ruby vm/instructions.rb | |
| /Users/jc/.rvm/ruby-1.8.6-p383/bin/ruby vm/codegen/field_extract.rb vm/builtin/object.hpp vm/builtin/integer.hpp vm/builtin/executable.hpp vm/builtin/access_variable.hpp vm/builtin/fixnum.hpp vm/builtin/array.hpp vm/builtin/bignum.hpp vm/builtin/block_environment.hpp vm/builtin/bytearray.hpp vm/builtin/io.hpp vm/builtin/channel.hpp vm/builtin/module.hpp vm/builtin/class.hpp vm/builtin/compiledmethod.hpp vm/builtin/data.hpp vm/builtin/dir.hpp vm/builtin/exception.hpp vm/builtin/float.hpp vm/builtin/immediates.hpp vm/builtin/iseq.hpp vm/builtin/list.hpp vm/builtin/lookuptable.hpp vm/builtin/memorypointer.hpp vm/builtin/methodtable.hpp vm/builtin/nativefunction.hpp vm/builtin/regexp.hpp vm/builtin/selector.hpp vm/builtin/staticscope.hpp vm/builtin/sendsite.hpp vm/builtin/string.hpp vm/builtin/symbol.hpp vm/builtin/thread.hpp vm/b |
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
| [jc@macbookpro ~/Desktop/testapp]# rvm 1.8.6 | |
| [jc@macbookpro ~/Desktop/testapp]# ruby -e 'require "rubygems"; require "parse_tree"; puts "BLAH"' | |
| BLAH | |
| [jc@macbookpro ~/Desktop/testapp]# rvm 1.8.7 | |
| [jc@macbookpro ~/Desktop/testapp]# ruby -e 'require "rubygems"; require "parse_tree"; puts "BLAH"' | |
| BLAH | |
| [jc@macbookpro ~/Desktop/testapp]# rvm 1.8.7 -m "somenewgemset" | |
| [jc@macbookpro ~/Desktop/testapp]# gem install ParseTree --no-ri --no-rdoc | |
| Successfully installed ZenTest-4.1.4 | |
| Successfully installed RubyInline-3.8.3 |
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
| [jc@macbookpro ~]# rvm 1.8.7 -m "testparsetree" | |
| [jc@macbookpro ~]# gem install ParseTree --no-ri --no-rdoc | |
| Successfully installed ParseTree-3.0.4 | |
| 1 gem installed | |
| [jc@macbookpro ~]# ruby -e 'require "rubygems"; require "parse_tree"' | |
| In file included from /Users/jc/.rvm/ruby-1.8.7-p174/lib/ruby/1.8/i686-darwin10.0.0/node.h:379, | |
| from /Users/jc/.ruby_inline/Inline_RawParseTree_ab80.c:5: | |
| /usr/include/ucontext.h:42:2: error: #error ucontext routines are deprecated, and require _XOPEN_SOURCE to be defined | |
| /Users/jc/.rvm/gems/ruby/1.8.7/gems/RubyInline-3.8.3/lib/inline.rb:589:in `build': error executing "cc -dynamic -bundle -undefined suppress -flat_namespace -Werror -fno-common -g -O2 -fno-common -pipe -fno-common -I /Users/jc/.rvm/ruby-1.8.7-p174/lib/ruby/1.8/i686-darwin10.0.0 -I /Users/jc/.rvm/ruby-1.8.7-p174/include -L/Users/jc/.rvm/ruby-1.8.7-p174/lib -o \"/Users/jc/.ruby_inline/Inline_RawParseTree_ab80.bundle\" \"/Users/jc/.ruby_inline/Inline_RawParseTree_ab80.c\" ": 256 (CompilationError |
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
| #!/usr/bin/env ruby | |
| begin | |
| require File.join(File.dirname(__FILE__), "../gems/environment") | |
| rescue LoadError | |
| begin | |
| require 'minigems' | |
| rescue LoadError | |
| require 'rubygems' | |
| end | |
| end |
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
| begin | |
| require File.join(File.dirname(__FILE__), "gems/environment") | |
| rescue LoadError | |
| begin | |
| require 'minigems' | |
| rescue LoadError | |
| require 'rubygems' | |
| end | |
| end |
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
| require 'rubygems' | |
| require 'httparty' | |
| class TvRage | |
| include HTTParty | |
| base_uri 'http://services.tvrage.com' | |
| def self.full_schedule(country='US') | |
| results = get("/feeds/fullschedule.php", :query => {"country" => country, '24_format'=> '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
| require 'rubygems' | |
| gem "dm-core", "0.10.1" | |
| require 'dm-core' | |
| gem 'data_objects', "0.10" | |
| gem 'do_sqlite3', "0.10" | |
| DataMapper::Logger.new(STDOUT, :debug) | |
| DataMapper.setup(:sqlite3, 'sqlite3::memory:') | |
| DataMapper::Repository.adapters[:default] = DataMapper::Repository.adapters[:sqlite3] |
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
| 22 examples, 0 failures, 1 pending | |
| /Users/jc/.rvm/ruby-1.8.7-p174/bin/ruby -S rake spec | |
| (in /Users/jc/MerbSource/merb/merb-action-args) | |
| In file included from /Users/jc/.rvm/ruby-1.8.7-p174/lib/ruby/1.8/i686-darwin10.0.0/node.h:379, | |
| from /Users/jc/.ruby_inline/Inline_RawParseTree_ab80.c:5: | |
| /usr/include/ucontext.h:42:2: error: #error ucontext routines are deprecated, and require _XOPEN_SOURCE to be defined | |
| /Users/jc/.rvm/gems/ruby/1.8.7-testmerb1.0.x/gems/RubyInline-3.8.3/lib/inline.rb:589:in `build': error executing "cc -dynamic -bundle -undefined suppress -flat_namespace -Werror -fno-common -g -O2 -fno-common -pipe -fno-common -I /Users/jc/.rvm/ruby-1.8.7-p174/lib/ruby/1.8/i686-darwin10.0.0 -I /Users/jc/.rvm/ruby-1.8.7-p174/include -L/Users/jc/.rvm/ruby-1.8.7-p174/lib -o \"/Users/jc/.ruby_inline/Inline_RawParseTree_ab80.bundle\" \"/Users/jc/.ruby_inline/Inline_RawParseTree_ab80.c\" ": 256 (CompilationError) | |
| Renamed /Users/jc/.ruby_inline/Inline_RawParseTree_ab80.c to /Users/jc/.ruby_inl |
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
| # setup new rubygem environment for merb 1.0.x | |
| gem install extlib rspec rake memcache-client mongrel ruby-debug --no-rdoc --no-ri | |
| gem install webrat --version=0.3.1 --no-rdoc --no-ri | |
| gem install json_pure --version=1.1.6 --no-rdoc --no-ri |