ruby on rails post tzinfo data install bundle errors - ruby-on-rails
As the title suggests having difficulty with getting ruby on rails set up. I was able to install and update to latest versions. Initially I was receiving a tzinfo data not found in gem file. I added it to the said gem file and ran the recommended bundle install thereafter and now obtaining this error. I'm a relatively new dev and I dont really know what I'm looking at regarding this error. Any help would be appreciated and think of me as a function that returns null :)
[19628, #<Thread:0x00000257bdca97b8 run>, #<NameError: uninitialized constant Gem::Source
(defined?(#source) && #source) || Gem::Source::Installed.new
^^^^^^^^
Did you mean? Gem::SourceList>, ["C:/Ruby31-x64/lib/ruby/3.1.0/bundler/rubygems_ext.rb:18:in `source'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/rubygems_ext.rb:50:in `extension_dir'", "C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/basic_specification.rb:339:in `have_file?'", "C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/basic_specification.rb:86:in `contains_requirable_file?'", "C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:1038:in `block (2 levels) in find_in_unresolved_tree'", "C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:2555:in `block (2 levels) in traverse'", "C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:2550:in `each'", "C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:2550:in `block in traverse'", "C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:2548:in `each'", "C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:2548:in `traverse'", "C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:1034:in `block in find_in_unresolved_tree'", "C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:1033:in `each'", "C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:1033:in `find_in_unresolved_tree'", "<internal:C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:114:in `require'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/rubygems_ext.rb:18:in `source'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/rubygems_ext.rb:50:in `extension_dir'", "C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/basic_specification.rb:339:in `have_file?'", "C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/basic_specification.rb:86:in `contains_requirable_file?'", "C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:1038:in `block (2 levels) in find_in_unresolved_tree'", "C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:2555:in `block (2 levels) in traverse'", "C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:2550:in `each'", "C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:2550:in `block in traverse'", "C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:2548:in `each'", "C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:2548:in `traverse'", "C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:1034:in `block in find_in_unresolved_tree'", "C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:1033:in `each'", "C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:1033:in `find_in_unresolved_tree'", "<internal:C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:114:in `require'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb:1:in `<top (required)>'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/vendored_persistent.rb:11:in `require_relative'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/vendored_persistent.rb:11:in `<top (required)>'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/fetcher.rb:3:in `require_relative'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/fetcher.rb:3:in `<top (required)>'", "<internal:C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'", "<internal:C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/cli/install.rb:50:in `run'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/cli.rb:255:in `block in install'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/settings.rb:131:in `temporary'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/cli.rb:254:in `install'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/cli.rb:31:in `dispatch'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/base.rb:485:in `start'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/cli.rb:25:in `start'", "C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.7/libexec/bundle:48:in `block in <top (required)>'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/friendly_errors.rb:103:in `with_friendly_errors'", "C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.7/libexec/bundle:36:in `<top (required)>'", "C:/RailsInstaller/Ruby2.3.3/bin/bundle:22:in `load'", "C:/RailsInstaller/Ruby2.3.3/bin/bundle:22:in `<main>'"]]
[19628, #<Thread:0x00000257bdca97b8 run>, #<RuntimeError: CRITICAL: RUBYGEMS_ACTIVATION_MONITOR.owned?: before false -> after true>, ["<internal:C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:167:in `ensure in require'", "<internal:C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:167:in `require'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb:1:in `<top (required)>'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/vendored_persistent.rb:11:in `require_relative'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/vendored_persistent.rb:11:in `<top (required)>'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/fetcher.rb:3:in `require_relative'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/fetcher.rb:3:in `<top (required)>'", "<internal:C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'", "<internal:C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/cli/install.rb:50:in `run'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/cli.rb:255:in `block in install'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/settings.rb:131:in `temporary'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/cli.rb:254:in `install'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/cli.rb:31:in `dispatch'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/base.rb:485:in `start'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/cli.rb:25:in `start'", "C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.7/libexec/bundle:48:in `block in <top (required)>'", "C:/Ruby31-x64/lib/ruby/3.1.0/bundler/friendly_errors.rb:103:in `with_friendly_errors'", "C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.7/libexec/bundle:36:in `<top (required)>'", "C:/RailsInstaller/Ruby2.3.3/bin/bundle:22:in `load'", "C:/RailsInstaller/Ruby2.3.3/bin/bundle:22:in `<main>'"]]
C:/Ruby31-x64/lib/ruby/3.1.0/bundler/rubygems_ext.rb:18:in `source': uninitialized constant Gem::Source (NameError)
(defined?(#source) && #source) || Gem::Source::Installed.new
^^^^^^^^
Did you mean? Gem::SourceList
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/rubygems_ext.rb:50:in `extension_dir'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/basic_specification.rb:339:in `have_file?'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/basic_specification.rb:86:in `contains_requirable_file?'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:1038:in `block (2 levels) in find_in_unresolved_tree'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:2555:in `block (2 levels) in traverse'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:2550:in `each'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:2550:in `block in traverse'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:2548:in `each'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:2548:in `traverse'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:1034:in `block in find_in_unresolved_tree'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:1033:in `each'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:1033:in `find_in_unresolved_tree'
from <internal:C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:114:in `require'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/rubygems_ext.rb:18:in `source'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/rubygems_ext.rb:50:in `extension_dir'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/basic_specification.rb:339:in `have_file?'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/basic_specification.rb:86:in `contains_requirable_file?'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:1038:in `block (2 levels) in find_in_unresolved_tree'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:2555:in `block (2 levels) in traverse'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:2550:in `each'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:2550:in `block in traverse'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:2548:in `each'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:2548:in `traverse'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:1034:in `block in find_in_unresolved_tree'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:1033:in `each'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:1033:in `find_in_unresolved_tree'
from <internal:C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:114:in `require'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/friendly_errors.rb:26:in `log_error'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/friendly_errors.rb:109:in `rescue in with_friendly_errors'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/friendly_errors.rb:101:in `with_friendly_errors'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.7/libexec/bundle:36:in `<top (required)>'
from C:/RailsInstaller/Ruby2.3.3/bin/bundle:22:in `load'
from C:/RailsInstaller/Ruby2.3.3/bin/bundle:22:in `<main>'
<internal:C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:167:in `ensure in require': CRITICAL: RUBYGEMS_ACTIVATION_MONITOR.owned?: before false -> after true (RuntimeError)
from <internal:C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:167:in `require'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/cli/install.rb:50:in `run'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/cli.rb:255:in `block in install'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/settings.rb:131:in `temporary'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/cli.rb:254:in `install'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/cli.rb:31:in `dispatch'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/cli.rb:25:in `start'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.7/libexec/bundle:48:in `block in <top (required)>'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/friendly_errors.rb:103:in `with_friendly_errors'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.7/libexec/bundle:36:in `<top (required)>'
from C:/RailsInstaller/Ruby2.3.3/bin/bundle:22:in `load'
from C:/RailsInstaller/Ruby2.3.3/bin/bundle:22:in `<main>'
<internal:C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:167:in `ensure in require': CRITICAL: RUBYGEMS_ACTIVATION_MONITOR.owned?: before false -> after true (RuntimeError)
from <internal:C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:167:in `require'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb:1:in `<top (required)>'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/vendored_persistent.rb:11:in `require_relative'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/vendored_persistent.rb:11:in `<top (required)>'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/fetcher.rb:3:in `require_relative'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/fetcher.rb:3:in `<top (required)>'
from <internal:C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/cli/install.rb:50:in `run'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/cli.rb:255:in `block in install'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/settings.rb:131:in `temporary'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/cli.rb:254:in `install'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/cli.rb:31:in `dispatch'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/cli.rb:25:in `start'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.7/libexec/bundle:48:in `block in <top (required)>'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/friendly_errors.rb:103:in `with_friendly_errors'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.7/libexec/bundle:36:in `<top (required)>'
from C:/RailsInstaller/Ruby2.3.3/bin/bundle:22:in `load'
from C:/RailsInstaller/Ruby2.3.3/bin/bundle:22:in `<main>'
C:/Ruby31-x64/lib/ruby/3.1.0/bundler/rubygems_ext.rb:18:in `source': uninitialized constant Gem::Source (NameError)
(defined?(#source) && #source) || Gem::Source::Installed.new
^^^^^^^^
Did you mean? Gem::SourceList
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/rubygems_ext.rb:50:in `extension_dir'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/basic_specification.rb:339:in `have_file?'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/basic_specification.rb:86:in `contains_requirable_file?'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:1038:in `block (2 levels) in find_in_unresolved_tree'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:2555:in `block (2 levels) in traverse'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:2550:in `each'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:2550:in `block in traverse'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:2548:in `each'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:2548:in `traverse'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:1034:in `block in find_in_unresolved_tree'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:1033:in `each'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:1033:in `find_in_unresolved_tree'
from <internal:C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:114:in `require'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/rubygems_ext.rb:18:in `source'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/rubygems_ext.rb:50:in `extension_dir'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/basic_specification.rb:339:in `have_file?'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/basic_specification.rb:86:in `contains_requirable_file?'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:1038:in `block (2 levels) in find_in_unresolved_tree'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:2555:in `block (2 levels) in traverse'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:2550:in `each'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:2550:in `block in traverse'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:2548:in `each'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:2548:in `traverse'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:1034:in `block in find_in_unresolved_tree'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:1033:in `each'
from C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/specification.rb:1033:in `find_in_unresolved_tree'
from <internal:C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:114:in `require'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb:1:in `<top (required)>'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/vendored_persistent.rb:11:in `require_relative'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/vendored_persistent.rb:11:in `<top (required)>'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/fetcher.rb:3:in `require_relative'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/fetcher.rb:3:in `<top (required)>'
from <internal:C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/cli/install.rb:50:in `run'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/cli.rb:255:in `block in install'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/settings.rb:131:in `temporary'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/cli.rb:254:in `install'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/cli.rb:31:in `dispatch'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/cli.rb:25:in `start'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.7/libexec/bundle:48:in `block in <top (required)>'
from C:/Ruby31-x64/lib/ruby/3.1.0/bundler/friendly_errors.rb:103:in `with_friendly_errors'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.7/libexec/bundle:36:in `<top (required)>'
from C:/RailsInstaller/Ruby2.3.3/bin/bundle:22:in `load'
from C:/RailsInstaller/Ruby2.3.3/bin/bundle:22:in `<main>'
Related
Error connecting to Redis on localhost:6379 (Errno::ECONNREFUSED) (Redis::CannotConnectError)
I try to connect to reddis On c9.io But get this error /usr/local/rvm/gems/ruby-2.4.0/gems/redis-4.0.1/lib/redis/client.rb:344:in `rescue in establish_connection': Error connecting to Redis on localhost:6379 (Errno::ECONNREFUSED) (Redis::CannotConnectError) from /usr/local/rvm/gems/ruby-2.4.0/gems/redis-4.0.1/lib/redis/client.rb:329:in `establish_connection' from /usr/local/rvm/gems/ruby-2.4.0/gems/redis-4.0.1/lib/redis/client.rb:99:in `block in connect' from /usr/local/rvm/gems/ruby-2.4.0/gems/redis-4.0.1/lib/redis/client.rb:291:in `with_reconnect' from /usr/local/rvm/gems/ruby-2.4.0/gems/redis-4.0.1/lib/redis/client.rb:98:in `connect' from /usr/local/rvm/gems/ruby-2.4.0/gems/redis-4.0.1/lib/redis/client.rb:363:in `ensure_connected' from /usr/local/rvm/gems/ruby-2.4.0/gems/redis-4.0.1/lib/redis/client.rb:219:in `block in process' from /usr/local/rvm/gems/ruby-2.4.0/gems/redis-4.0.1/lib/redis/client.rb:304:in `logging' from /usr/local/rvm/gems/ruby-2.4.0/gems/redis-4.0.1/lib/redis/client.rb:218:in `process' from /usr/local/rvm/gems/ruby-2.4.0/gems/redis-4.0.1/lib/redis/client.rb:118:in `call' from /usr/local/rvm/gems/ruby-2.4.0/gems/redis-4.0.1/lib/redis.rb:1330:in `block in sadd' from /usr/local/rvm/gems/ruby-2.4.0/gems/redis-4.0.1/lib/redis.rb:45:in `block in synchronize' from /usr/local/rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize' from /usr/local/rvm/gems/ruby-2.4.0/gems/redis-4.0.1/lib/redis.rb:45:in `synchronize' from /usr/local/rvm/gems/ruby-2.4.0/gems/redis-4.0.1/lib/redis.rb:1329:in `sadd' from /usr/local/rvm/gems/ruby-2.4.0/gems/redis-namespace-1.6.0/lib/redis/namespace.rb:442:in `call_with_namespace' from /usr/local/rvm/gems/ruby-2.4.0/gems/redis-namespace-1.6.0/lib/redis/namespace.rb:328:in `method_missing' from /usr/local/rvm/gems/ruby-2.4.0/gems/resque-1.27.4/lib/resque/data_store.rb:59:in `method_missing' from /usr/local/rvm/gems/ruby-2.4.0/gems/resque-scheduler-4.3.1/lib/resque/scheduler/scheduling_extensions.rb:94:in `set_schedule' from /usr/local/rvm/gems/ruby-2.4.0/gems/resque-scheduler-4.3.1/lib/resque/scheduler/scheduling_extensions.rb:51:in `block in schedule=' from /usr/local/rvm/gems/ruby-2.4.0/gems/resque-scheduler-4.3.1/lib/resque/scheduler/scheduling_extensions.rb:50:in `each' from /usr/local/rvm/gems/ruby-2.4.0/gems/resque-scheduler-4.3.1/lib/resque/scheduler/scheduling_extensions.rb:50:in `schedule=' from /home/ubuntu/workspace/UnicumParser/config/initializers/resque.rb:4:in `<top (required)>' from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:287:in `load' from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:287:in `block in load' from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:259:in `load_dependency' from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:287:in `load' from /usr/local/rvm/gems/ruby-2.4.0/gems/railties-5.0.1/lib/rails/engine.rb:648:in `block in load_config_initializer' from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-5.0.1/lib/active_support/notifications.rb:166:in `instrument' from /usr/local/rvm/gems/ruby-2.4.0/gems/railties-5.0.1/lib/rails/engine.rb:647:in `load_config_initializer' from /usr/local/rvm/gems/ruby-2.4.0/gems/railties-5.0.1/lib/rails/engine.rb:612:in `block (2 levels) in <class:Engine>' from /usr/local/rvm/gems/ruby-2.4.0/gems/railties-5.0.1/lib/rails/engine.rb:611:in `each' from /usr/local/rvm/gems/ruby-2.4.0/gems/railties-5.0.1/lib/rails/engine.rb:611:in `block in <class:Engine>' from /usr/local/rvm/gems/ruby-2.4.0/gems/railties-5.0.1/lib/rails/initializable.rb:30:in `instance_exec' from /usr/local/rvm/gems/ruby-2.4.0/gems/railties-5.0.1/lib/rails/initializable.rb:30:in `run' from /usr/local/rvm/gems/ruby-2.4.0/gems/railties-5.0.1/lib/rails/initializable.rb:55:in `block in run_initializers' from /usr/local/rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/tsort.rb:228:in `block in tsort_each' from /usr/local/rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component' from /usr/local/rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from' from /usr/local/rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/tsort.rb:431:in `each_strongly_connected_component_from' from /usr/local/rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/tsort.rb:421:in `block in each_strongly_connected_component_from' from /usr/local/rvm/gems/ruby-2.4.0/gems/railties-5.0.1/lib/rails/initializable.rb:44:in `each' from /usr/local/rvm/gems/ruby-2.4.0/gems/railties-5.0.1/lib/rails/initializable.rb:44:in `tsort_each_child' from /usr/local/rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/tsort.rb:415:in `call' from /usr/local/rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/tsort.rb:415:in `each_strongly_connected_component_from' from /usr/local/rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/tsort.rb:349:in `block in each_strongly_connected_component' from /usr/local/rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/tsort.rb:347:in `each' from /usr/local/rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/tsort.rb:347:in `call' from /usr/local/rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/tsort.rb:347:in `each_strongly_connected_component' from /usr/local/rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/tsort.rb:226:in `tsort_each' from /usr/local/rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/tsort.rb:205:in `tsort_each' from /usr/local/rvm/gems/ruby-2.4.0/gems/railties-5.0.1/lib/rails/initializable.rb:54:in `run_initializers' from /usr/local/rvm/gems/ruby-2.4.0/gems/railties-5.0.1/lib/rails/application.rb:352:in `initialize!' from /home/ubuntu/workspace/UnicumParser/config/environment.rb:5:in `<top (required)>' from /home/ubuntu/workspace/UnicumParser/config.ru:3:in `require_relative' from /home/ubuntu/workspace/UnicumParser/config.ru:3:in `block in <main>' from /usr/local/rvm/gems/ruby-2.4.0/gems/rack-2.0.3/lib/rack/builder.rb:55:in `instance_eval' from /usr/local/rvm/gems/ruby-2.4.0/gems/rack-2.0.3/lib/rack/builder.rb:55:in `initialize' from /home/ubuntu/workspace/UnicumParser/config.ru:in `new' from /home/ubuntu/workspace/UnicumParser/config.ru:in `<main>' from /usr/local/rvm/gems/ruby-2.4.0/gems/rack-2.0.3/lib/rack/builder.rb:49:in `eval' from /usr/local/rvm/gems/ruby-2.4.0/gems/rack-2.0.3/lib/rack/builder.rb:49:in `new_from_string' from /usr/local/rvm/gems/ruby-2.4.0/gems/rack-2.0.3/lib/rack/builder.rb:40:in `parse_file' from /usr/local/rvm/gems/ruby-2.4.0/gems/rack-2.0.3/lib/rack/server.rb:319:in `build_app_and_options_from_config' from /usr/local/rvm/gems/ruby-2.4.0/gems/rack-2.0.3/lib/rack/server.rb:219:in `app' from /usr/local/rvm/gems/ruby-2.4.0/gems/railties-5.0.1/lib/rails/commands/server.rb:59:in `app' from /usr/local/rvm/gems/ruby-2.4.0/gems/rack-2.0.3/lib/rack/server.rb:354:in `wrapped_app' from /usr/local/rvm/gems/ruby-2.4.0/gems/railties-5.0.1/lib/rails/commands/server.rb:124:in `log_to_stdout' from /usr/local/rvm/gems/ruby-2.4.0/gems/railties-5.0.1/lib/rails/commands/server.rb:77:in `start' from /usr/local/rvm/gems/ruby-2.4.0/gems/railties-5.0.1/lib/rails/commands/commands_tasks.rb:90:in `block in server' from /usr/local/rvm/gems/ruby-2.4.0/gems/railties-5.0.1/lib/rails/commands/commands_tasks.rb:85:in `tap' from /usr/local/rvm/gems/ruby-2.4.0/gems/railties-5.0.1/lib/rails/commands/commands_tasks.rb:85:in `server' from /usr/local/rvm/gems/ruby-2.4.0/gems/railties-5.0.1/lib/rails/commands/commands_tasks.rb:49:in `run_command!' from /usr/local/rvm/gems/ruby-2.4.0/gems/railties-5.0.1/lib/rails/commands.rb:18:in `<top (required)>' from /home/ubuntu/workspace/UnicumParser/bin/rails:9:in `require' from /home/ubuntu/workspace/UnicumParser/bin/rails:9:in `<top (required)>' from /usr/local/rvm/gems/ruby-2.4.0/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in `load' from /usr/local/rvm/gems/ruby-2.4.0/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in `call' from /usr/local/rvm/gems/ruby-2.4.0/gems/spring-2.0.2/lib/spring/client/command.rb:7:in `call' from /usr/local/rvm/gems/ruby-2.4.0/gems/spring-2.0.2/lib/spring/client.rb:30:in `run' from /usr/local/rvm/gems/ruby-2.4.0/gems/spring-2.0.2/bin/spring:49:in `<top (required)>' from /usr/local/rvm/gems/ruby-2.4.0/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `load' from /usr/local/rvm/gems/ruby-2.4.0/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `<top (required)>' from /home/ubuntu/workspace/UnicumParser/bin/spring:14:in `require' from /home/ubuntu/workspace/UnicumParser/bin/spring:14:in `<top (required)>' from bin/rails:3:in `load' from bin/rails:3:in `<main>' resque.rb file: require 'resque' require 'resque/scheduler' Resque.schedule = YAML.load_file(File.join(Rails.root, 'config/resque_schedule.yml')) Resque.logger = Logger.new(Rails.root.join('log', "#{Rails.env}_resque.log")) Resque.logger.level = Logger::INFO rails_env = ENV['RAILS_ENV'] || 'development' Resque.redis.namespace = "resque:#{rails_env}"
Pushertc running error
I installed a WebRTC application developed in rails from this source: https://github.com/tokafish/pushertc and when I try to run it locally it shows me this error: home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/uri/rfc3986_parser.rb:17:in `rescue in split': bad URI(is not URI?): (URI::InvalidURIError) Can somebody try this app and tell me what I am missing? from /home/arsim/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/uri/rfc3986_parser.rb:14:in `split' from /home/arsim/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/uri/rfc3986_parser.rb:72:in `parse' from /home/arsim/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/uri/common.rb:226:in `parse' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/pusher-0.14.1/lib/pusher/client.rb:53:in `url=' from /home/arsim/Downloads/pushertc-master/config/initializers/pusher.rb:1:in `<top (required)>' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:241:in `load' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:241:in `block in load' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:232:in `load_dependency' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:241:in `load' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/railties-4.1.5/lib/rails/engine.rb:648:in `block in load_config_initializer' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/activesupport-4.1.5/lib/active_support/notifications.rb:161:in `instrument' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/railties-4.1.5/lib/rails/engine.rb:647:in `load_config_initializer' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/railties-4.1.5/lib/rails/engine.rb:612:in `block (2 levels) in <class:Engine>' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/railties-4.1.5/lib/rails/engine.rb:611:in `each' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/railties-4.1.5/lib/rails/engine.rb:611:in `block in <class:Engine>' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/railties-4.1.5/lib/rails/initializable.rb:30:in `instance_exec' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/railties-4.1.5/lib/rails/initializable.rb:30:in `run' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/railties-4.1.5/lib/rails/initializable.rb:55:in `block in run_initializers' from /home/arsim/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:226:in `block in tsort_each' from /home/arsim/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component' from /home/arsim/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:420:in `block (2 levels) in each_strongly_connected_component_from' from /home/arsim/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:429:in `each_strongly_connected_component_from' from /home/arsim/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:419:in `block in each_strongly_connected_component_from' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/railties-4.1.5/lib/rails/initializable.rb:44:in `each' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/railties-4.1.5/lib/rails/initializable.rb:44:in `tsort_each_child' from /home/arsim/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:413:in `call' from /home/arsim/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:413:in `each_strongly_connected_component_from' from /home/arsim/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:347:in `block in each_strongly_connected_component' from /home/arsim/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:345:in `each' from /home/arsim/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:345:in `call' from /home/arsim/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:345:in `each_strongly_connected_component' from /home/arsim/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:224:in `tsort_each' from /home/arsim/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:203:in `tsort_each' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/railties-4.1.5/lib/rails/initializable.rb:54:in `run_initializers' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/railties-4.1.5/lib/rails/application.rb:300:in `initialize!' from /home/arsim/Downloads/pushertc-master/config/environment.rb:5:in `<top (required)>' from /home/arsim/Downloads/pushertc-master/config.ru:3:in `require' from /home/arsim/Downloads/pushertc-master/config.ru:3:in `block in <main>' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize' from /home/arsim/Downloads/pushertc-master/config.ru:in `new' from /home/arsim/Downloads/pushertc-master/config.ru:in `<main>' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/rack-1.5.2/lib/rack/builder.rb:49:in `eval' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/rack-1.5.2/lib/rack/builder.rb:49:in `new_from_string' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/rack-1.5.2/lib/rack/builder.rb:40:in `parse_file' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/rack-1.5.2/lib/rack/server.rb:277:in `build_app_and_options_from_config' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/rack-1.5.2/lib/rack/server.rb:199:in `app' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/railties-4.1.5/lib/rails/commands/server.rb:50:in `app' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/rack-1.5.2/lib/rack/server.rb:314:in `wrapped_app' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/railties-4.1.5/lib/rails/commands/server.rb:130:in `log_to_stdout' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/railties-4.1.5/lib/rails/commands/server.rb:67:in `start' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/railties-4.1.5/lib/rails/commands/commands_tasks.rb:81:in `block in server' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/railties-4.1.5/lib/rails/commands/commands_tasks.rb:76:in `tap' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/railties-4.1.5/lib/rails/commands/commands_tasks.rb:76:in `server' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/railties-4.1.5/lib/rails/commands/commands_tasks.rb:40:in `run_command!' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/railties-4.1.5/lib/rails/commands.rb:17:in `<top (required)>' from /home/arsim/Downloads/pushertc-master/bin/rails:8:in `require' from /home/arsim/Downloads/pushertc-master/bin/rails:8:in `<top (required)>' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/spring-1.1.3/lib/spring/client/rails.rb:27:in `load' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/spring-1.1.3/lib/spring/client/rails.rb:27:in `call' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/spring-1.1.3/lib/spring/client/command.rb:7:in `call' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/spring-1.1.3/lib/spring/client.rb:26:in `run' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/spring-1.1.3/bin/spring:48:in `<top (required)>' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/spring-1.1.3/lib/spring/binstub.rb:11:in `load' from /home/arsim/.rvm/gems/ruby-2.2.1/gems/spring-1.1.3/lib/spring/binstub.rb:11:in `<top (required)>' from /home/arsim/Downloads/pushertc-master/bin/spring:16:in `require' from /home/arsim/Downloads/pushertc-master/bin/spring:16:in `<top (required)>' from bin/rails:3:in `load' from bin/rails:3:in `<main>'
Rails Console not starting up
I am trying to run rails console rails c in ConEmu and Cmder but get the following error.... C:/Ruby21-x64/lib/ruby/2.1.0/open-uri.rb:30:in `initialize': No such file or directory # rb_sysopen - C:/Users/user.name/Documents/parentDir/app_dir/log/app_dev.log (Errno::ENOENT) from C:/Ruby21-x64/lib/ruby/2.1.0/open-uri.rb:30:in `open' from C:/Ruby21-x64/lib/ruby/2.1.0/open-uri.rb:30:in `open' from C:/Ruby21-x64/lib/ruby/2.1.0/open-uri.rb:30:in `open' from C:/Ruby21-x64/lib/ruby/2.1.0/logger.rb:600:in `create_l ogfile' from C:/Ruby21-x64/lib/ruby/2.1.0/logger.rb:594:in `rescue i n open_logfile' from C:/Ruby21-x64/lib/ruby/2.1.0/logger.rb:591:in `open_log file' from C:/Ruby21-x64/lib/ruby/2.1.0/logger.rb:549:in `initiali ze' from C:/Ruby21-x64/lib/ruby/2.1.0/logger.rb:318:in `new' from C:/Ruby21-x64/lib/ruby/2.1.0/logger.rb:318:in `initiali ze' from C:/Users/user.name/Documents/parentDir/app_dir/config/environments/development.rb:57:in `new' from C:/Users/user.name/Documents/parentDir/app_dir/config/environments/development.rb:57:in `block in <top (require d)>' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.9/l ib/rails/railtie.rb:210:in `instance_eval' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.9/l ib/rails/railtie.rb:210:in `configure' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.9/l ib/rails/railtie.rb:182:in `configure' from C:/Users/user.name/Documents/parentDir/app_dir/config/environments/development.rb:11:in `<top (required)>' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4. 1.9/lib/active_support/dependencies.rb:247:in `require' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4. 1.9/lib/active_support/dependencies.rb:247:in `block in require' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4. 1.9/lib/active_support/dependencies.rb:232:in `load_dependency' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4. 1.9/lib/active_support/dependencies.rb:247:in `require' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.9/l ib/rails/engine.rb:594:in `block (2 levels) in <class:Engine>' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.9/l ib/rails/engine.rb:593:in `each' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.9/l ib/rails/engine.rb:593:in `block in <class:Engine>' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.9/l ib/rails/initializable.rb:30:in `instance_exec' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.9/l ib/rails/initializable.rb:30:in `run' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.9/l ib/rails/initializable.rb:55:in `block in run_initializers' from C:/Ruby21-x64/lib/ruby/2.1.0/tsort.rb:226:in `block in tsort_each' from C:/Ruby21-x64/lib/ruby/2.1.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component' from C:/Ruby21-x64/lib/ruby/2.1.0/tsort.rb:418:in `block (2 levels) in each_strongly_connected_component_from' from C:/Ruby21-x64/lib/ruby/2.1.0/tsort.rb:427:in `each_stro ngly_connected_component_from' from C:/Ruby21-x64/lib/ruby/2.1.0/tsort.rb:417:in `block in each_strongly_connected_component_from' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.9/l ib/rails/initializable.rb:44:in `each' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.9/l ib/rails/initializable.rb:44:in `tsort_each_child' from C:/Ruby21-x64/lib/ruby/2.1.0/tsort.rb:411:in `call' from C:/Ruby21-x64/lib/ruby/2.1.0/tsort.rb:411:in `each_stro ngly_connected_component_from' from C:/Ruby21-x64/lib/ruby/2.1.0/tsort.rb:347:in `block in each_strongly_connected_component' from C:/Ruby21-x64/lib/ruby/2.1.0/tsort.rb:345:in `each' from C:/Ruby21-x64/lib/ruby/2.1.0/tsort.rb:345:in `call' from C:/Ruby21-x64/lib/ruby/2.1.0/tsort.rb:345:in `each_stro ngly_connected_component' from C:/Ruby21-x64/lib/ruby/2.1.0/tsort.rb:224:in `tsort_eac h' from C:/Ruby21-x64/lib/ruby/2.1.0/tsort.rb:205:in `tsort_eac h' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.9/l ib/rails/initializable.rb:54:in `run_initializers' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.9/l ib/rails/application.rb:300:in `initialize!' from C:/Users/user.name/Documents/parentDir/app_dir/config/environment.rb:5:in `<top (required)>' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4. 1.9/lib/active_support/dependencies.rb:247:in `require' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4. 1.9/lib/active_support/dependencies.rb:247:in `block in require' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4. 1.9/lib/active_support/dependencies.rb:232:in `load_dependency' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4. 1.9/lib/active_support/dependencies.rb:247:in `require' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.9/l ib/rails/application.rb:276:in `require_environment!' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.9/l ib/rails/commands/commands_tasks.rb:147:in `require_application_and_ environment!' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.9/l ib/rails/commands/commands_tasks.rb:68:in `console' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.9/l ib/rails/commands/commands_tasks.rb:40:in `run_command!' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.9/l ib/rails/commands.rb:17:in `<top (required)>' from bin/rails:4:in `require' from bin/rails:4:in `<main>' I can run rails console in the terminal on RubyMine but that is the most useless terminal ever to exist. Any idea what might be causing this?
It says that log/app_dev.log file is missing - try to create it in the app directory and see what happens.
Rails 4 error when runnning the rails server command on console
I have been working on an application and just installed the twitter bootstrap gem and installed 'therubyracer' gem using the https://github.com/hiranpeiris/therubyracer_for_windows tutorial, can anybody help with the following error I get when running 'rails server', any help here would be appreciated, I'm not sure whats gone wrong here? C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/actionpack-4.0.0/lib/action _dispatch/routing/mapper.rb:229:in `default_controller_and_action': missing :con troller (ArgumentError) from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/actionpack-4.0 .0/lib/action_dispatch/routing/mapper.rb:116:in `normalize_options!' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/actionpack-4.0 .0/lib/action_dispatch/routing/mapper.rb:64:in `initialize' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/actionpack-4.0 .0/lib/action_dispatch/routing/mapper.rb:1438:in `new' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/actionpack-4.0 .0/lib/action_dispatch/routing/mapper.rb:1438:in `add_route' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/actionpack-4.0 .0/lib/action_dispatch/routing/mapper.rb:1417:in `decomposed_match' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/actionpack-4.0 .0/lib/action_dispatch/routing/mapper.rb:1398:in `block in match' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/actionpack-4.0 .0/lib/action_dispatch/routing/mapper.rb:1389:in `each' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/actionpack-4.0 .0/lib/action_dispatch/routing/mapper.rb:1389:in `match' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/actionpack-4.0 .0/lib/action_dispatch/routing/mapper.rb:596:in `map_method' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/actionpack-4.0 .0/lib/action_dispatch/routing/mapper.rb:557:in `get' from C:/Sites/socialeyes/config/routes.rb:4:in `block in <top (required) >' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/actionpack-4.0 .0/lib/action_dispatch/routing/route_set.rb:316:in `instance_exec' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/actionpack-4.0 .0/lib/action_dispatch/routing/route_set.rb:316:in `eval_block' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/actionpack-4.0 .0/lib/action_dispatch/routing/route_set.rb:294:in `draw' from C:/Sites/socialeyes/config/routes.rb:1:in `<top (required)>' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport- 4.0.0/lib/active_support/dependencies.rb:222:in `load' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport- 4.0.0/lib/active_support/dependencies.rb:222:in `block in load' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport- 4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport- 4.0.0/lib/active_support/dependencies.rb:222:in `load' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 /lib/rails/application/routes_reloader.rb:40:in `block in load_paths' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 /lib/rails/application/routes_reloader.rb:40:in `each' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 /lib/rails/application/routes_reloader.rb:40:in `load_paths' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 /lib/rails/application/routes_reloader.rb:16:in `reload!' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 /lib/rails/application/routes_reloader.rb:26:in `block in updater' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport- 4.0.0/lib/active_support/file_update_checker.rb:75:in `call' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport- 4.0.0/lib/active_support/file_update_checker.rb:75:in `execute' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 /lib/rails/application/routes_reloader.rb:27:in `updater' from C:65535:in `execute_if_updated' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 /lib/rails/application/finisher.rb:69:in `block in <module:Finisher>' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 /lib/rails/initializable.rb:30:in `instance_exec' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 /lib/rails/initializable.rb:30:in `run' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 /lib/rails/initializable.rb:55:in `block in run_initializers' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:150:in `block i n tsort_each' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:183:in `block ( 2 levels) in each_strongly_connected_component' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:219:in `each_st rongly_connected_component_from' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:182:in `block i n each_strongly_connected_component' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:180:in `each' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:180:in `each_st rongly_connected_component' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:148:in `tsort_e ach' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 /lib/rails/initializable.rb:54:in `run_initializers' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 /lib/rails/application.rb:215:in `initialize!' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 /lib/rails/railtie/configurable.rb:30:in `method_missing' from C:/Sites/socialeyes/config/environment.rb:5:in `<top (required)>' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport- 4.0.0/lib/active_support/dependencies.rb:228:in `require' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport- 4.0.0/lib/active_support/dependencies.rb:228:in `block in require' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport- 4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport- 4.0.0/lib/active_support/dependencies.rb:228:in `require' from C:/Sites/socialeyes/config.ru:3:in `block in <main>' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib /rack/builder.rb:55:in `instance_eval' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib /rack/builder.rb:55:in `initialize' from C:/Sites/socialeyes/config.ru:in `new' from C:/Sites/socialeyes/config.ru:in `<main>' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib /rack/builder.rb:49:in `eval' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib /rack/builder.rb:49:in `new_from_string' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib /rack/builder.rb:40:in `parse_file' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib /rack/server.rb:277:in `build_app_and_options_from_config' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib /rack/server.rb:199:in `app' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 /lib/rails/commands/server.rb:48:in `app' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib /rack/server.rb:314:in `wrapped_app' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 /lib/rails/commands/server.rb:75:in `start' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 /lib/rails/commands.rb:78:in `block in <top (required)>' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 /lib/rails/commands.rb:73:in `tap' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.0 /lib/rails/commands.rb:73:in `<top (required)>' from bin/rails:4:in `require' from bin/rails:4:in `<main>'
You have to define a root route in your config/routes.rb file or at least one route. Here is an exemple : # At least a route (here for HelloController) get '/hello' => 'hello#index' # Or a root route root 'hello#index'
Ruby on Rails 3 JSON Error
I am trying to deploy to vexxhost with capistrano and this is what I get at the final step of the deployment process: command finished in 344ms ** transaction: commit * executing `deploy:restart' /Users/kleon/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/json/common.rb:148:in `parse': 743: unexpected token at 'gem 'unicorn', '4.1.1' (JSON::ParserError) {"cpanelresult":{"data":[{"status":1,"statusmsg":"restart ok"}],"event":{"result":1},"module":"RoR","apiversion":2,"func":"restartapp"}} ' from /Users/kleon/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/json/common.rb:148:in `parse' from /Users/kleon/.rvm/gems/ruby-1.9.3-p0#rails3_atlnetsolutions/gems/capistrano-vexxhost-1.0.0/lib/capistrano-vexxhost/capistrano_integration.rb:118:in `block in cpanel_api2_command' from /Users/kleon/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/http.rb:745:in `start' from /Users/kleon/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/http.rb:557:in `start' from /Users/kleon/.rvm/gems/ruby-1.9.3-p0#rails3_atlnetsolutions/gems/capistrano-vexxhost-1.0.0/lib/capistrano-vexxhost/capistrano_integration.rb:114:in `cpanel_api2_command' from /Users/kleon/.rvm/gems/ruby-1.9.3-p0#rails3_atlnetsolutions/gems/capistrano-2.11.2/lib/capistrano/configuration/namespaces.rb:191:in `method_missing' from /Users/kleon/.rvm/gems/ruby-1.9.3-p0#rails3_atlnetsolutions/gems/capistrano-vexxhost-1.0.0/lib/capistrano-vexxhost/capistrano_integration.rb:69:in `block (3 levels) in <top (required)>' from /Users/kleon/.rvm/gems/ruby-1.9.3-p0#rails3_atlnetsolutions/gems/capistrano-2.11.2/lib/capistrano/configuration/execution.rb:139:in `instance_eval' from /Users/kleon/.rvm/gems/ruby-1.9.3-p0#rails3_atlnetsolutions/gems/capistrano-2.11.2/lib/capistrano/configuration/execution.rb:139:in `invoke_task_directly' from /Users/kleon/.rvm/gems/ruby-1.9.3-p0#rails3_atlnetsolutions/gems/capistrano-2.11.2/lib/capistrano/configuration/callbacks.rb:25:in `invoke_task_directly_with_callbacks' from /Users/kleon/.rvm/gems/ruby-1.9.3-p0#rails3_atlnetsolutions/gems/capistrano-2.11.2/lib/capistrano/configuration/execution.rb:89:in `execute_task' from /Users/kleon/.rvm/gems/ruby-1.9.3-p0#rails3_atlnetsolutions/gems/capistrano-2.11.2/lib/capistrano/configuration/namespaces.rb:191:in `method_missing' from /Users/kleon/.rvm/gems/ruby-1.9.3-p0#rails3_atlnetsolutions/gems/capistrano-2.11.2/lib/capistrano/configuration/namespaces.rb:110:in `block in define_task' from /Users/kleon/.rvm/gems/ruby-1.9.3-p0#rails3_atlnetsolutions/gems/capistrano-2.11.2/lib/capistrano/recipes/deploy.rb:171:in `block (2 levels) in load' from /Users/kleon/.rvm/gems/ruby-1.9.3-p0#rails3_atlnetsolutions/gems/capistrano-2.11.2/lib/capistrano/configuration/execution.rb:139:in `instance_eval' from /Users/kleon/.rvm/gems/ruby-1.9.3-p0#rails3_atlnetsolutions/gems/capistrano-2.11.2/lib/capistrano/configuration/execution.rb:139:in `invoke_task_directly' from /Users/kleon/.rvm/gems/ruby-1.9.3-p0#rails3_atlnetsolutions/gems/capistrano-2.11.2/lib/capistrano/configuration/callbacks.rb:25:in `invoke_task_directly_with_callbacks' from /Users/kleon/.rvm/gems/ruby-1.9.3-p0#rails3_atlnetsolutions/gems/capistrano-2.11.2/lib/capistrano/configuration/execution.rb:89:in `execute_task' from /Users/kleon/.rvm/gems/ruby-1.9.3-p0#rails3_atlnetsolutions/gems/capistrano-2.11.2/lib/capistrano/configuration/execution.rb:101:in `find_and_execute_task' from /Users/kleon/.rvm/gems/ruby-1.9.3-p0#rails3_atlnetsolutions/gems/capistrano-2.11.2/lib/capistrano/cli/execute.rb:46:in `block in execute_requested_actions' from /Users/kleon/.rvm/gems/ruby-1.9.3-p0#rails3_atlnetsolutions/gems/capistrano-2.11.2/lib/capistrano/cli/execute.rb:45:in `each' from /Users/kleon/.rvm/gems/ruby-1.9.3-p0#rails3_atlnetsolutions/gems/capistrano-2.11.2/lib/capistrano/cli/execute.rb:45:in `execute_requested_actions' from /Users/kleon/.rvm/gems/ruby-1.9.3-p0#rails3_atlnetsolutions/gems/capistrano-2.11.2/lib/capistrano/cli/help.rb:19:in `execute_requested_actions_with_help' from /Users/kleon/.rvm/gems/ruby-1.9.3-p0#rails3_atlnetsolutions/gems/capistrano-2.11.2/lib/capistrano/cli/execute.rb:34:in `execute!' from /Users/kleon/.rvm/gems/ruby-1.9.3-p0#rails3_atlnetsolutions/gems/capistrano-2.11.2/lib/capistrano/cli/execute.rb:14:in `execute' from /Users/kleon/.rvm/gems/ruby-1.9.3-p0#rails3_atlnetsolutions/gems/capistrano-2.11.2/bin/cap:4:in `<top (required)>' from /Users/kleon/.rvm/gems/ruby-1.9.3-p0#rails3_atlnetsolutions/bin/cap:19:in `load' from /Users/kleon/.rvm/gems/ruby-1.9.3-p0#rails3_atlnetsolutions/bin/cap:19:in `<main>'