Skip to content

Instantly share code, notes, and snippets.

@pH14
pH14 / gist:5e1a6eda9516cc18be19
Created February 27, 2015 02:28
rbx 2.5.0 rails app psych
=> Booting WEBrick
=> Rails 4.2.0 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
[2015-02-26 21:26:57] INFO WEBrick 1.3.1
[2015-02-26 21:26:57] INFO ruby 2.1.0 (2015-01-17) [x86_64-darwin14.1.0]
[2015-02-26 21:26:57] INFO WEBrick::HTTPServer#start: pid=57776 port=3000
Started POST "/session" for 127.0.0.1 at 2015-02-26 21:27:02 -0500
@pH14
pH14 / gist:0d5f2aa69366ad1ae071
Created January 23, 2015 17:29
rbx-2.4.0 running rails app
=> Booting Thin
=> Rails 4.1.8 application starting in production on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option)
=> Ctrl-C to shutdown server
Thin web server (v1.6.3 codename Protein Powder)
Maximum connections set to 1024
Listening on 0.0.0.0:3000, CTRL+C to stop
Assertion failed: (Val && "isa<> used on a null pointer"), function doit, file /usr/local/Cellar/llvm/3.5.0/include/llvm/Support/Casting.h, line 95.
The Rubinius process is aborting with signal: SIGABRT
@pH14
pH14 / gist:f40b34de13fe1b25e96a
Created December 14, 2014 14:39
running seven with rbx 2.3.0
# chruby rbx-2.3.0
# bundle exec rails s
Your Gemfile lists the gem thin (>= 1.6.2) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
"Using fd_p emulation"
=> Booting Thin
=> Rails 4.1.8 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
@pH14
pH14 / gist:33fdec67e7268de4cae2
Last active August 29, 2015 14:11
running seven with rbx 2.4.0
# chruby rbx-2.4.0
# bundle exec rails s
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
Type text/x-python is already registered as a variant of text/python.
Type text/x-ruby is already registered as a variant of text/ruby.
Type text/x-python is already registered as a variant of text/python.
Type text/x-ruby is already registered as a variant of text/ruby.
Type text/x-python is already registered as a variant of text/python.
Type text/x-ruby is already registered as a variant of text/ruby.
Type text/x-python is already registered as a variant of text/python.
@pH14
pH14 / gist:28d2bb4629fd9f35fdfb
Created December 11, 2014 19:56
rbx -S rails s
A syntax error has occurred:
expecting keyword_do or '{' or '(': /Users/pwh/.rbenv/shims/rails:3:6
Code:
[ -n "$RBENV_DEBUG" ] && set -x
^
Backtrace:
CodeTools::Melbourne#syntax_error at /Users/pwh/.rbenv/versions/rbx-raw-build/runtime/gems/rubinius-melbourne-2.3.0.0/lib/rubinius/melbourne.rbc:48
RubyGems Environment:
- RUBYGEMS VERSION: 2.4.5
- RUBY VERSION: 2.1.0 (2014-12-11 patchlevel 0) [x86_64-darwin14.0.0]
- INSTALLATION DIRECTORY: /Users/pwh/.rbenv/versions/rbx-raw-build/gems
- RUBY EXECUTABLE: /Users/pwh/.rbenv/versions/rbx-raw-build/bin/rbx
- EXECUTABLE DIRECTORY: /Users/pwh/.rbenv/versions/rbx-raw-build/gems/bin
- SPEC CACHE DIRECTORY: /Users/pwh/.gem/specs
- SYSTEM CONFIGURATION DIRECTORY: /Users/pwh/.rbenv/versions/rbx-raw-build/etc
- RUBYGEMS PLATFORMS:
- ruby
@pH14
pH14 / gist:32fc5e28887d39b43f60
Created December 11, 2014 19:05
gem update --system
Updating rubygems-update
Fetching: rubygems-update-2.4.5.gem (100%)
Successfully installed rubygems-update-2.4.5
Parsing documentation for rubygems-update-2.4.5
Installing ri documentation for rubygems-update-2.4.5
Installing darkfish documentation for rubygems-update-2.4.5
Done installing documentation for rubygems-update after 4 seconds
Parsing documentation for rubygems-update-2.4.5
Done installing documentation for rubygems-update after 0 seconds
Installing RubyGems 2.4.5
RubyGems Environment:
- RUBYGEMS VERSION: 2.4.4
- RUBY VERSION: 2.1.0 (2014-12-11 patchlevel 0) [x86_64-darwin14.0.0]
- INSTALLATION DIRECTORY: /Users/pwh/.rbenv/versions/rbx-raw-build/gems
- RUBY EXECUTABLE: /Users/pwh/.rbenv/versions/rbx-raw-build/bin/rbx
- EXECUTABLE DIRECTORY: /Users/pwh/.rbenv/versions/rbx-raw-build/gems/bin
- SPEC CACHE DIRECTORY: /Users/pwh/.gem/specs
- SYSTEM CONFIGURATION DIRECTORY: /Users/pwh/.rbenv/versions/rbx-raw-build/etc
- RUBYGEMS PLATFORMS:
- ruby
@pH14
pH14 / gist:9fc547aacdd98da15426
Created December 11, 2014 18:16
rubininus bundle install with seven
Your Gemfile lists the gem thin (>= 1.6.2) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Using rake 10.4.2
Using Ascii85 1.0.2
Using RedCloth 4.2.9
Using i18n 0.6.11
Using json 1.8.1
Using minitest 5.4.3
Using thread_safe 0.3.4
class TaintContext
attr_accessor :tainted
@@simple_methods =
["b", "byteslice", "capitalize", "center",
"chomp", "chop", "clone", "crypt", "delete",
"downcase", "dump", "dup", "element_set",
"encode", "find_character", "find_string",
"find_string_reverse", "gsub", "insert",
"ljust", "lstrip", "modulo", "multiply",