Getting error while running rails server - ruby-on-rails

I am migrating my web app to Microsoft Azure. When I do rails s, I am getting this log:
/home/mnpatel0611/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.0.0/lib/active_support/values/time_zone.rb:282: warning: circular argument reference - now
/home/mnpatel0611/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/puppet-3.7.3/lib/puppet/defaults.rb:465: warning: duplicated key at line 466 ignored: :queue_type
/home/mnpatel0611/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/lib/safe_yaml/syck_node_monkeypatch.rb:42:in `<top (required)>': uninitialized constant Syck (NameError)
from /home/mnpatel0611/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/lib/safe_yaml.rb:197:in `<module:YAML>'
from /home/mnpatel0611/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/lib/safe_yaml.rb:132:in `<top (required)>'
from /home/mnpatel0611/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/puppet-3.7.3/lib/puppet/vendor/require_vendored.rb:4:in `<top (required)>'
from /home/mnpatel0611/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/puppet-3.7.3/lib/puppet/vendor.rb:40:in `require_libs'
from /home/mnpatel0611/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/puppet-3.7.3/lib/puppet/vendor.rb:53:in `load_vendored'
from /home/mnpatel0611/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/puppet-3.7.3/lib/puppet.rb:172:in `<module:Puppet>'
from /home/mnpatel0611/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/puppet-3.7.3/lib/puppet.rb:29:in `<top (required)>'
from /home/mnpatel0611/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.10.0/lib/bundler/runtime.rb:76:in `require'
from /home/mnpatel0611/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.10.0/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
from /home/mnpatel0611/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.10.0/lib/bundler/runtime.rb:72:in `each'
from /home/mnpatel0611/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.10.0/lib/bundler/runtime.rb:72:in `block in require'
from /home/mnpatel0611/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.10.0/lib/bundler/runtime.rb:61:in `each'
from /home/mnpatel0611/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.10.0/lib/bundler/runtime.rb:61:in `require'
from /home/mnpatel0611/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.10.0/lib/bundler.rb:133:in `require'
from /home/mnpatel0611/mapial-stage/mapial/config/application.rb:7:in `<top (required)>'
from /home/mnpatel0611/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.0.0/lib/rails/commands.rb:76:in `require'
from /home/mnpatel0611/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.0.0/lib/rails/commands.rb:76:in `block in <top (required)>'
from /home/mnpatel0611/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.0.0/lib/rails/commands.rb:73:in `tap'
from /home/mnpatel0611/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/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>'
Anyone face this error?

Puppatlabs describe that Puppet 3.7.3 is not supported on Ruby 2.2 but now thay change status to resolved. So you should go more into this and find rid of this problem. You can show this issue from puppatlabs ticket Puppet 3.7.3 is not supported on Ruby 2.2

Related

Monterey OSX. `const_defined?': uninitialized constant Fog::Rackspace::CDN (NameError)

I have recently upgraded my OS. from Big sur to Montery.
When I was running my ruby application I am getting an error with careerwave
.rvm/gems/ruby-2.3.1/gems/fog-core-2.3.0/lib/fog/core/provider.rb:48:in `const_defined?': uninitialized constant Fog::Rackspace::CDN (NameError)
Can you please help in this regard, there was no change in the Gemfile or Gemfile.lock.
/Users/rajesh.banoth/.rvm/gems/ruby-2.3.1/gems/fog-core-2.3.0/lib/fog/core/provider.rb:48:in `const_defined?': uninitialized constant Fog::Rackspace::CDN (NameError)
from /Users/rajesh.banoth/.rvm/gems/ruby-2.3.1/gems/fog-core-2.3.0/lib/fog/core/provider.rb:48:in `service_klass'
from /Users/rajesh.banoth/.rvm/gems/ruby-2.3.1/gems/fog-core-2.3.0/lib/fog/core/provider.rb:37:in `service'
from /Users/rajesh.banoth/.rvm/gems/ruby-2.3.1/gems/fog-rackspace-0.1.6/lib/fog/rackspace.rb:53:in `<module:Rackspace>'
from /Users/rajesh.banoth/.rvm/gems/ruby-2.3.1/gems/fog-rackspace-0.1.6/lib/fog/rackspace.rb:28:in `<module:Fog>'
from /Users/rajesh.banoth/.rvm/gems/ruby-2.3.1/gems/fog-rackspace-0.1.6/lib/fog/rackspace.rb:10:in `<top (required)>'
from /Users/rajesh.banoth/.rvm/gems/ruby-2.3.1/gems/fog-2.2.0/lib/fog.rb:42:in `<top (required)>'
from /Users/rajesh.banoth/.rvm/gems/ruby-2.3.1/bundler/gems/carrierwave-ff89d6e1c055/lib/carrierwave/storage.rb:5:in `<top (required)>'
from /Users/rajesh.banoth/.rvm/gems/ruby-2.3.1/bundler/gems/carrierwave-ff89d6e1c055/lib/carrierwave.rb:78:in `<top (required)>'
from /Users/rajesh.banoth/.rvm/rubies/ruby-2.3.1/lib/ruby/site_ruby/2.3.0/bundler/runtime.rb:81:in `require'
from /Users/rajesh.banoth/.rvm/rubies/ruby-2.3.1/lib/ruby/site_ruby/2.3.0/bundler/runtime.rb:81:in `block (2 levels) in require'
from /Users/rajesh.banoth/.rvm/rubies/ruby-2.3.1/lib/ruby/site_ruby/2.3.0/bundler/runtime.rb:76:in `each'
from /Users/rajesh.banoth/.rvm/rubies/ruby-2.3.1/lib/ruby/site_ruby/2.3.0/bundler/runtime.rb:76:in `block in require'
from /Users/rajesh.banoth/.rvm/rubies/ruby-2.3.1/lib/ruby/site_ruby/2.3.0/bundler/runtime.rb:65:in `each'
from /Users/rajesh.banoth/.rvm/rubies/ruby-2.3.1/lib/ruby/site_ruby/2.3.0/bundler/runtime.rb:65:in `require'
from /Users/rajesh.banoth/.rvm/rubies/ruby-2.3.1/lib/ruby/site_ruby/2.3.0/bundler.rb:114:in `require'
from /Users/rajesh.banoth/code/pwm/config/application.rb:7:in `<top (required)>'
from /Users/rajesh.banoth/.rvm/gems/ruby-2.3.1/gems/railties-4.2.11.3/lib/rails/commands/commands_tasks.rb:78:in `require'
from /Users/rajesh.banoth/.rvm/gems/ruby-2.3.1/gems/railties-4.2.11.3/lib/rails/commands/commands_tasks.rb:78:in `block in server'
from /Users/rajesh.banoth/.rvm/gems/ruby-2.3.1/gems/railties-4.2.11.3/lib/rails/commands/commands_tasks.rb:75:in `tap'
from /Users/rajesh.banoth/.rvm/gems/ruby-2.3.1/gems/railties-4.2.11.3/lib/rails/commands/commands_tasks.rb:75:in `server'
from /Users/rajesh.banoth/.rvm/gems/ruby-2.3.1/gems/railties-4.2.11.3/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
from /Users/rajesh.banoth/.rvm/gems/ruby-2.3.1/gems/railties-4.2.11.3/lib/rails/commands.rb:17:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'
Thanks in advance.
Looks like you need to include https://github.com/fog/fog-rackspace gem also. fog-core gem doesnt have code for Rackspace.

Error with rails server

yahya#pc ~/RubymineProjects/depot $ rails server
/home/yahya/.rvm/gems/ruby-2.2.3/gems/activesupport-3.1.3/lib/active_support/values/time_zone.rb:268: warning: circular argument reference - now
/home/yahya/.rvm/gems/ruby-2.2.3/gems/capistrano-2.15.7/lib/capistrano/configuration/loading.rb:18:in `instance': Please require this file from within a Capistrano recipe (LoadError)
from /home/yahya/.rvm/gems/ruby-2.2.3/gems/rvm-capistrano-1.5.6/lib/rvm/capistrano/helpers/base.rb:16:in `rvm_with_capistrano'
from /home/yahya/.rvm/gems/ruby-2.2.3/gems/rvm-capistrano-1.5.6/lib/rvm/capistrano/helpers/_cset.rb:3:in `<top (required)>'
from /home/yahya/.rvm/gems/ruby-2.2.3/gems/rvm-capistrano-1.5.6/lib/rvm/capistrano/base.rb:1:in `require'
from /home/yahya/.rvm/gems/ruby-2.2.3/gems/rvm-capistrano-1.5.6/lib/rvm/capistrano/base.rb:1:in `<top (required)>'
from /home/yahya/.rvm/gems/ruby-2.2.3/gems/rvm-capistrano-1.5.6/lib/rvm/capistrano/selector.rb:1:in `require'
from /home/yahya/.rvm/gems/ruby-2.2.3/gems/rvm-capistrano-1.5.6/lib/rvm/capistrano/selector.rb:1:in `<top (required)>'
from /home/yahya/.rvm/gems/ruby-2.2.3/gems/rvm-capistrano-1.5.6/lib/rvm/capistrano.rb:3:in `require'
from /home/yahya/.rvm/gems/ruby-2.2.3/gems/rvm-capistrano-1.5.6/lib/rvm/capistrano.rb:3:in `<top (required)>'
from /home/yahya/.rvm/gems/ruby-2.2.3/gems/bundler-1.12.0.pre.1/lib/bundler/runtime.rb:92:in `require'
from /home/yahya/.rvm/gems/ruby-2.2.3/gems/bundler-1.12.0.pre.1/lib/bundler/runtime.rb:92:in `rescue in block in require'
from /home/yahya/.rvm/gems/ruby-2.2.3/gems/bundler-1.12.0.pre.1/lib/bundler/runtime.rb:69:in `block in require'
from /home/yahya/.rvm/gems/ruby-2.2.3/gems/bundler-1.12.0.pre.1/lib/bundler/runtime.rb:62:in `each'
from /home/yahya/.rvm/gems/ruby-2.2.3/gems/bundler-1.12.0.pre.1/lib/bundler/runtime.rb:62:in `require'
from /home/yahya/.rvm/gems/ruby-2.2.3/gems/bundler-1.12.0.pre.1/lib/bundler.rb:102:in `require'
from /home/yahya/RubymineProjects/depot/config/application.rb:7:in `<top (required)>'
from /home/yahya/.rvm/gems/ruby-2.2.3/gems/railties-3.1.3/lib/rails/commands.rb:52:in `require'
from /home/yahya/.rvm/gems/ruby-2.2.3/gems/railties-3.1.3/lib/rails/commands.rb:52:in `block in <top (required)>'
from /home/yahya/.rvm/gems/ruby-2.2.3/gems/railties-3.1.3/lib/rails/commands.rb:49:in `tap'
from /home/yahya/.rvm/gems/ruby-2.2.3/gems/railties-3.1.3/lib/rails/commands.rb:49:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
It used to work but all of sudden, I got this.
It used to work but all of sudden, I got this.
That's unlikely.
Apparently, you've updated your version of Ruby since the last time you ran your Rails application. The solution is to revert Ruby to whatever version you used when you built your Rails app, or to bring both Rails and Ruby to a current and mutually compatible version.

ruby-on-rails server crashes with 'incompatible library version'

I have a new installation of ruby on rails on a recently updated mac, with the most recent version of ruby installed on it. I created my first new rails application, with the command:rails new blog
The app was created without any error messages. However, when I move into the new directory and run bin/rails server the server build fails with a long list of error messages:
/Users/antony1/.rvm/gems/ruby-2.3.0/gems/debug_inspector-0.0.2/lib/debug_inspector.rb:6:in `require': incompatible library version - /Users/antony1/.rvm/gems/ruby-2.3.0/gems/debug_inspector-0.0.2/lib/debug_inspector.bundle (fatal)
from /Users/antony1/.rvm/gems/ruby-2.3.0/gems/debug_inspector-0.0.2/lib/debug_inspector.rb:6:in `<top (required)>'
from /Users/antony1/.rvm/gems/ruby-2.3.0/gems/binding_of_caller-0.7.2/lib/binding_of_caller/mri2.rb:1:in `require'
from /Users/antony1/.rvm/gems/ruby-2.3.0/gems/binding_of_caller-0.7.2/lib/binding_of_caller/mri2.rb:1:in `<top (required)>'
from /Users/antony1/.rvm/gems/ruby-2.3.0/gems/binding_of_caller-0.7.2/lib/binding_of_caller.rb:9:in `require'
from /Users/antony1/.rvm/gems/ruby-2.3.0/gems/binding_of_caller-0.7.2/lib/binding_of_caller.rb:9:in `<top (required)>'
from /Users/antony1/.rvm/gems/ruby-2.3.0/gems/web-console-2.3.0/lib/web_console.rb:1:in `require'
from /Users/antony1/.rvm/gems/ruby-2.3.0/gems/web-console-2.3.0/lib/web_console.rb:1:in `<top (required)>'
from /Users/antony1/.rvm/gems/ruby-2.3.0/gems/web-console-2.3.0/lib/web-console.rb:1:in `require'
from /Users/antony1/.rvm/gems/ruby-2.3.0/gems/web-console-2.3.0/lib/web-console.rb:1:in `<top (required)>'
from /Users/antony1/.rvm/gems/ruby-2.3.0#global/gems/bundler-1.11.2/lib/bundler/runtime.rb:77:in `require'
from /Users/antony1/.rvm/gems/ruby-2.3.0#global/gems/bundler-1.11.2/lib/bundler/runtime.rb:77:in `block (2 levels) in require'
from /Users/antony1/.rvm/gems/ruby-2.3.0#global/gems/bundler-1.11.2/lib/bundler/runtime.rb:72:in `each'
from /Users/antony1/.rvm/gems/ruby-2.3.0#global/gems/bundler-1.11.2/lib/bundler/runtime.rb:72:in `block in require'
from /Users/antony1/.rvm/gems/ruby-2.3.0#global/gems/bundler-1.11.2/lib/bundler/runtime.rb:61:in `each'
from /Users/antony1/.rvm/gems/ruby-2.3.0#global/gems/bundler-1.11.2/lib/bundler/runtime.rb:61:in `require'
from /Users/antony1/.rvm/gems/ruby-2.3.0#global/gems/bundler-1.11.2/lib/bundler.rb:99:in `require'
from /Users/antony1/Documents/Ruby/Rails/blog/config/application.rb:7:in `<top (required)>'
from /Users/antony1/.rvm/gems/ruby-2.3.0#global/gems/railties-4.2.5.1/lib/rails/commands/commands_tasks.rb:78:in `require'
from /Users/antony1/.rvm/gems/ruby-2.3.0#global/gems/railties-4.2.5.1/lib/rails/commands/commands_tasks.rb:78:in `block in server'
from /Users/antony1/.rvm/gems/ruby-2.3.0#global/gems/railties-4.2.5.1/lib/rails/commands/commands_tasks.rb:75:in `tap'
from /Users/antony1/.rvm/gems/ruby-2.3.0#global/gems/railties-4.2.5.1/lib/rails/commands/commands_tasks.rb:75:in `server'
from /Users/antony1/.rvm/gems/ruby-2.3.0#global/gems/railties-4.2.5.1/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
from /Users/antony1/.rvm/gems/ruby-2.3.0#global/gems/railties-4.2.5.1/lib/rails/commands.rb:17:in `<top (required)>'
from /Users/antony1/Documents/Ruby/Rails/blog/bin/rails:9:in `require'
from /Users/antony1/Documents/Ruby/Rails/blog/bin/rails:9:in `<top (required)>'
from /Users/antony1/.rvm/gems/ruby-2.3.0/gems/spring-1.6.2/lib/spring/client/rails.rb:28:in `load'
from /Users/antony1/.rvm/gems/ruby-2.3.0/gems/spring-1.6.2/lib/spring/client/rails.rb:28:in `call'
from /Users/antony1/.rvm/gems/ruby-2.3.0/gems/spring-1.6.2/lib/spring/client/command.rb:7:in `call'
from /Users/antony1/.rvm/gems/ruby-2.3.0/gems/spring-1.6.2/lib/spring/client.rb:28:in `run'
from /Users/antony1/.rvm/gems/ruby-2.3.0/gems/spring-1.6.2/bin/spring:49:in `<top (required)>'
from /Users/antony1/.rvm/gems/ruby-2.3.0/gems/spring-1.6.2/lib/spring/binstub.rb:11:in `load'
from /Users/antony1/.rvm/gems/ruby-2.3.0/gems/spring-1.6.2/lib/spring/binstub.rb:11:in `<top (required)>'
from /Users/antony1/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/antony1/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/antony1/Documents/Ruby/Rails/blog/bin/spring:13:in `<top (required)>'
from bin/rails:3:in `load'
from bin/rails:3:in `<main>'
I've run gem pristine --all and made sure that my gems were up to date, but I am still unable to get this to work. Any assistance would be appreciated.
After intializing a rails app, especially when you edit the Gemfile file, you need to run, it's generally a good idea to run bundle install to establish all the dependencies. Have you done that that?

Bundler.require fails in clean Rails project

My rails app fails to load when I have the following line in application.rb:
Bundler.require(:default, Rails.env)
I get the following error:
.rvm/gems/ruby-2.0.0-p353#global/gems/railties-4.0.2/lib/rails/initializable.rb:13:in `[]': no implicit conversion of Symbol into Integer (TypeError)
from /Users/gerardkelly/.rvm/gems/ruby-2.0.0-p353#global/gems/railties-4.0.2/lib/rails/initializable.rb:13:in `initialize'
from /Users/gerardkelly/.rvm/gems/ruby-2.0.0-p353#global/gems/railties-4.0.2/lib/rails/initializable.rb:85:in `new'
from /Users/gerardkelly/.rvm/gems/ruby-2.0.0-p353#global/gems/railties-4.0.2/lib/rails/initializable.rb:85:in `initializer'
from /Users/gerardkelly/.rvm/gems/ruby-2.0.0-p353#rails-4.0/gems/rolify-3.3.0/lib/rolify/railtie.rb:6:in `<class:Railtie>'
from /Users/gerardkelly/.rvm/gems/ruby-2.0.0-p353#rails-4.0/gems/rolify-3.3.0/lib/rolify/railtie.rb:5:in `<module:Rolify>'
from /Users/gerardkelly/.rvm/gems/ruby-2.0.0-p353#rails-4.0/gems/rolify-3.3.0/lib/rolify/railtie.rb:4:in `<top (required)>'
from /Users/gerardkelly/.rvm/gems/ruby-2.0.0-p353#global/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in `require'
from /Users/gerardkelly/.rvm/gems/ruby-2.0.0-p353#global/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in `block in require'
from /Users/gerardkelly/.rvm/gems/ruby-2.0.0-p353#global/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:214:in `load_dependency'
from /Users/gerardkelly/.rvm/gems/ruby-2.0.0-p353#global/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in `require'
from /Users/gerardkelly/.rvm/gems/ruby-2.0.0-p353#rails-4.0/gems/rolify-3.3.0/lib/rolify.rb:1:in `<top (required)>'
from /Users/gerardkelly/.rvm/gems/ruby-2.0.0-p353#global/gems/bundler-1.5.1/lib/bundler/runtime.rb:76:in `require'
from /Users/gerardkelly/.rvm/gems/ruby-2.0.0-p353#global/gems/bundler-1.5.1/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
from /Users/gerardkelly/.rvm/gems/ruby-2.0.0-p353#global/gems/bundler-1.5.1/lib/bundler/runtime.rb:72:in `each'
from /Users/gerardkelly/.rvm/gems/ruby-2.0.0-p353#global/gems/bundler-1.5.1/lib/bundler/runtime.rb:72:in `block in require'
from /Users/gerardkelly/.rvm/gems/ruby-2.0.0-p353#global/gems/bundler-1.5.1/lib/bundler/runtime.rb:61:in `each'
from /Users/gerardkelly/.rvm/gems/ruby-2.0.0-p353#global/gems/bundler-1.5.1/lib/bundler/runtime.rb:61:in `require'
from /Users/gerardkelly/.rvm/gems/ruby-2.0.0-p353#global/gems/bundler-1.5.1/lib/bundler.rb:131:in `require'
from /Users/gerardkelly/Web Development/Rails Apps/Rails 4/po-app/config/application.rb:5:in `<top (required)>'
from /Users/gerardkelly/.rvm/gems/ruby-2.0.0-p353#global/gems/railties-4.0.2/lib/rails/commands.rb:74:in `require'
from /Users/gerardkelly/.rvm/gems/ruby-2.0.0-p353#global/gems/railties-4.0.2/lib/rails/commands.rb:74:in `block in <top (required)>'
from /Users/gerardkelly/.rvm/gems/ruby-2.0.0-p353#global/gems/railties-4.0.2/lib/rails/commands.rb:71:in `tap'
from /Users/gerardkelly/.rvm/gems/ruby-2.0.0-p353#global/gems/railties-4.0.2/lib/rails/commands.rb:71:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'
Looks as though it's complaining about the params being sent in - which is odd because this is pre-baked Rails stuff. Note that the Bundler.require is application.rb:5 which its complaining about.
I'm on Rails 4, Ruby 2.0.0
Looks like the rollify gem you are using (so it's not clean rails project :P) has some issues in rails 4.x series.
Check this out: https://github.com/EppO/rolify/pull/218 there is a fork that already fixes that.

In Need of Basic Help

QUESTION: Why am I being thrown the following line:
/Users/dcarpenter/.rvm/gems/ruby-1.9.2-p290/gems/jrails-0.6.0/lib/jrails.rb:231:in `<module:Helpers>': uninitialized constant ActionView::Helpers::JavaScriptProxy (NameError)
ENV:
OS X 10.7
Rails 3.1.0.rc5
I have seen (spent many more hours trying to debug it myself):
Rails3 server and bundler error: uninitialized constant Bundler (NameError)
- more info available upon request
ANY IDEAS? I'm baffled.
Here is the full output from console...
dcarpenter$ rails s
/Users/dcarpenter/.rvm/gems/ruby-1.9.2-p290/gems/jrails-0.6.0/lib/jrails.rb:231:in `<module:Helpers>': uninitialized constant ActionView::Helpers::JavaScriptProxy (NameError)
from /Users/dcarpenter/.rvm/gems/ruby-1.9.2-p290/gems/jrails-0.6.0/lib/jrails.rb:2:in `<module:ActionView>'
from /Users/dcarpenter/.rvm/gems/ruby-1.9.2-p290/gems/jrails-0.6.0/lib/jrails.rb:1:in `<top (required)>'
from /Users/dcarpenter/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.17/lib/bundler/runtime.rb:68:in `require'
from /Users/dcarpenter/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.17/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
from /Users/dcarpenter/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.17/lib/bundler/runtime.rb:66:in `each'
from /Users/dcarpenter/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.17/lib/bundler/runtime.rb:66:in `block in require'
from /Users/dcarpenter/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.17/lib/bundler/runtime.rb:55:in `each'
from /Users/dcarpenter/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.17/lib/bundler/runtime.rb:55:in `require'
from /Users/dcarpenter/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.17/lib/bundler.rb:120:in `require'
from /Users/dcarpenter/Dropbox/workspace/BlueFusion/config/application.rb:9:in `<top (required)>'
from /Users/dcarpenter/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.0.rc5/lib/rails/commands.rb:52:in `require'
from /Users/dcarpenter/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.0.rc5/lib/rails/commands.rb:52:in `block in <top (required)>'
from /Users/dcarpenter/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.0.rc5/lib/rails/commands.rb:49:in `tap'
from /Users/dcarpenter/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.0.rc5/lib/rails/commands.rb:49:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
dcarpenter$
How come you're using jRails? Try removing it from your life as it's no longer actively developed and I wonder if it might be the source of your problem...
jQuery is the new default thesedays anyway so your don't need jrails...

Resources