Initialising new rails project after upgrading to Ruby 1.9.3 - ruby-on-rails

I have been working on Ruby on rails project for a while now, when I followed the instructions in the newest instalment of Agile Web Development in Rails and installed the newest edition of Ruby. Before I only used the version that comes with OSX Lion, but with rvm I have installed this version:
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.4.0]
When I set this to execute using e.g. irb this works great, also running scripts with the ruby command line tool works good.
My problem is that when I start a new project with 'rails new', or run the server or the console, rails won't work. I have the Rails 3.2.3 version.
The error stacks is as follows:
BigMac:Coding ola$ rails new depot
create
create README.rdoc
create Rakefile
create config.ru
create .gitignore
create Gemfile
create app
create app/assets/images/rails.png
create app/assets/javascripts/application.js
create app/assets/stylesheets/application.css
create app/controllers/application_controller.rb
create app/helpers/application_helper.rb
create app/mailers
create app/models
create app/views/layouts/application.html.erb
create app/mailers/.gitkeep
create app/models/.gitkeep
create config
create config/routes.rb
create config/application.rb
create config/environment.rb
create config/environments
create config/environments/development.rb
create config/environments/production.rb
create config/environments/test.rb
create config/initializers
create config/initializers/backtrace_silencers.rb
create config/initializers/inflections.rb
create config/initializers/mime_types.rb
create config/initializers/secret_token.rb
create config/initializers/session_store.rb
create config/initializers/wrap_parameters.rb
create config/locales
create config/locales/en.yml
create config/boot.rb
create config/database.yml
create db
create db/seeds.rb
create doc
create doc/README_FOR_APP
create lib
create lib/tasks
create lib/tasks/.gitkeep
create lib/assets
create lib/assets/.gitkeep
create log
create log/.gitkeep
create public
create public/404.html
create public/422.html
create public/500.html
create public/favicon.ico
create public/index.html
create public/robots.txt
create script
create script/rails
create test/fixtures
create test/fixtures/.gitkeep
create test/functional
create test/functional/.gitkeep
create test/integration
create test/integration/.gitkeep
create test/unit
create test/unit/.gitkeep
create test/performance/browsing_test.rb
create test/test_helper.rb
create tmp/cache
create tmp/cache/assets
create vendor/assets/javascripts
create vendor/assets/javascripts/.gitkeep
create vendor/assets/stylesheets
create vendor/assets/stylesheets/.gitkeep
create vendor/plugins
create vendor/plugins/.gitkeep
run bundle install
/Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:799: [BUG] Segmentation fault
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.4.0]
-- Control frame information -----------------------------------------------
c:0038 p:---- s:0217 b:0217 l:000216 d:000216 CFUNC :connect
c:0037 p:0011 s:0214 b:0214 l:0019a0 d:000213 BLOCK /Users/ola/.rvm/rubies/ruby-1.9.3- p194/lib/ruby/1.9.1/net/http.rb:799
c:0036 p:0031 s:0212 b:0212 l:000211 d:000211 METHOD /Users/ola/.rvm/rubies/ruby-1.9.3- p194/lib/ruby/1.9.1/timeout.rb:54
c:0035 p:0026 s:0200 b:0200 l:000199 d:000199 METHOD /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/timeout.rb:99
c:0034 p:0485 s:0194 b:0194 l:0019a0 d:0019a0 METHOD /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:799
c:0033 p:0011 s:0186 b:0186 l:000185 d:000185 METHOD /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:755
c:0032 p:0089 s:0183 b:0183 l:000182 d:000182 METHOD /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:750
c:0031 p:0340 s:0180 b:0180 l:000179 d:000179 METHOD /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/net/http/persistent.rb:224
c:0030 p:0157 s:0172 b:0172 l:000171 d:000171 METHOD /Users/ola/.rvm/gems/ruby-1.9.3- p194#global/gems/bundler-1.1.3/lib/bundler/vendor/net/http/persistent.rb:358
c:0029 p:0081 s:0158 b:0158 l:000157 d:000157 METHOD /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/fetcher.rb:135
c:0028 p:0105 s:0150 b:0150 l:000149 d:000149 METHOD /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/fetcher.rb:163
c:0027 p:0141 s:0140 b:0140 l:000139 d:000139 METHOD /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/fetcher.rb:122
c:0026 p:0178 s:0130 b:0130 l:000129 d:000129 METHOD /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/fetcher.rb:70
c:0025 p:0042 s:0122 b:0122 l:000111 d:000121 BLOCK /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/source.rb:234
c:0024 p:---- s:0117 b:0117 l:000116 d:000116 FINISH
c:0023 p:---- s:0115 b:0115 l:000114 d:000114 CFUNC :each
c:0022 p:0079 s:0112 b:0112 l:000111 d:000111 METHOD /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/source.rb:232
c:0021 p:0018 s:0102 b:0102 l:000101 d:000101 METHOD /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/source.rb:165
c:0020 p:0025 s:0098 b:0098 l:000097 d:000097 METHOD /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/source.rb:70
c:0019 p:0059 s:0095 b:0094 l:000076 d:000093 BLOCK /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/definition.rb:205
c:0018 p:---- s:0090 b:0090 l:000089 d:000089 FINISH
c:0017 p:---- s:0088 b:0088 l:000087 d:000087 CFUNC :each
c:0016 p:0043 s:0085 b:0085 l:000076 d:000084 BLOCK /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/definition.rb:202
c:0015 p:0020 s:0081 b:0081 l:000080 d:000080 METHOD /Users/ola/.rvm/gems/ruby-1.9.3- p194#global/gems/bundler-1.1.3/lib/bundler/index.rb:9
c:0014 p:0031 s:0077 b:0077 l:000076 d:000076 METHOD /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/definition.rb:198
c:0013 p:0139 s:0074 b:0071 l:000070 d:000070 METHOD /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/definition.rb:192
c:0012 p:0027 s:0066 b:0066 l:000065 d:000065 METHOD /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/definition.rb:127
c:0011 p:0047 s:0060 b:0060 l:000059 d:000059 METHOD /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/definition.rb:122
c:0010 p:0303 s:0057 b:0057 l:000056 d:000056 METHOD /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/installer.rb:48
c:0009 p:0033 s:0051 b:0051 l:000050 d:000050 METHOD /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/installer.rb:12
c:0008 p:0978 s:0044 b:0044 l:000043 d:000043 METHOD /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/cli.rb:220
c:0007 p:0036 s:0036 b:0036 l:000035 d:000035 METHOD /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/thor/task.rb:22
c:0006 p:0071 s:0030 b:0030 l:000029 d:000029 METHOD /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/thor/invocation.rb:118
c:0005 p:0221 s:0024 b:0024 l:000023 d:000023 METHOD /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/thor.rb:263
c:0004 p:0082 s:0013 b:0013 l:000012 d:000012 METHOD /Users/ola/.rvm/gems/ruby-1.9.3 -p194#global/gems/bundler-1.1.3/lib/bundler/vendor/thor/base.rb:386
c:0003 p:0054 s:0007 b:0007 l:001ba8 d:0024a0 EVAL /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/bin/bundle:13
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:001ba8 d:001ba8 TOP
-- Ruby level backtrace information ----------------------------------------
/Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/bin/bundle:13:in `<main>'
/Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler- 1.1.3/lib/bundler/vendor/thor/base.rb:386:in `start'
/Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/thor.rb:263:in `dispatch'
/Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
/Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/thor/task.rb:22:in `run'
/Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/cli.rb:220:in `install'
/Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/installer.rb:12:in `install'
/Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/installer.rb:48:in `run'
/Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/definition.rb:122:in `resolve_remotely!'
/Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/definition.rb:127:in `specs'
/Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/definition.rb:192:in `resolve'
/Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/definition.rb:198:in `index'
/Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/index.rb:9:in `build'
/Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/definition.rb:202:in `block in index'
/Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/definition.rb:202:in `each'
/Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/definition.rb:205:in `block (2 levels) in index'
/Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/source.rb:70:in `specs'
/Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/source.rb:165:in `fetch_specs'
/Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/source.rb:232:in `remote_specs'
/Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/source.rb:232:in `each'
/Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/source.rb:234:in `block in remote_specs'
/Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/fetcher.rb:70:in `specs'
/Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/fetcher.rb:122:in `fetch_remote_specs'
/Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/fetcher.rb:163:in `fetch_dependency_remote_specs'
/Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/fetcher.rb:135:in `fetch'
/Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/net/http/persistent.rb:358:in `request'
/Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/net/http/persistent.rb:224:in `connection_for'
/Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:750:in `start'
/Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:755:in `do_start'
/Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:799:in `connect'
/Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/timeout.rb:99:in `timeout'
/Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/timeout.rb:54:in `timeout'
/Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:799:in `block in connect'
/Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:799:in `connect'
-- C level backtrace information -------------------------------------------
See Crash Report log file under ~/Library/Logs/CrashReporter or
/Library/Logs/CrashReporter, for the more detail of.
-- Other runtime information -----------------------------------------------
* Loaded script: /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/bin/bundle
* Loaded features:
0 enumerator.so
1 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-darwin11.4.0/enc/encdb.bundle
2 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-darwin11.4.0/enc/trans/transdb.bundle
3 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/defaults.rb
4 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-darwin11.4.0/rbconfig.rb
5 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/deprecate.rb
6 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/exceptions.rb
7 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb
8 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems.rb
9 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/ubygems.rb
10 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/version.rb
11 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/requirement.rb
12 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/platform.rb
13 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb
14 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/path_support.rb
15 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb
16 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-darwin11.4.0/etc.bundle
17 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/fileutils.rb
18 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-darwin11.4.0/pathname.bundle
19 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/pathname.rb
20 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych/syntax_error.rb
21 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-darwin11.4.0/psych.bundle
22 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-darwin11.4.0/stringio.bundle
23 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych/nodes/node.rb
24 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych/nodes/stream.rb
25 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych/nodes/document.rb
26 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych/nodes/sequence.rb
27 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych/nodes/scalar.rb
28 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych/nodes/mapping.rb
29 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych/nodes/alias.rb
30 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych/nodes.rb
31 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych/streaming.rb
32 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych/visitors/visitor.rb
33 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-darwin11.4.0/strscan.bundle
34 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych/scalar_scanner.rb
35 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych/visitors/to_ruby.rb
36 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych/visitors/emitter.rb
37 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych/visitors/yaml_tree.rb
38 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych/json/ruby_events.rb
39 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych/visitors/json_tree.rb
40 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych/visitors/depth_first.rb
41 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych/visitors.rb
42 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych/handler.rb
43 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych/tree_builder.rb
44 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych/parser.rb
45 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych/omap.rb
46 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych/set.rb
47 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych/coder.rb
48 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych/core_ext.rb
49 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-darwin11.4.0/date_core.bundle
50 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/date/format.rb
51 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/date.rb
52 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych/deprecated.rb
53 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych/stream.rb
54 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych/json/yaml_events.rb
55 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych/json/tree_builder.rb
56 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych/json/stream.rb
57 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych/handlers/document_stream.rb
58 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych.rb
59 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/yaml.rb
60 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/psyched_yaml.rb
61 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/gem_helpers.rb
62 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/match_platform.rb
63 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/rubygems_ext.rb
64 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/config_file.rb
65 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/psych_additions.rb
66 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/psych_tree.rb
67 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/syck_hack.rb
68 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/rubygems_integration.rb
69 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/version.rb
70 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler.rb
71 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/thor/core_ext/hash_with_indifferent_access.rb
72 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/thor/core_ext/ordered_hash.rb
73 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/thor/error.rb
74 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/thor/shell.rb
75 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/thor/invocation.rb
76 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/thor/parser/argument.rb
77 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/thor/parser/arguments.rb
78 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/thor/parser/option.rb
79 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/thor/parser/options.rb
80 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/thor/parser.rb
81 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/thor/task.rb
82 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/thor/util.rb
83 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/thor/base.rb
84 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/thor.rb
85 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/uri/common.rb
86 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/uri/generic.rb
87 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/uri/ftp.rb
88 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/uri/http.rb
89 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/uri/https.rb
90 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/uri/ldap.rb
91 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/uri/ldaps.rb
92 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/uri/mailto.rb
93 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/uri.rb
94 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/thor/core_ext/file_binary_read.rb
95 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/thor/actions/empty_directory.rb
96 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/thor/actions/create_file.rb
97 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/thor/actions/create_link.rb
98 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/thor/actions/directory.rb
99 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/erb.rb
100 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/time.rb
101 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/open-uri.rb
102 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/thor/actions/file_manipulation.rb
103 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/thor/actions/inject_into_file.rb
104 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/thor/actions.rb
105 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendored_thor.rb
106 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/user_interaction.rb
107 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/cli.rb
108 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/delegate.rb
109 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/tmpdir.rb
110 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/thread.rb
111 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/tempfile.rb
112 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/thor/shell/basic.rb
113 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/thor/shell/color.rb
114 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/ui.rb
115 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/settings.rb
116 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/shared_helpers.rb
117 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-darwin11.4.0/socket.bundle
118 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/socket.rb
119 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/timeout.rb
120 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/protocol.rb
121 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-darwin11.4.0/zlib.bundle
122 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb
123 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/net/http/faster.rb
124 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/cgi/core.rb
125 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/cgi/cookie.rb
126 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/cgi/util.rb
127 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/cgi.rb
128 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/vendor/net/http/persistent.rb
129 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/fetcher.rb
130 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/tsort.rb
131 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/dependency_list.rb
132 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/package/f_sync_dir.rb
133 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_header.rb
134 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-darwin11.4.0/enc/iso_8859_1.bundle
135 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_input.rb
136 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_output.rb
137 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_reader/entry.rb
138 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_reader.rb
139 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_writer.rb
140 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/package.rb
141 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/format.rb
142 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/ext/builder.rb
143 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/ext/configure_builder.rb
144 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/optparse.rb
145 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/command.rb
146 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/ext/ext_conf_builder.rb
147 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/ext/rake_builder.rb
148 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/ext.rb
149 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/require_paths_builder.rb
150 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb
151 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/remote_fetcher.rb
152 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/errors.rb
153 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/text.rb
154 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/spec_fetcher.rb
155 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/dependency_installer.rb
156 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/environment.rb
157 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/installer.rb
158 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-darwin11.4.0/digest.bundle
159 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/digest.rb
160 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-darwin11.4.0/digest/sha1.bundle
161 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/set.rb
162 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/definition.rb
163 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/dependency.rb
164 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/dsl.rb
165 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/open3.rb
166 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/gem_installer.rb
167 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/source.rb
168 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/forwardable.rb
169 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/spec_set.rb
170 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/resolver.rb
171 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/dep_proxy.rb
172 /Users/ola/.rvm/gems/ruby-1.9.3-p194#global/gems/bundler-1.1.3/lib/bundler/index.rb
173 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-darwin11.4.0/openssl.bundle
174 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/openssl/bn.rb
175 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/openssl/cipher.rb
176 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/openssl/config.rb
177 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/openssl/digest.rb
178 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/openssl/buffering.rb
179 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-darwin11.4.0/fcntl.bundle
180 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/openssl/ssl-internal.rb
181 /Users/ola/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/openssl/x509-internal.rb
182 /Users/ola/.rvm/rubi

Just happened to me the same, probably you are using rvm + macports.
I found the solution in the RVM documentation: https://rvm.io/integration/macports/
In order to use MacPorts libraries when installing RVM Rubies, set the
following variables in your $HOME/.rvmrc:
export CFLAGS="-O2 -arch x86_64"
export LDFLAGS="-L/opt/local/lib"
export CPPFLAGS="-I/opt/local/include"
rvm install 1.9.3 --with-opt-dir=/opt/local

Try gem update bundler once before doing this.

Related

I need to put 'bundle exec' before all my commands

Recently (few minutes ago) I deleted all my gems using:
rvm gemset empty mygems
rvm gemset delete global
I created my own gemset name.
rvm gemset create myname
I created a .ruby-gemset file in my project with myname
I did a: bundle install on my app so I have a fresh install.
Now I need to run the command like this to run my server:
bundle exec rails s
Before I was able to simply run: rails s.
Now it gives me this stack:
MacBook-Pro-de-Name-2:rails-app namename$ rails s
/Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/json-1.8.1/lib/json/ext/parser.bundle: [BUG] Segmentation fault
ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14]
-- Crash Report log information --------------------------------------------
See Crash Report log file under the one of following:
* ~/Library/Logs/CrashReporter
* /Library/Logs/CrashReporter
* ~/Library/Logs/DiagnosticReports
* /Library/Logs/DiagnosticReports
the more detail of.
-- Control frame information -----------------------------------------------
c:0033 p:-17565584435966 s:0098 e:000097 TOP [FINISH]
c:0032 p:---- s:0096 e:000095 CFUNC :require
c:0031 p:0009 s:0092 e:000091 CLASS /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/json-1.8.1/lib/json/ext.rb:13
c:0030 p:0011 s:0090 e:000089 CLASS /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/json-1.8.1/lib/json/ext.rb:12
c:0029 p:0057 s:0088 e:000087 TOP /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/json-1.8.1/lib/json/ext.rb:9 [FINISH]
c:0028 p:---- s:0086 e:000085 CFUNC :require
c:0027 p:0019 s:0082 e:000081 CLASS /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/json-1.8.1/lib/json.rb:58
c:0026 p:0017 s:0080 e:000079 TOP /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/json-1.8.1/lib/json.rb:54 [FINISH]
c:0025 p:---- s:0078 e:000077 CFUNC :require
c:0024 p:0009 s:0074 e:000073 TOP /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/core_ext/object/to_json.r [FINISH]
c:0023 p:---- s:0072 e:000071 CFUNC :require
c:0022 p:0071 s:0068 e:000067 TOP /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/core_ext/object.rb:11 [FINISH]
c:0021 p:---- s:0066 e:000065 CFUNC :require
c:0020 p:0023 s:0062 e:000061 TOP /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/railties-4.0.12/lib/rails/configuration.rb:3 [FINISH]
c:0019 p:---- s:0060 e:000059 CFUNC :require
c:0018 p:0015 s:0056 e:000055 TOP /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/railties-4.0.12/lib/rails/railtie.rb:2 [FINISH]
c:0017 p:---- s:0054 e:000053 CFUNC :require
c:0016 p:0007 s:0050 e:000049 TOP /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/railties-4.0.12/lib/rails/engine.rb:1 [FINISH]
c:0015 p:---- s:0048 e:000047 CFUNC :require
c:0014 p:0031 s:0044 e:000043 TOP /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/railties-4.0.12/lib/rails/application.rb:4 [FINISH]
c:0013 p:---- s:0042 e:000041 CFUNC :require
c:0012 p:0047 s:0038 e:000037 TOP /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/railties-4.0.12/lib/rails.rb:9 [FINISH]
c:0011 p:---- s:0036 e:000035 CFUNC :require
c:0010 p:0007 s:0032 e:000031 TOP /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/railties-4.0.12/lib/rails/all.rb:1 [FINISH]
c:0009 p:---- s:0030 e:000029 CFUNC :require
c:0008 p:0026 s:0026 e:000025 TOP /Users/namename/Documents/workspaces/rails-app/config/application.rb:3 [FINISH]
c:0007 p:---- s:0024 e:000023 CFUNC :require
c:0006 p:0014 s:0020 e:000019 BLOCK /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/railties-4.0.12/lib/rails/commands.rb:74 [FINISH]
c:0005 p:---- s:0017 e:000016 CFUNC :tap
c:0004 p:0562 s:0014 e:000013 TOP /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/railties-4.0.12/lib/rails/commands.rb:71 [FINISH]
c:0003 p:---- s:0008 e:000007 CFUNC :require
c:0002 p:0045 s:0004 E:001268 EVAL script/rails:6 [FINISH]
c:0001 p:0000 s:0002 E:0023d8 TOP [FINISH]
script/rails:6:in `<main>'
script/rails:6:in `require'
/Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/railties-4.0.12/lib/rails/commands.rb:71:in `<top (required)>'
/Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/railties-4.0.12/lib/rails/commands.rb:71:in `tap'
/Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/railties-4.0.12/lib/rails/commands.rb:74:in `block in <top (required)>'
/Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/railties-4.0.12/lib/rails/commands.rb:74:in `require'
/Users/namename/Documents/workspaces/rails-app/config/application.rb:3:in `<top (required)>'
/Users/namename/Documents/workspaces/rails-app/config/application.rb:3:in `require'
/Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/railties-4.0.12/lib/rails/all.rb:1:in `<top (required)>'
/Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/railties-4.0.12/lib/rails/all.rb:1:in `require'
/Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/railties-4.0.12/lib/rails.rb:9:in `<top (required)>'
/Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/railties-4.0.12/lib/rails.rb:9:in `require'
/Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/railties-4.0.12/lib/rails/application.rb:4:in `<top (required)>'
/Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/railties-4.0.12/lib/rails/application.rb:4:in `require'
/Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/railties-4.0.12/lib/rails/engine.rb:1:in `<top (required)>'
/Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/railties-4.0.12/lib/rails/engine.rb:1:in `require'
/Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/railties-4.0.12/lib/rails/railtie.rb:2:in `<top (required)>'
/Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/railties-4.0.12/lib/rails/railtie.rb:2:in `require'
/Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/railties-4.0.12/lib/rails/configuration.rb:3:in `<top (required)>'
/Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/railties-4.0.12/lib/rails/configuration.rb:3:in `require'
/Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/core_ext/object.rb:11:in `<top (required)>'
/Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/core_ext/object.rb:11:in `require'
/Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/core_ext/object/to_json.rb:3:in `<top (required)>'
/Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/core_ext/object/to_json.rb:3:in `require'
/Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/json-1.8.1/lib/json.rb:54:in `<top (required)>'
/Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/json-1.8.1/lib/json.rb:58:in `<module:JSON>'
/Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/json-1.8.1/lib/json.rb:58:in `require'
/Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/json-1.8.1/lib/json/ext.rb:9:in `<top (required)>'
/Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/json-1.8.1/lib/json/ext.rb:12:in `<module:JSON>'
/Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/json-1.8.1/lib/json/ext.rb:13:in `<module:Ext>'
/Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/json-1.8.1/lib/json/ext.rb:13:in `require'
-- C level backtrace information -------------------------------------------
-- Other runtime information -----------------------------------------------
* Loaded script: script/rails
* Loaded features:
0 enumerator.so
1 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin14/enc/encdb.bundle
2 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin14/enc/trans/transdb.bundle
3 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin14/rbconfig.rb
4 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/compatibility.rb
5 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/defaults.rb
6 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/deprecate.rb
7 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/errors.rb
8 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/version.rb
9 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/requirement.rb
10 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/platform.rb
11 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/specification.rb
12 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/exceptions.rb
13 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_gem.rb
14 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/thread.rb
15 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/monitor.rb
16 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb
17 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems.rb
18 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/path_support.rb
19 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/dependency.rb
20 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin14/pathname.bundle
21 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/pathname.rb
22 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/bundler-1.7.12/lib/bundler/constants.rb
23 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/user_interaction.rb
24 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin14/etc.bundle
25 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/config_file.rb
26 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/bundler-1.7.12/lib/bundler/rubygems_integration.rb
27 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/bundler-1.7.12/lib/bundler/current_ruby.rb
28 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/bundler-1.7.12/lib/bundler/shared_helpers.rb
29 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb
30 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/bundler-1.7.12/lib/bundler/gem_path_manipulation.rb
31 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/bundler-1.7.12/lib/bundler/gem_helpers.rb
32 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/bundler-1.7.12/lib/bundler/match_platform.rb
33 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/bundler-1.7.12/lib/bundler/rubygems_ext.rb
34 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/bundler-1.7.12/lib/bundler/version.rb
35 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/bundler-1.7.12/lib/bundler.rb
36 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/bundler-1.7.12/lib/bundler/settings.rb
37 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin14/digest.bundle
38 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/digest.rb
39 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin14/digest/sha1.bundle
40 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/set.rb
41 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/bundler-1.7.12/lib/bundler/definition.rb
42 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/bundler-1.7.12/lib/bundler/dependency.rb
43 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/bundler-1.7.12/lib/bundler/ruby_dsl.rb
44 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/bundler-1.7.12/lib/bundler/dsl.rb
45 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/bundler-1.7.12/lib/bundler/source_list.rb
46 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/bundler-1.7.12/lib/bundler/source.rb
47 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/uri/common.rb
48 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/uri/generic.rb
49 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/uri/ftp.rb
50 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/uri/http.rb
51 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/uri/https.rb
52 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/uri/ldap.rb
53 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/uri/ldaps.rb
54 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/uri/mailto.rb
55 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/uri.rb
56 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/cgi/core.rb
57 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/cgi/util.rb
58 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/cgi/cookie.rb
59 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/cgi.rb
60 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin14/socket.bundle
61 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/socket.rb
62 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin14/fcntl.bundle
63 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/timeout.rb
64 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin14/openssl.bundle
65 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/openssl/bn.rb
66 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/openssl/cipher.rb
67 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin14/stringio.bundle
68 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/openssl/config.rb
69 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/openssl/digest.rb
70 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/openssl/x509.rb
71 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/openssl/buffering.rb
72 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/openssl/ssl.rb
73 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/openssl.rb
74 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/securerandom.rb
75 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/resolv.rb
76 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/remote_fetcher.rb
77 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/text.rb
78 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/name_tuple.rb
79 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/spec_fetcher.rb
80 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/bundler-1.7.12/lib/bundler/source/rubygems.rb
81 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/bundler-1.7.12/lib/bundler/ruby_version.rb
82 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin14/strscan.bundle
83 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/bundler-1.7.12/lib/bundler/source/path.rb
84 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/bundler-1.7.12/lib/bundler/source/git.rb
85 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/bundler-1.7.12/lib/bundler/lockfile_parser.rb
86 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/bundler-1.7.12/lib/bundler/lazy_specification.rb
87 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/tsort.rb
88 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/forwardable.rb
89 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/bundler-1.7.12/lib/bundler/spec_set.rb
90 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/bundler-1.7.12/lib/bundler/environment.rb
91 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/bundler-1.7.12/lib/bundler/runtime.rb
92 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/bundler-1.7.12/lib/bundler/index.rb
93 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/bundler-1.7.12/lib/bundler/remote_specification.rb
94 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/bundler-1.7.12/lib/bundler/endpoint_specification.rb
95 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/bundler-1.7.12/lib/bundler/dep_proxy.rb
96 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/bundler-1.7.12/lib/bundler/setup.rb
97 /Users/namename/Documents/workspaces/rails-app/config/boot.rb
98 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/optparse.rb
99 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/thread_safe-0.3.4/lib/thread_safe/version.rb
100 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/delegate.rb
101 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/thread_safe-0.3.4/lib/thread_safe/synchronized_delegator.rb
102 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/thread_safe-0.3.4/lib/thread_safe.rb
103 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/core_ext/array/prepend_and_append.rb
104 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/core_ext/hash/deep_merge.rb
105 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/core_ext/hash/except.rb
106 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/core_ext/hash/slice.rb
107 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/i18n-0.7.0/lib/i18n/version.rb
108 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/i18n-0.7.0/lib/i18n/exceptions.rb
109 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/i18n-0.7.0/lib/i18n/interpolate/ruby.rb
110 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/i18n-0.7.0/lib/i18n.rb
111 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/lazy_load_hooks.rb
112 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/i18n-0.7.0/lib/i18n/config.rb
113 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/i18n.rb
114 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/thread_safe-0.3.4/lib/thread_safe/non_concurrent_cache_backend.rb
115 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/thread_safe-0.3.4/lib/thread_safe/mri_cache_backend.rb
116 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/thread_safe-0.3.4/lib/thread_safe/cache.rb
117 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/inflector/inflections.rb
118 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/inflections.rb
119 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/inflector/methods.rb
120 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/dependencies/autoload.rb
121 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/version.rb
122 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/core_ext/array/extract_options.rb
123 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/core_ext/class/attribute_accessors.rb
124 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/concern.rb
125 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/logger_silence.rb
126 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/logger.rb
127 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/logger.rb
128 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support.rb
129 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/core_ext/object/blank.rb
130 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/core_ext/kernel/singleton_class.rb
131 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/core_ext/module/remove_method.rb
132 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/core_ext/class/attribute.rb
133 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/core_ext/module/delegation.rb
134 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/singleton.rb
135 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/deprecation/instance_delegator.rb
136 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/notifications/instrumenter.rb
137 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/mutex_m.rb
...
...
209 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/core_ext/string/conversions.rb
210 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/core_ext/string/zones.rb
211 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/time.rb
212 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/core_ext/array/wrap.rb
213 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/core_ext/hash/reverse_merge.rb
214 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/core_ext/hash/conversions.rb
215 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/core_ext/object/conversions.rb
216 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/activesupport-4.0.12/lib/active_support/core_ext/object/instance_variables.rb
217 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/json-1.8.1/lib/json/version.rb
218 /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/ostruct.rb
219 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/json-1.8.1/lib/json/generic_object.rb
220 /Users/namename/.rvm/gems/ruby-2.0.0-p598#myname/gems/json-1.8.1/lib/json/common.rb
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
Your stack trace mixes parts from your RVM ruby and your system ruby. These are not compatible. It seems your RVM setup is incomplete/broken. If you don't want to dig in there and find the actual cause, you might want to complete remove and reinstall RVM:
# completely remove rvm, including all rvm-installed rubies and gems
rvm implode
# re-install RVM
\curl -sSL "https://get.rvm.io" | bash -s stable

'Rails Server' command failure

I am trying to set up a RoR development environment on my Windows 7 PC.
I have so far been able to:
Install Ruby
Install Rails
Install a few gems, including the mysql2 gem (I had to download and install the MySQL community server again, since the one which came with XAMPP was 32 bit, and my Ruby is 64 bit)
Execute the 'Rails New' command to create a project
Run 'Bundler Install' command
Now however, when I try to run the server from the project root, I am getting a huge error message of more than 600 lines, beginning with:
C:\Users\Chinmay\Documents\Sites\TaxCloud>rails s
C:/Ruby21-x64/lib/ruby/gems/2.1.0/extensions/x64-mingw32/2.1.0/mysql2-0.3.16/mysql2/mysql2.so:
[BUG] Segmentation fault ruby 2.1.4p265 (2014-10-27 revision 48166)
[x64-mingw32]
-- Control frame information ----------------------------------------------- c:0020 p:-10803034 s:0067 e:000066 TOP [FINISH] c:0019 p:---- s:0065 e:000064 CFUNC
:require c:0018 p:0083 s:0061 e:000060 TOP
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/mysql2-0.3.16/lib/mysql2.rb:8
[FINISH] c:0017 p:---- s:0059 e:000058 CFUNC :require c:0016 p:0037
s:0055 e:000054 BLOCK
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.4/lib/bundler/runtime.rb:76
[FINISH] c:0015 p:---- s:0052 e:000051 CFUNC :each c:0014 p:0055
s:0049 e:000048 BLOCK
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.4/lib/bundler/runtime.rb:72
[FINISH] c:0013 p:---- s:0042 e:000041 CFUNC :each c:0012 p:0030
s:0039 e:000038 METHOD
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.4/lib/bundler/runtime.rb:61
c:0011 p:0013 s:0035 e:000034 METHOD
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.4/lib/bundler.rb:133
c:0010 p:0047 s:0031 e:000030 TOP
C:/Users/Chinmay/Documents/Sites/TaxCloud/config/application.rb:7
[FINISH] c:0009 p:---- s:0029 e:000028 CFUNC :require c:0008 p:0014
s:0025 e:000024 BLOCK
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands/commands_tasks.rb
:79 [FINISH] c:0007 p:---- s:0022 e:000021 CFUNC :tap c:0006 p:0031
s:0019 e:000018 METHOD
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands/commands_tasks.rb
:76 c:0005 p:0033 s:0016 e:000015 METHOD
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands/commands_tasks.rb
:40 c:0004 p:0116 s:0012 e:000011 TOP
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands.rb:17
[FINISH] c:0003 p:---- s:0008 e:000007 CFUNC :require c:0002 p:0034
s:0004 E:000218 EVAL bin/rails:4 [FINISH] c:0001 p:0000 s:0002
E:000a78 TOP [FINISH]
-- Ruby level backtrace information ---------------------------------------- bin/rails:4:in <main>' bin/rails:4:inrequire'
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands.rb:17:in
<top (required)>'
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands/commands_tasks.rb:40:in
run_command!'
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands/commands_tasks.rb:76:in
server'
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands/commands_tasks.rb:76:in
tap'
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands/commands_tasks.rb:79:in
block in server'
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands/commands_tasks.rb:79:in
require'
C:/Users/Chinmay/Documents/Sites/TaxCloud/config/application.rb:7:in
<top (required)>'
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.4/lib/bundler.rb:133:in
require'
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.4/lib/bundler/runtime.rb:61:in
require'
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.4/lib/bundler/runtime.rb:61:in
each'
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.4/lib/bundler/runtime.rb:72:in
block in require'
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.4/lib/bundler/runtime.rb:72:in
each'
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.4/lib/bundler/runtime.rb:76:in
block (2 levels) in require'
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.4/lib/bundler/runtime.rb:76:in
require'
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/mysql2-0.3.16/lib/mysql2.rb:8:in
<top (required)>'
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/mysql2-0.3.16/lib/mysql2.rb:8:in
require'
-- C level backtrace information ------------------------------------------- C:\Windows\SYSTEM32\ntdll.dll(ZwWaitForSingleObject+0xa)
[0x0000000077B3F6FA]
C:\Windows\system32\KERNELBASE.dll(WaitForSingleObjectEx+0x9c)
[0x000007FEFE1810DC]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_vm_bugreport+0xa4)
[0x000000006B417364]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_name_err_mesg_new+0x841)
[0x000000006B2C9801]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_bug+0x45)
[0x000000006B2CA545]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_check_safe_str+0x351)
[0x000000006B398E11] [0x0000000000401A85]
C:\Windows\SYSTEM32\ntdll.dll(_C_specific_handler+0x9c)
[0x0000000077B04F58]
C:\Windows\SYSTEM32\ntdll.dll(RtlCompareUnicodeString+0x7d)
[0x0000000077B24F4D]
C:\Windows\SYSTEM32\ntdll.dll(RtlTimeToSecondsSince1970+0x63c)
[0x0000000077B05B3C]
C:\Windows\SYSTEM32\ntdll.dll(KiUserExceptionDispatcher+0x2e)
[0x0000000077B3F638] [0x000003B7A8300000] [0x000000000202343D]
C:\Ruby21-x64\lib\ruby\gems\2.1.0\extensions\x64-mingw32\2.1.0\mysql2-0.3.16\mysql2\mysql2.so(Init_mysql2+0x5a)
[0x000000000202 43BA]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(dln_load+0x1d6)
[0x000000006B281646]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_vm_call_cfunc+0x130)
[0x000000006B414300]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_require_safe+0x56f)
[0x000000006B2D558F]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_error_arity+0x1c6)
[0x000000006B402206]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_f_send+0x5c1)
[0x000000006B411601]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x1618)
[0x000000006B406C98]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x5a8d)
[0x000000006B40B10D]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_iseq_eval+0x183)
[0x000000006B413C23]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_rubylevel_errinfo+0x66c)
[0x000000006B2D396C]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_require_safe+0x5a9)
[0x000000006B2D55C9]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_error_arity+0x1c6)
[0x000000006B402206]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x1618)
[0x000000006B406C98]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x5a8d)
[0x000000006B40B10D]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_funcall+0x503)
[0x000000006B40C503]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_yield+0x74)
[0x000000006B4134D4]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_ary_each+0x51)
[0x000000006B281971]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_error_arity+0x1c6)
[0x000000006B402206]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x1f61)
[0x000000006B4075E1]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x5a8d)
[0x000000006B40B10D]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_funcall+0x503)
[0x000000006B40C503]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_yield+0x74)
[0x000000006B4134D4]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_ary_each+0x51)
[0x000000006B281971]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_error_arity+0x1c6)
[0x000000006B402206]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_f_send+0x5c1)
[0x000000006B411601]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x1f61)
[0x000000006B4075E1]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x5a8d)
[0x000000006B40B10D]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_iseq_eval+0x183)
[0x000000006B413C23]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_rubylevel_errinfo+0x66c)
[0x000000006B2D396C]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_require_safe+0x5a9)
[0x000000006B2D55C9]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_error_arity+0x1c6)
[0x000000006B402206]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_f_send+0x5c1)
[0x000000006B411601]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x1618)
[0x000000006B406C98]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x5a8d)
[0x000000006B40B10D]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_funcall+0x503)
[0x000000006B40C503]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_yield+0x74)
[0x000000006B4134D4]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_obj_tap+0x16)
[0x000000006B32D5C6]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_error_arity+0x1c6)
[0x000000006B402206]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_f_send+0x5c1)
[0x000000006B411601]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x1f61)
[0x000000006B4075E1]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x5a8d)
[0x000000006B40B10D]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_iseq_eval+0x183)
[0x000000006B413C23]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_rubylevel_errinfo+0x66c)
[0x000000006B2D396C]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_require_safe+0x5a9)
[0x000000006B2D55C9]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_error_arity+0x1c6)
[0x000000006B402206]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_f_send+0x5c1)
[0x000000006B411601]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x1618)
[0x000000006B406C98]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x5a8d)
[0x000000006B40B10D]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_iseq_eval_main+0x1d0)
[0x000000006B413E40]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(rb_check_copyable+0x304a)
[0x000000006B2CF31A]
C:\Ruby21-x64\bin\x64-msvcrt-ruby210.dll(ruby_run_node+0x51)
[0x000000006B2D2231] [0x0000000000402D14] [0x00000000004013D7]
[0x00000000004014F8]
C:\Windows\system32\kernel32.dll(BaseThreadInitThunk+0xd)
[0x000000007763F34D]
-- Other runtime information -----------------------------------------------
Loaded script: bin/rails
Loaded features:
0 enumerator.so
1 C:/Ruby21-x64/lib/ruby/2.1.0/x64-mingw32/enc/encdb.so
2 C:/Ruby21-x64/lib/ruby/2.1.0/x64-mingw32/enc/iso_8859_1.so
3 C:/Ruby21-x64/lib/ruby/2.1.0/x64-mingw32/enc/trans/transdb.so
4 C:/Ruby21-x64/lib/ruby/2.1.0/x64-mingw32/rbconfig.rb
5 thread.rb
6 C:/Ruby21-x64/lib/ruby/2.1.0/x64-mingw32/thread.so
7 C:/Ruby21-x64/lib/ruby/site_ruby/2.1.0/rubygems/compatibility.rb
8 C:/Ruby21-x64/lib/ruby/site_ruby/2.1.0/rubygems/defaults.rb
9 C:/Ruby21-x64/lib/ruby/site_ruby/2.1.0/rubygems/deprecate.rb
And ending with:
580
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4.1.7/lib/active_support/number_helper.rb
581
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/actionview-4.1.7/lib/action_view/helpers/number_helper.rb
582
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4.1.7/lib/active_support/core_ext/module/concerning.rb
583
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4.1.7/lib/active_support/core_ext/module/qualified_const.rb
584
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4.1.7/lib/active_support/core_ext/module.rb
585
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/actionview-4.1.7/lib/action_view/record_identifier.rb
586
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/actionview-4.1.7/lib/action_view/helpers/record_tag_helper.rb 587
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/actionview-4.1.7/lib/action_view/helpers/rendering_helper.rb
588
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/actionview-4.1.7/lib/action_view/helpers/translation_helper.rb
589
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/actionview-4.1.7/lib/action_view/helpers.rb
590
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/sprockets-rails-2.2.0/lib/sprockets/rails/helper.rb
591
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/sprockets-rails-2.2.0/lib/sprockets/rails/version.rb
592
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/engine/configuration.rb
593
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/application/configuration.rb
594
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/sprockets-rails-2.2.0/lib/sprockets/railtie.rb
595
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/all.rb
596
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/mysql2-0.3.16/lib/mysql2/version.rb
597
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/mysql2-0.3.16/lib/mysql2/error.rb
[NOTE] You may have encountered a bug in the Ruby interpreter or
extension libraries. Bug reports are welcome. For details:
http://www.ruby-lang.org/bugreport.html
This application has requested the Runtime to terminate it in an
unusual way. Please contact the application's support team for more
information.
[NOTE] You may have encountered a bug in the Ruby Interpreter or
extension libraries. Bug reports and welcome.
For details: http://www.ruby-lang.org/bugreport.html
This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.
So, what do I need to do, to ride ruby on rails?
BTW: Initially I thought the problem could have been with the Webrick Server. So I have configured apache manually to listen to port 3000. However, this hasn't helped.
Another concern is that I can neither see the full output in the command prompt, nor can I save it to a text file. So I do not really know what the full error message is.
Webrick uses port 3000. Don't set Apache to listen to port 3000 because that will create a port conflict. Start webrick from the command line with 'rails s'.

RefineryCMS: app not running on Heroku

I did not add the --heroku option according to the guides/heroku. So I skipped to
2 Deploying an existing local Refinery application
And this is now my Gemfile
source 'https://rubygems.org'
gem 'rails', '3.2.14'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
group :development, :test do
gem 'sqlite3'
end
group :production do
gem 'pg'
end
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', :platforms => :ruby
gem 'uglifier', '>= 1.0.3'
end
gem 'jquery-rails'
gem 'taps'
# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'
# To use Jbuilder templates for JSON
# gem 'jbuilder'
# Use unicorn as the app server
# gem 'unicorn'
# Deploy with Capistrano
# gem 'capistrano'
# To use debugger
# gem 'debugger'
# Refinery CMS
gem 'refinerycms', '~> 2.1.0'
# Optionally, specify additional Refinery CMS Extensions here:
gem 'refinerycms-acts-as-indexed', '~> 1.0.0'
# gem 'refinerycms-blog', '~> 2.1.0'
# gem 'refinerycms-inquiries', '~> 2.1.0'
# gem 'refinerycms-search', '~> 2.1.0'
# gem 'refinerycms-page-images', '~> 2.1.0'
gem 'refinerycms-events', :path => 'vendor/extensions'
I already had an app created on Heroku. So I just ran the obvious heroku git:remote -a rickrolling and yes I did test it.
jgallardo:rickrockstar juan.gallardo$ git remote -v
heroku git#heroku.com:rickrolling.git (fetch)
heroku git#heroku.com:rickrolling.git (push)
I then did as instructed in
2.3 Step 3: Set up asset precompilation
Here is my application.rb
require File.expand_path('../boot', __FILE__)
require 'rails/all'
if defined?(Bundler)
# If you precompile assets before deploying to production, use this line
Bundler.require(*Rails.groups(:assets => %w(development test)))
# If you want your assets lazily compiled in production, use this line
# Bundler.require(:default, :assets, Rails.env)
end
module Rickrockstar
class Application < Rails::Application
# Settings in config/environments/* take precedence over those specified here.
# Application configuration should go into files in config/initializers
# -- all .rb files in that directory are automatically loaded.
# Custom directories with classes and modules you want to be autoloadable.
# config.autoload_paths += %W(#{config.root}/extras)
# Only load the plugins named here, in the order given (default is alphabetical).
# :all can be used as a placeholder for all plugins not explicitly named.
# config.plugins = [ :exception_notification, :ssl_requirement, :all ]
# Activate observers that should always be running.
# config.active_record.observers = :cacher, :garbage_collector, :forum_observer
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
config.time_zone = 'Pacific Time (US & Canada)'
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
# config.i18n.default_locale = :de
# Configure the default encoding used in templates for Ruby 1.9.
config.encoding = "utf-8"
# Configure sensitive parameters which will be filtered from the log file.
config.filter_parameters += [:password]
# Enable escaping HTML in JSON.
config.active_support.escape_html_entities_in_json = true
# Use SQL instead of Active Record's schema dumper when creating the database.
# This is necessary if your schema can't be completely dumped by the schema dumper,
# like if you have constraints or database-specific column types
# config.active_record.schema_format = :sql
# Enforce whitelist mode for mass assignment.
# This will create an empty whitelist of attributes available for mass-assignment for all models
# in your app. As such, your models will need to explicitly whitelist or blacklist accessible
# parameters by using an attr_accessible or attr_protected declaration.
config.active_record.whitelist_attributes = true
# Enable the asset pipeline
config.assets.enabled = true
# Version of your assets, change this if you want to expire all your assets
config.assets.version = '1.0'
config.assets.initialize_on_precompile = true
end
end
Then I ran heroku labs:enable user-env-compile and yes I verified what stack it was on
jgallardo:rickrockstar juan.gallardo$ heroku stack
=== rickrolling Available Stacks
bamboo-mri-1.9.2
bamboo-ree-1.8.7
* cedar
Because I already had data that I wanted to push I followed
2.5 Step 4 (Option 2): Copy your data from your local database to the Heroku app
which said to and did gem insall taps and heroku db:push but I got this error
jgallardo:rickrockstar juan.gallardo$ heroku db:push
/Users/juan.gallardo/.rvm/gems/ruby-2.0.0-p195/gems/sqlite3-1.3.8/lib/sqlite3 /sqlite3_native.bundle: [BUG] Segmentation fault
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin10.8.0]
-- Control frame information -----------------------------------------------
c:0020 p:-545436774 s:0082 b:0082 l:000081 d:000081 TOP
c:0019 p:---- s:0080 b:0080 l:000079 d:000079 CFUNC :require
c:0018 p:0036 s:0076 b:0076 l:000075 d:000075 METHOD /usr/local/heroku/ruby/lib/ruby/1.9.1/rubygems/custom_require.rb:36
c:0017 p:0029 s:0069 b:0069 l:000065 d:000068 BLOCK /Users/juan.gallardo/.rvm/gems/ruby-2.0.0- p195/gems/sqlite3-1.3.8/lib/sqlite3.rb:6
c:0016 p:0035 s:0066 b:0066 l:000065 d:000065 TOP /Users/juan.gallardo/.rvm/gems/ruby-2.0.0-p195/gems/sqlite3-1.3.8/lib/sqlite3.rb:2
c:0015 p:---- s:0064 b:0064 l:000063 d:000063 FINISH
c:0014 p:---- s:0062 b:0062 l:000061 d:000061 CFUNC :require
c:0013 p:0089 s:0058 b:0058 l:000054 d:000057 BLOCK /usr/local/heroku/ruby/lib/ruby/1.9.1/rubygems/custom_require.rb:60
c:0012 p:0158 s:0055 b:0055 l:000054 d:000054 METHOD /usr/local/heroku/ruby/lib/ruby/1.9.1/rubygems/custom_require.rb:35
c:0011 p:0109 s:0048 b:0047 l:000046 d:000046 TOP /Users/juan.gallardo/.rvm/gems/ruby-2.0.0-p195/gems/taps-0.3.24/lib/taps/cli.rb:10
c:0010 p:---- s:0045 b:0045 l:000044 d:000044 FINISH
c:0009 p:---- s:0043 b:0043 l:000042 d:000042 CFUNC :require
c:0008 p:0036 s:0039 b:0039 l:000038 d:000038 METHOD /usr/local/heroku/ruby/lib/ruby/1.9.1/rubygems/custom_require.rb:36
c:0007 p:0040 s:0032 b:0032 l:000031 d:000031 METHOD /Users/juan.gallardo/.heroku/client/lib/heroku/command/db.rb:208
c:0006 p:0011 s:0028 b:0028 l:000027 d:000027 METHOD /Users/juan.gallardo/.heroku/client/lib/heroku/command/db.rb:24
c:0005 p:0046 s:0024 b:0024 l:000023 d:000023 METHOD /Users/juan.gallardo/.heroku/client/lib/heroku/command.rb:206
c:0004 p:0112 s:0014 b:0014 l:000013 d:000013 METHOD /Users/juan.gallardo/.heroku/client/lib/heroku/cli.rb:28
c:0003 p:0232 s:0008 b:0008 l:0002a8 d:0003d8 EVAL /usr/local/heroku/bin/heroku:24
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:0002a8 d:0002a8 TOP
-- Ruby level backtrace information ----------------------------------------
/usr/local/heroku/bin/heroku:24:in `<main>'
/Users/juan.gallardo/.heroku/client/lib/heroku/cli.rb:28:in `start'
/Users/juan.gallardo/.heroku/client/lib/heroku/command.rb:206:in `run'
/Users/juan.gallardo/.heroku/client/lib/heroku/command/db.rb:24:in `push'
/Users/juan.gallardo/.heroku/client/lib/heroku/command/db.rb:208:in `load_taps'
/usr/local/heroku/ruby/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/local/heroku/ruby/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/Users/juan.gallardo/.rvm/gems/ruby-2.0.0-p195/gems/taps-0.3.24/lib/taps/cli.rb:10:in `<top (required)>'
/usr/local/heroku/ruby/lib/ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
/usr/local/heroku/ruby/lib/ruby/1.9.1/rubygems/custom_require.rb:60:in `rescue in require'
/usr/local/heroku/ruby/lib/ruby/1.9.1/rubygems/custom_require.rb:60:in `require'
/Users/juan.gallardo/.rvm/gems/ruby-2.0.0-p195/gems/sqlite3-1.3.8/lib/sqlite3.rb:2:in `<top (required)>'
/Users/juan.gallardo/.rvm/gems/ruby-2.0.0-p195/gems/sqlite3-1.3.8/lib/sqlite3.rb:6:in `rescue in <top (required)>'
/usr/local/heroku/ruby/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/local/heroku/ruby/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
-- C level backtrace information -------------------------------------------
See Crash Report log file under ~/Library/Logs/CrashReporter or
/Library/Logs/CrashReporter, for the more detail of.
-- Other runtime information -----------------------------------------------
* Loaded script: /usr/local/heroku/bin/heroku
* Loaded features:
0 enumerator.so
1 /usr/local/heroku/ruby/lib/ruby/1.9.1/x86_64-darwin10.8.0/enc/encdb.bundle
2 /usr/local/heroku/ruby/lib/ruby/1.9.1/x86_64-darwin10.8.0/enc/trans/transdb.bundle
3 /usr/local/heroku/ruby/lib/ruby/1.9.1/rubygems/defaults.rb
4 /usr/local/heroku/ruby/lib/ruby/1.9.1/x86_64-darwin10.8.0/rbconfig.rb
5 /usr/local/heroku/ruby/lib/ruby/1.9.1/rubygems/deprecate.rb
6 /usr/local/heroku/ruby/lib/ruby/1.9.1/rubygems/exceptions.rb
7 /usr/local/heroku/ruby/lib/ruby/1.9.1/rubygems/custom_require.rb
8 /usr/local/heroku/ruby/lib/ruby/1.9.1/rubygems.rb
9 /usr/local/heroku/ruby/lib/ruby/1.9.1/x86_64-darwin10.8.0/pathname.bundle
10 /usr/local/heroku/ruby/lib/ruby/1.9.1/pathname.rb
11 /usr/local/heroku/ruby/lib/ruby/1.9.1/x86_64-darwin10.8.0/digest.bundle
12 /usr/local/heroku/ruby/lib/ruby/1.9.1/digest.rb
13 /usr/local/heroku/ruby/lib/ruby/1.9.1/x86_64-darwin10.8.0/etc.bundle
14 /usr/local/heroku/ruby/lib/ruby/1.9.1/fileutils.rb
15 /usr/local/heroku/ruby/lib/ruby/1.9.1/x86_64-darwin10.8.0/stringio.bundle
16 /usr/local/heroku/lib/vendor/heroku/okjson.rb
17 /usr/local/heroku/lib/heroku/helpers.rb
18 /usr/local/heroku/lib/heroku/updater.rb
19 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/parseexception.rb
20 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/formatters/default.rb
21 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/formatters/pretty.rb
22 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/node.rb
23 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/child.rb
24 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/parent.rb
25 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/xmltokens.rb
26 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/namespace.rb
27 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/encoding.rb
28 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/source.rb
29 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/entity.rb
30 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/attlistdecl.rb
31 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/doctype.rb
32 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/text.rb
33 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/attribute.rb
34 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/cdata.rb
35 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/functions.rb
36 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/syncenumerator.rb
37 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/parsers/xpathparser.rb
38 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/xpath_parser.rb
39 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/xpath.rb
40 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/element.rb
41 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/xmldecl.rb
42 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/comment.rb
43 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/instruction.rb
44 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/rexml.rb
45 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/output.rb
46 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/undefinednamespaceexception.rb
47 /usr/local/heroku/ruby/lib/ruby/1.9.1/set.rb
48 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/parsers/baseparser.rb
49 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/parsers/streamparser.rb
50 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/validation/validationexception.rb
51 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/parsers/treeparser.rb
52 /usr/local/heroku/ruby/lib/ruby/1.9.1/rexml/document.rb
53 /usr/local/heroku/ruby/lib/ruby/1.9.1/uri/common.rb
54 /usr/local/heroku/ruby/lib/ruby/1.9.1/uri/generic.rb
55 /usr/local/heroku/ruby/lib/ruby/1.9.1/uri/ftp.rb
56 /usr/local/heroku/ruby/lib/ruby/1.9.1/uri/http.rb
57 /usr/local/heroku/ruby/lib/ruby/1.9.1/uri/https.rb
58 /usr/local/heroku/ruby/lib/ruby/1.9.1/uri/ldap.rb
59 /usr/local/heroku/ruby/lib/ruby/1.9.1/uri/ldaps.rb
60 /usr/local/heroku/ruby/lib/ruby/1.9.1/uri/mailto.rb
61 /usr/local/heroku/ruby/lib/ruby/1.9.1/uri.rb
62 /usr/local/heroku/ruby/lib/ruby/1.9.1/x86_64-darwin10.8.0/date_core.bundle
63 /usr/local/heroku/ruby/lib/ruby/1.9.1/date/format.rb
64 /usr/local/heroku/ruby/lib/ruby/1.9.1/date.rb
65 /usr/local/heroku/ruby/lib/ruby/1.9.1/time.rb
66 /usr/local/heroku/ruby/lib/ruby/1.9.1/cgi/core.rb
67 /usr/local/heroku/ruby/lib/ruby/1.9.1/cgi/cookie.rb
68 /usr/local/heroku/ruby/lib/ruby/1.9.1/cgi/util.rb
69 /usr/local/heroku/ruby/lib/ruby/1.9.1/cgi.rb
70 /Users/juan.gallardo/.heroku/client/vendor/gems/netrc-0.7.7/lib/netrc.rb
71 /Users/juan.gallardo/.heroku/client/lib/heroku/auth.rb
72 /Users/juan.gallardo/.heroku/client/lib/heroku/plugin.rb
73 /Users/juan.gallardo/.heroku/client/lib/heroku/version.rb
74 /usr/local/heroku/ruby/lib/ruby/1.9.1/optparse.rb
75 /Users/juan.gallardo/.heroku/client/lib/heroku/command.rb
76 /Users/juan.gallardo/.heroku/client/lib/heroku/client/ssl_endpoint.rb
77 /Users/juan.gallardo/.heroku/client/lib/heroku/client.rb
78 /Users/juan.gallardo/.heroku/client/lib/heroku.rb
79 /Users/juan.gallardo/.heroku/client/lib/heroku/cli.rb
80 /usr/local/heroku/ruby/lib/ruby/1.9.1/timeout.rb
81 /usr/local/heroku/ruby/lib/ruby/1.9.1/x86_64-darwin10.8.0/socket.bundle
82 /usr/local/heroku/ruby/lib/ruby/1.9.1/socket.rb
83 /Users/juan.gallardo/.heroku/client/lib/heroku/client/rendezvous.rb
84 /Users/juan.gallardo/.heroku/client/lib/heroku/command/base.rb
85 /Users/juan.gallardo/.heroku/client/lib/heroku/command/account.rb
86 /Users/juan.gallardo/.heroku/client/lib/heroku/command/accounts.rb
87 /Users/juan.gallardo/.heroku/client/lib/heroku/helpers/heroku_postgresql.rb
88 /Users/juan.gallardo/.heroku/client/lib/heroku/command/addons.rb
89 /Users/juan.gallardo/.heroku/client/lib/heroku/command/apps.rb
90 /Users/juan.gallardo/.heroku/client/lib/heroku/command/auth.rb
114 /Users/juan.gallardo/.heroku/client/vendor/gems/excon-0.23.0/lib/excon.rb
115 /Users/juan.gallardo/.heroku/client/lib/heroku/command/certs.rb
116 /Users/juan.gallardo/.heroku/client/lib/heroku/command/config.rb
117 /Users/juan.gallardo/.heroku/client/lib/heroku/command/db.rb
118 /Users/juan.gallardo/.heroku/client/lib/heroku/command/domains.rb
119 /Users/juan.gallardo/.heroku/client/lib/heroku/command/drains.rb
120 /Users/juan.gallardo/.heroku/client/lib/heroku/client/cisaurus.rb
121 /Users/juan.gallardo/.heroku/client/lib/heroku/command/fork.rb
122 /Users/juan.gallardo/.heroku/client/lib/heroku/command/git.rb
123 /Users/juan.gallardo/.heroku/client/lib/heroku/deprecated.rb
124 /Users/juan.gallardo/.heroku/client/lib/heroku/deprecated/help.rb
125 /Users/juan.gallardo/.heroku/client/lib/heroku/command/help.rb
126 /Users/juan.gallardo/.heroku/client/lib/heroku/command/keys.rb
127 /Users/juan.gallardo/.heroku/client/lib/heroku/command/labs.rb
128 /Users/juan.gallardo/.heroku/client/lib/heroku/helpers/log_displayer.rb
129 /Users/juan.gallardo/.heroku/client/lib/heroku/command/logs.rb
130 /Users/juan.gallardo/.heroku/client/lib/heroku/command/maintenance.rb
131 /Users/juan.gallardo/.heroku/client/lib/heroku/client/heroku_postgresql.rb
132 /Users/juan.gallardo/.heroku/client/lib/heroku/command/pg.rb
133 /Users/juan.gallardo/.heroku/client/lib/heroku/client/pgbackups.rb
134 /Users/juan.gallardo/.heroku/client/lib/heroku/command/pgbackups.rb
135 /Users/juan.gallardo/.heroku/client/lib/heroku/command/plugins.rb
136 /Users/juan.gallardo/.heroku/client/lib/heroku/command/ps.rb
137 /Users/juan.gallardo/.heroku/client/lib/heroku/command/regions.rb
138 /Users/juan.gallardo/.heroku/client/lib/heroku/command/releases.rb
139 /usr/local/heroku/ruby/lib/ruby/1.9.1/x86_64-darwin10.8.0/readline.bundle
140 /Users/juan.gallardo/.heroku/client/lib/heroku/command/run.rb
141 /Users/juan.gallardo/.heroku/client/lib/heroku/command/sharing.rb
142 /Users/juan.gallardo/.heroku/client/lib/heroku/command/ssl.rb
143 /Users/juan.gallardo/.heroku/client/lib/heroku/command/stack.rb
144 /Users/juan.gallardo/.heroku/client/lib/heroku/command/status.rb
145 /Users/juan.gallardo/.heroku/client/lib/heroku/command/update.rb
146 /Users/juan.gallardo/.heroku/client/lib/heroku/command/version.rb
245 /Users/juan.gallardo/.rvm/gems/ruby-2.0.0-p195/gems/taps-0.3.24/lib/taps/version.rb
246 /Users/juan.gallardo/.rvm/gems/ruby-2.0.0-p195/gems/taps-0.3.24/lib/taps/config.rb
247 /Users/juan.gallardo/.rvm/gems/ruby-2.0.0-p195/gems/taps-0.3.24/lib/taps/errors.rb
248 /Users/juan.gallardo/.rvm/gems/ruby-2.0.0-p195/gems/taps-0.3.24/lib/taps/chunksize.rb
249 /Users/juan.gallardo/.rvm/gems/ruby-2.0.0-p195/gems/taps-0.3.24/lib/taps/utils.rb
250 /Users/juan.gallardo/.rvm/gems/ruby-2.0.0-p195/gems/taps-0.3.24/lib/taps/monkey.rb
251 /Users/juan.gallardo/.rvm/gems/ruby-2.0.0-p195/gems/rack-1.5.2/lib/rack/multipart.rb
252 /Users/juan.gallardo/.rvm/gems/ruby-2.0.0-p195/gems/rack-1.5.2/lib/rack/utils.rb
253 /Users/juan.gallardo/.rvm/gems/ruby-2.0.0-p195/gems/taps-0.3.24/lib/vendor/okjson.rb
254 /Users/juan.gallardo/.rvm/gems/ruby-2.0.0-p195/gems/taps-0.3.24/lib/taps/multipart.rb
255 /Users/juan.gallardo/.rvm/gems/ruby-2.0.0-p195/gems/taps-0.3.24/lib/taps/log.rb
256 /Users/juan.gallardo/.rvm/gems/ruby-2.0.0-p195/gems/taps-0.3.24/lib/taps/data_stream.rb
257 /Users/juan.gallardo/.rvm/gems/ruby-2.0.0-p195/gems/taps-0.3.24/lib/taps/operation.rb
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
Abort trap: 6
Some lines are missing because I exceeded the character count. But the full file is at https://gist.github.com/JGallardo/6370370
And yes, I did try heroku restart per https://groups.google.com/forum/#!topic/refinery-cms/VjjTQijkM6k
So tyring to figure out the next step from here. Not too savvy yet with interpretting the error reports.
Ordinarily I would have thought having sqlite3 in there under the development group would be fine but the error is coming from Heroku trying to install sqlite3 and the sqlite3 gem is not compatible with Heroku. So, I'd try removing that from your Gemfile completely and seeing whether that helps.
Unfortunatly your gist links is not working but I am assuming you have an issue with dates columns.
Sqlite and postgresql don't handle dates the same way. So copying your data from your local sqlite database would be an issue.
You can reset your heroku db then run merge, and seed commands so you can see your app up and running.
heroku pg:reset DATABASE --confirm YOUR_APP_NAME
heroku run rake db:setup
Then you have to figure a way to populate your local data.

Ruby on Rails Eventmachine segfault

Having some seriously strange problems with my rails install, any help much appreciated.
It all began when I ran bundle clean --force hoping to solve some gem issues with a project. I then ran bundle install, but things were never the same. First, I had a weird [BUG] cross-thread violation on rb_gc() error when running rails s. After running gem clean I managed to move on to a new error:
bundle exec rails s
/Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/eventmachine-0.12.10/lib/rubyeventmachine.bundle: [BUG] Segmentation fault
ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin11.3.0]
-- Control frame information -----------------------------------------------
c:0034 p:-17535289580530 s:0105 b:0105 l:000104 d:000104 TOP
c:0033 p:---- s:0103 b:0103 l:000102 d:000102 CFUNC :require
c:0032 p:0010 s:0099 b:0099 l:000091 d:000098 BLOCK /Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251
c:0031 p:0071 s:0097 b:0097 l:000096 d:000096 METHOD /Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:236
c:0030 p:0019 s:0092 b:0092 l:000091 d:000091 METHOD /Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251
c:0029 p:0150 s:0087 b:0087 l:000086 d:000086 TOP /Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/eventmachine-0.12.10/lib/eventmachine.rb:66
c:0028 p:---- s:0085 b:0085 l:000084 d:000084 FINISH
c:0027 p:---- s:0083 b:0083 l:000082 d:000082 CFUNC :require
c:0026 p:0010 s:0079 b:0079 l:000071 d:000078 BLOCK /Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251
c:0025 p:0071 s:0077 b:0077 l:000076 d:000076 METHOD /Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:236
c:0024 p:0019 s:0072 b:0072 l:000071 d:000071 METHOD /Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251
c:0023 p:0083 s:0067 b:0067 l:000066 d:000066 TOP /Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/thin-1.3.1/lib/thin.rb:7
c:0022 p:---- s:0065 b:0065 l:000064 d:000064 FINISH
c:0021 p:---- s:0063 b:0063 l:000062 d:000062 CFUNC :require
c:0020 p:0026 s:0059 b:0059 l:000039 d:000058 BLOCK /Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/bundler-1.1.3/lib/bundler/runtime.rb:68
c:0019 p:---- s:0056 b:0056 l:000055 d:000055 FINISH
c:0018 p:---- s:0054 b:0054 l:000053 d:000053 CFUNC :each
c:0017 p:0091 s:0051 b:0051 l:000039 d:000050 BLOCK /Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/bundler-1.1.3/lib/bundler/runtime.rb:66
c:0016 p:---- s:0045 b:0045 l:000044 d:000044 FINISH
c:0015 p:---- s:0043 b:0043 l:000042 d:000042 CFUNC :each
c:0014 p:0046 s:0040 b:0040 l:000039 d:000039 METHOD /Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/bundler-1.1.3/lib/bundler/runtime.rb:55
c:0013 p:0021 s:0036 b:0036 l:000035 d:000035 METHOD /Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/bundler-1.1.3/lib/bundler.rb:119
c:0012 p:0089 s:0032 b:0032 l:000031 d:000031 TOP /Users/yuletide/code/txtyourcity_rails/config/application.rb:7
c:0011 p:---- s:0030 b:0030 l:000029 d:000029 FINISH
c:0010 p:---- s:0028 b:0028 l:000027 d:000027 CFUNC :require
c:0009 p:0016 s:0024 b:0024 l:000015 d:000023 BLOCK /Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.3/lib/rails/commands.rb:53
c:0008 p:---- s:0021 b:0021 l:000020 d:000020 FINISH
c:0007 p:---- s:0019 b:0019 l:000018 d:000018 CFUNC :tap
c:0006 p:0702 s:0016 b:0016 l:000015 d:000015 TOP /Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.3/lib/rails/commands.rb:50
c:0005 p:---- s:0012 b:0012 l:000011 d:000011 FINISH
c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC :require
c:0003 p:0061 s:0006 b:0006 l:000df8 d:0008c8 EVAL script/rails:6
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:000df8 d:000df8 TOP
-- Ruby level backtrace information ----------------------------------------
script/rails:6:in `'
script/rails:6:in `require'
/Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.3/lib/rails/commands.rb:50:in `'
/Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.3/lib/rails/commands.rb:50:in `tap'
/Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.3/lib/rails/commands.rb:53:in `block in '
/Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.3/lib/rails/commands.rb:53:in `require'
/Users/yuletide/code/txtyourcity_rails/config/application.rb:7:in `'
/Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/bundler-1.1.3/lib/bundler.rb:119:in `require'
/Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in `require'
/Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in `each'
/Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/bundler-1.1.3/lib/bundler/runtime.rb:66:in `block in require'
/Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/bundler-1.1.3/lib/bundler/runtime.rb:66:in `each'
/Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/bundler-1.1.3/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
/Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/bundler-1.1.3/lib/bundler/runtime.rb:68:in `require'
/Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/thin-1.3.1/lib/thin.rb:7:in `'
/Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
/Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:236:in `load_dependency'
/Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `block in require'
/Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
/Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/eventmachine-0.12.10/lib/eventmachine.rb:66:in `'
/Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
/Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:236:in `load_dependency'
/Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `block in require'
/Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
-- C level backtrace information -------------------------------------------
See Crash Report log file under ~/Library/Logs/CrashReporter or
/Library/Logs/CrashReporter, for the more detail of.
-- Other runtime information -----------------------------------------------
* Loaded script: script/rails
* Loaded features:
0 enumerator.so
1 /Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/x86_64-darwin11.3.0/enc/encdb.bundle
2 /Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/x86_64-darwin11.3.0/enc/trans/transdb.bundle
3 /Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/defaults.rb
4 /Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/x86_64-darwin11.3.0/rbconfig.rb
5 /Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/deprecate.rb
6 /Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/exceptions.rb
7 /Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb
8 /Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems.rb
9 /Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/x86_64-darwin11.3.0/pathname.bundle
10 /Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/pathname.rb
11 /Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/version.rb
12 /Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/x86_64-darwin11.3.0/etc.bundle
13 /Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/config_file.rb
14 /Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/requirement.rb
15 /Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb
16 /Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/platform.rb
17 /Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb
18 /Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/path_support.rb
19 /Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/x86_64-darwin11.3.0/psych.bundle
20 /Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/x86_64-darwin11.3.0/stringio.bundle
21 /Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/psych/nodes/node.rb
22 /Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/psych/nodes/stream.rb
23 /Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/psych/nodes/document.rb
24 /Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/psych/nodes/sequence.rb
25 /Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/psych/nodes/scalar.rb
26 /Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/psych/nodes/mapping.rb
27 /Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/psych/nodes/alias.rb
28 /Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/psych/nodes.rb
29 /Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/psych/streaming.rb
30 /Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/psych/visitors/visitor.rb
31 /Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/x86_64-darwin11.3.0/strscan.bundle
... snip ...
2.0.2/lib/simple_form/wrappers/builder.rb
629 /Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/simple_form-2.0.2/lib/simple_form/wrappers/many.rb
630 /Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/simple_form-2.0.2/lib/simple_form/wrappers/single.rb
631 /Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/simple_form-2.0.2/lib/simple_form/wrappers/root.rb
632 /Users/yuletide/.rvm/gems/ruby-1.9.3-p125/gems/simple_form-2.0.2/lib/simple_form.rb
633 /Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/timeout.rb
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
[1] 1577 abort bundle exec rails s
gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.8.21
- RUBY VERSION: 1.9.3 (2012-02-16 patchlevel 125) [x86_64-darwin11.3.0]
- INSTALLATION DIRECTORY: /Users/ayule/.rvm/gems/ruby-1.9.3-p125
- RUBY EXECUTABLE: /Users/ayule/.rvm/rubies/ruby-1.9.3-p125/bin/ruby
- EXECUTABLE DIRECTORY: /Users/ayule/.rvm/gems/ruby-1.9.3-p125/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-darwin-11
- GEM PATHS:
- /Users/ayule/.rvm/gems/ruby-1.9.3-p125
- /Users/ayule/.rvm/gems/ruby-1.9.3-p125#global
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://rubygems.org/
rvm seems to be working fine:
code/txtyourcity_rails(master) ☸ which ruby
/Users/yuletide/.rvm/rubies/ruby-1.9.3-p125/bin/ruby
code/txtyourcity_rails(master) ☸ which rails
/Users/yuletide/.rvm/gems/ruby-1.9.3-p125/bin/rails
Just guessing - have you build your ruby using clang/LLVM, ruby is not yet ready for it, the bug should be reported most likely to bundler / ruby.
To fix follow instructions from my other answer https://stackoverflow.com/a/10540282/497756 to similar problem.
Not sure what caused it initially, but managed to get the error to go away by upgrading to 1.9.3-p194 with rvm, creating a .rvmrc, and then running bundle install

Problems starting Sidekiq

I'm trying to use the new Sidekiq gem in my rails application but when I run sidekiq I get:
Booting sidekiq 0.5.1 with Redis at redis://localhost:6379/0
/Users/Kyle/.rvm/gems/ruby-1.9.2-p290#skateparks/gems/celluloid-0.8.0/lib/celluloid/task.rb:56: [BUG] Bus Error
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.2.0]
-- control frame ----------
c:0010 p:---- s:0034 b:0034 l:000033 d:000033 CFUNC :resume
c:0009 p:0018 s:0030 b:0030 l:000029 d:000029 METHOD /Users/Kyle/.rvm/gems/ruby-1.9.2-p290#skateparks/gems/celluloid-0.8.0/lib/celluloid/task.rb:56
c:0008 p:0081 s:0025 b:0025 l:000c40 d:000c40 METHOD /Users/Kyle/.rvm/gems/ruby-1.9.2-p290#skateparks/gems/celluloid-0.8.0/lib/celluloid/actor.rb:181
c:0007 p:0052 s:0021 b:0021 l:000020 d:000020 METHOD /Users/Kyle/.rvm/gems/ruby-1.9.2-p290#skateparks/gems/celluloid-0.8.0/lib/celluloid/actor.rb:130
c:0006 p:0061 s:0015 b:0015 l:001db0 d:000014 BLOCK /Users/Kyle/.rvm/gems/ruby-1.9.2-p290#skateparks/gems/celluloid-0.8.0/lib/celluloid/actor.rb:89
c:0005 p:---- s:0013 b:0013 l:000012 d:000012 FINISH
c:0004 p:---- s:0011 b:0011 l:000010 d:000010 CFUNC :call
c:0003 p:0021 s:0008 b:0008 l:001f98 d:000007 BLOCK /Users/Kyle/.rvm/gems/ruby-1.9.2-p290#skateparks/gems/celluloid-0.8.0/lib/celluloid/thread_pool.rb:46
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:---- s:0002 b:0002 l:000001 d:000001 TOP
---------------------------
-- Ruby level backtrace information ----------------------------------------
/Users/Kyle/.rvm/gems/ruby-1.9.2-p290#skateparks/gems/celluloid-0.8.0/lib/celluloid/thread_pool.rb:46:in `block in create'
/Users/Kyle/.rvm/gems/ruby-1.9.2-p290#skateparks/gems/celluloid-0.8.0/lib/celluloid/thread_pool.rb:46:in `call'
/Users/Kyle/.rvm/gems/ruby-1.9.2-p290#skateparks/gems/celluloid-0.8.0/lib/celluloid/actor.rb:89:in `block in initialize'
/Users/Kyle/.rvm/gems/ruby-1.9.2-p290#skateparks/gems/celluloid-0.8.0/lib/celluloid/actor.rb:130:in `run'
/Users/Kyle/.rvm/gems/ruby-1.9.2-p290#skateparks/gems/celluloid-0.8.0/lib/celluloid/actor.rb:181:in `handle_message'
/Users/Kyle/.rvm/gems/ruby-1.9.2-p290#skateparks/gems/celluloid-0.8.0/lib/celluloid/task.rb:56:in `resume'
/Users/Kyle/.rvm/gems/ruby-1.9.2-p290#skateparks/gems/celluloid-0.8.0/lib/celluloid/task.rb:56:in `resume'
-- C level backtrace information -------------------------------------------
0 libruby.1.9.1.dylib 0x000000010834f51e rb_vm_bugreport + 110
1 libruby.1.9.1.dylib 0x0000000108243533 report_bug + 259
2 libruby.1.9.1.dylib 0x00000001082436a1 rb_bug + 161
3 libruby.1.9.1.dylib 0x00000001082e5fb2 sigbus + 18
4 libsystem_c.dylib 0x00007fff967d7cfa _sigtramp + 26
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
[1] 1782 abort sidekiq
First, you should not be using 1.9.2 for this gem (1.9.3-p0 or higher) and second there is an open issue (GH-26) that references this error.

Resources