-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
config/environments/development.rb:53:in `block in <top (required)>': uninitialized constant ActiveSupport::EventedFileUpdateChecker (NameErro #27462
Comments
Could not reproduce on the brand new app setup from scratch: $ rails -v
Rails 5.0.1
$ rails new rails_demo_app
$ cd rails_demo_app/
$ bin/rails generate controller Say hello goodbye
/Users/prathamesh/.rbenv/versions/ruby-dev/lib/ruby/gems/2.4.0/gems/activesupport-5.0.1/lib/active_support/xml_mini.rb:51: warning: constant ::Fixnum is deprecated
/Users/prathamesh/.rbenv/versions/ruby-dev/lib/ruby/gems/2.4.0/gems/activesupport-5.0.1/lib/active_support/xml_mini.rb:52: warning: constant ::Bignum is deprecated
/Users/prathamesh/.rbenv/versions/ruby-dev/lib/ruby/gems/2.4.0/gems/activesupport-5.0.1/lib/active_support/core_ext/numeric/conversions.rb:138: warning: constant ::Fixnum is deprecated
Running via Spring preloader in process 21156
Expected string default value for '--jbuilder'; got true (boolean)
Expected string default value for '--helper'; got true (boolean)
Expected string default value for '--assets'; got true (boolean)
create app/controllers/say_controller.rb
route get 'say/goodbye'
route get 'say/hello'
invoke erb
create app/views/say
create app/views/say/hello.html.erb
create app/views/say/goodbye.html.erb
invoke test_unit
create test/controllers/say_controller_test.rb
invoke helper
create app/helpers/say_helper.rb
invoke test_unit
invoke assets
invoke coffee
create app/assets/javascripts/say.coffee
invoke scss
create app/assets/stylesheets/say.scss Was there anything else that you had done before running the generate command? |
nothing i just follow the instruction on my book..!!! |
That sounds like it's been installed with an OS package, not a gem. Most likely this is a version mismatch between the loaded components and the generated application; if Active Support 5.0 was loaded, that class would be defined. |
Same problem here with Rails 5.0.1 and Ruby 2.4.0. Everything works but I always get a warning like:
|
I get this when I run rake commands. Everything seems to work fine.
|
@marceloboeira @CliffordBernard those will go away in 5.0.2 when #27458 goes out 😉 |
@kaspth thanks! |
Closing since this is fixed in 5-0-stable |
i created a rails new app, after the installation I add bundle exec rails about, then when I add bin/rails generate controller Say hello goodbye. that shows the error.
System configuration
Rails version:
rails version
Rails 5.0.1
Ruby version:
rvm install ruby-2.3.1
rvm install ruby-2.3
rvm install 2.3.1
rvm install 2.3
how could i fix this?
#
The text was updated successfully, but these errors were encountered: