Last active
August 29, 2015 14:16
-
-
Save donv/096a69cc8ba7b63ca06c to your computer and use it in GitHub Desktop.
Exception starting Rails with jruby-head
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'https://rubygems.org' | |
gem 'rails', '4.1.9' | |
platform :ruby do | |
gem 'pg' | |
gem 'rmagick' | |
end | |
platform :jruby do | |
gem 'activerecord-jdbcpostgresql-adapter' | |
gem 'rmagick4j' | |
end | |
gem 'coffee-rails', '~> 4.0.0' | |
gem 'jbuilder', '~> 2.0' | |
gem 'jquery-rails' | |
# gem 'puma' | |
gem 'sass-rails', '~> 4.0.3' | |
gem 'sdoc', '~> 0.4.0', group: :doc | |
gem 'spring', group: :development | |
gem 'turbolinks' | |
gem 'uglifier', '>= 1.3.0' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
reserve-pc:cool_app uwe$ rails s | |
=> Booting WEBrick | |
=> Rails 4.1.9 application starting in development on http://0.0.0.0:3000 | |
=> Run `rails server -h` for more startup options | |
=> Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option) | |
=> Ctrl-C to shutdown server | |
Exiting | |
TypeError: nil is not a string | |
method_defined? at org/jruby/RubyModule.java:2388 | |
__script__ at /Users/uwe/.rvm/gems/jruby-head/gems/activesupport-4.1.9/lib/active_support/core_ext/module/remove_method.rb:3 | |
class_attribute_CLOSURE_1_CLOSURE_4_CLOSURE_5__class_attribute_CLOSURE_1_CLOSURE_4_4 at /Users/uwe/.rvm/gems/jruby-head/gems/activesupport-4.1.9/lib/active_support/core_ext/class/attribute.rb:85 | |
module_eval at org/jruby/RubyModule.java:2450 | |
class_attribute_CLOSURE_1_CLOSURE_4__class_attribute_CLOSURE_1_3 at /Users/uwe/.rvm/gems/jruby-head/gems/activesupport-4.1.9/lib/active_support/core_ext/class/attribute.rb:84 | |
(root) at /Users/uwe/.rvm/gems/jruby-head/gems/actionview-4.1.9/lib/action_view/view_paths.rb:9 | |
module_eval at org/jruby/RubyModule.java:2450 | |
__script__ at /Users/uwe/.rvm/gems/jruby-head/gems/activesupport-4.1.9/lib/active_support/concern.rb:120 | |
include at org/jruby/RubyModule.java:2229 | |
append_features_CLOSURE_1__append_features_1 at /Users/uwe/.rvm/gems/jruby-head/gems/activesupport-4.1.9/lib/active_support/concern.rb:117 | |
each at org/jruby/RubyArray.java:1569 | |
__script__ at /Users/uwe/.rvm/gems/jruby-head/gems/activesupport-4.1.9/lib/active_support/concern.rb:117 | |
include at org/jruby/RubyModule.java:2229 | |
(root) at /Users/uwe/.rvm/gems/jruby-head/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:407 | |
(root) at /Users/uwe/.rvm/gems/jruby-head/gems/actionmailer-4.1.9/lib/action_mailer/railtie.rb:1 | |
call at org/jruby/RubyProc.java:289 | |
(root) at /Users/uwe/.rvm/gems/jruby-head/gems/actionmailer-4.1.9/lib/action_mailer/railtie.rb:50 | |
execute_hook at /Users/uwe/.rvm/gems/jruby-head/gems/activesupport-4.1.9/lib/active_support/lazy_load_hooks.rb:36 | |
each at org/jruby/RubyArray.java:1569 | |
run_load_hooks at /Users/uwe/.rvm/gems/jruby-head/gems/activesupport-4.1.9/lib/active_support/lazy_load_hooks.rb:45 | |
run_load_hooks at /Users/uwe/.rvm/gems/jruby-head/gems/activesupport-4.1.9/lib/active_support/lazy_load_hooks.rb:44 | |
instance_exec at org/jruby/RubyBasicObject.java:1668 | |
__script__ at /Users/uwe/.rvm/gems/jruby-head/gems/railties-4.1.9/lib/rails/initializable.rb:30 | |
(root) at /Users/uwe/.rvm/gems/jruby-head/gems/railties-4.1.9/lib/rails/application/finisher.rb:64 | |
run_initializers at /Users/uwe/.rvm/gems/jruby-head/gems/railties-4.1.9/lib/rails/initializable.rb:55 | |
tsort_each at /Users/uwe/.rvm/rubies/jruby-head/lib/ruby/stdlib/tsort.rb:226 | |
__script__ at /Users/uwe/.rvm/rubies/jruby-head/lib/ruby/stdlib/tsort.rb:429 | |
each_strongly_connected_component at /Users/uwe/.rvm/rubies/jruby-head/lib/ruby/stdlib/tsort.rb:348 | |
each at org/jruby/RubyArray.java:1569 | |
call at org/jruby/RubyMethod.java:130 | |
each_strongly_connected_component at /Users/uwe/.rvm/rubies/jruby-head/lib/ruby/stdlib/tsort.rb:347 | |
each_strongly_connected_component at /Users/uwe/.rvm/rubies/jruby-head/lib/ruby/stdlib/tsort.rb:345 | |
tsort_each at /Users/uwe/.rvm/rubies/jruby-head/lib/ruby/stdlib/tsort.rb:224 | |
tsort_each at /Users/uwe/.rvm/rubies/jruby-head/lib/ruby/stdlib/tsort.rb:203 | |
run_initializers at /Users/uwe/.rvm/gems/jruby-head/gems/railties-4.1.9/lib/rails/initializable.rb:54 | |
initialize! at /Users/uwe/.rvm/gems/jruby-head/gems/railties-4.1.9/lib/rails/application.rb:300 | |
require at org/jruby/RubyKernel.java:966 | |
(root) at /Users/uwe/workspace/experiments/cool_app/config/environment.rb:5 | |
__script__ at /Users/uwe/.rvm/gems/jruby-head/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:232 | |
(root) at /Users/uwe/.rvm/gems/jruby-head/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:1 | |
require at /Users/uwe/.rvm/gems/jruby-head/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:247 | |
instance_eval at org/jruby/RubyBasicObject.java:1631 | |
require at /Users/uwe/.rvm/gems/jruby-head/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:247 | |
new_from_string at /Users/uwe/workspace/experiments/cool_app/config.ru:3 | |
eval at org/jruby/RubyKernel.java:1005 | |
initialize at /Users/uwe/.rvm/gems/jruby-head/gems/rack-1.5.2/lib/rack/builder.rb:55 | |
new_from_string at /Users/uwe/workspace/experiments/cool_app/config.ru:0 | |
new_from_string at /Users/uwe/.rvm/gems/jruby-head/gems/rack-1.5.2/lib/rack/builder.rb:49 | |
parse_file at /Users/uwe/.rvm/gems/jruby-head/gems/rack-1.5.2/lib/rack/builder.rb:40 | |
build_app_and_options_from_config at /Users/uwe/.rvm/gems/jruby-head/gems/rack-1.5.2/lib/rack/server.rb:277 | |
app at /Users/uwe/.rvm/gems/jruby-head/gems/rack-1.5.2/lib/rack/server.rb:199 | |
app at /Users/uwe/.rvm/gems/jruby-head/gems/railties-4.1.9/lib/rails/commands/server.rb:50 | |
wrapped_app at /Users/uwe/.rvm/gems/jruby-head/gems/rack-1.5.2/lib/rack/server.rb:314 | |
log_to_stdout at /Users/uwe/.rvm/gems/jruby-head/gems/railties-4.1.9/lib/rails/commands/server.rb:130 | |
tap at org/jruby/RubyKernel.java:1777 | |
start at /Users/uwe/.rvm/gems/jruby-head/gems/railties-4.1.9/lib/rails/commands/server.rb:67 | |
server at /Users/uwe/.rvm/gems/jruby-head/gems/railties-4.1.9/lib/rails/commands/commands_tasks.rb:81 | |
server at /Users/uwe/.rvm/gems/jruby-head/gems/railties-4.1.9/lib/rails/commands/commands_tasks.rb:76 | |
require at org/jruby/RubyKernel.java:966 | |
__script__ at bin/rails:8 | |
reserve-pc:cool_app uwe$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment