Rails
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 1 of 1
  1. #1
    Join Date
    May 2012
    Location
    France
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Rails does not work

    Hello everybody.

    I apologize in advance if my English is not good.

    For several reasons, I switched from Debian Linux to Fedora.

    I first try Fedora 16, but the system hanged so often, that it was nearly impossible to use it.
    After extensive efforts I have decide to give up Fedora 16 for Fedora 17 that I know, not yet launch as stable.

    After trying different install (upgrade from 16 with preupgrade; from live-usb, etc...), and a bios update, I get a much more stable system than I had with Fedora 16.

    But I have some problems, and one with rails.
    Any web application with the same version programs works perfectly under Debian testing Linux x86, even under windows xp 64, but not under Fedora 17.

    So, the problem seems to come from Fedora.

    I tried gem files from Fedora repository, but, as they neither work, I tried to use gem files from gem install.
    But nothing changed.

    Can somebody help me?

    Thanks a lot.

    Here may be useful informations:

    Code:
    uname -ro
    3.3.4-3.fc17.x86_64 GNU/Linux
    Code:
    ruby -v
    ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
    Code:
    rails -v
    Rails 3.2.3
    Code:
    gem -v
    1.8.24
    Code:
    gem list
    
    *** LOCAL GEMS ***
    
    abstract (1.0.0)
    actionmailer (3.2.3)
    actionpack (3.2.3)
    activemodel (3.2.3)
    activerecord (3.2.3)
    activeresource (3.2.3)
    activesupport (3.2.3)
    arel (3.0.2)
    bigdecimal (1.1.0)
    builder (3.0.0)
    bundler (1.1.3)
    coffee-rails (3.2.2)
    coffee-script (2.2.0)
    coffee-script-source (1.3.1)
    erubis (2.7.0)
    execjs (1.3.1)
    hike (1.2.1)
    i18n (0.6.0)
    io-console (0.3)
    journey (1.0.3)
    jquery-rails (2.0.2)
    json (1.7.0, 1.6.5)
    mail (2.4.4)
    mime-types (1.18)
    minitest (2.12.1)
    multi_json (1.3.4)
    polyglot (0.3.3)
    rack (1.4.1)
    rack-cache (1.2)
    rack-ssl (1.3.2)
    rack-test (0.6.1)
    rails (3.2.3)
    railties (3.2.3)
    rake (0.9.2.2)
    rdiscount (1.6.8)
    rdoc (3.12)
    regin (0.3.8)
    sass (3.1.17)
    sass-rails (3.2.5)
    sprockets (2.4.1, 2.1.3)
    sqlite3 (1.3.6)
    thor (0.15.2, 0.15.0, 0.14.6)
    tilt (1.3.3)
    treetop (1.4.10)
    tzinfo (0.3.33)
    uglifier (1.2.4)
    Code:
    rake db:migrate --trace
    rake aborted!
    undefined method `active_record' for #<Rails::Application::Configuration:0x00000002b95698>
    /home/railsdev/.gem/ruby/1.9.1/gems/railties-3.2.3/lib/rails/railtie/configuration.rb:85:in `method_missing'
    /home/railsdev/rails_projects/demo/config/application.rb:51:in `<class:Application>'
    /home/railsdev/rails_projects/demo/config/application.rb:13:in `<module:Demo>'
    /home/railsdev/rails_projects/demo/config/application.rb:12:in `<top (required)>'
    /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
    /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
    /home/railsdev/rails_projects/demo/Rakefile:5:in `<top (required)>'
    /home/railsdev/.gem/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in `load'
    /home/railsdev/.gem/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in `load_rakefile'
    /home/railsdev/.gem/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:501:in `raw_load_rakefile'
    /home/railsdev/.gem/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:82:in `block in load_rakefile'
    /home/railsdev/.gem/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
    /home/railsdev/.gem/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:81:in `load_rakefile'
    /home/railsdev/.gem/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:65:in `block in run'
    /home/railsdev/.gem/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
    /home/railsdev/.gem/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
    /home/railsdev/.gem/ruby/1.9.1/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>'
    /home/railsdev/bin/rake:23:in `load'
    /home/railsdev/bin/rake:23:in `<main>'
    Code:
    rake db:test:prepare --trace
    rake aborted!
    undefined method `active_record' for #<Rails::Application::Configuration:0x00000001c685f8>
    /home/railsdev/.gem/ruby/1.9.1/gems/railties-3.2.3/lib/rails/railtie/configuration.rb:85:in `method_missing'
    /home/railsdev/rails_projects/demo/config/application.rb:51:in `<class:Application>'
    /home/railsdev/rails_projects/demo/config/application.rb:13:in `<module:Demo>'
    /home/railsdev/rails_projects/demo/config/application.rb:12:in `<top (required)>'
    /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
    /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
    /home/railsdev/rails_projects/demo/Rakefile:5:in `<top (required)>'
    /home/railsdev/.gem/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in `load'
    /home/railsdev/.gem/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in `load_rakefile'
    /home/railsdev/.gem/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:501:in `raw_load_rakefile'
    /home/railsdev/.gem/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:82:in `block in load_rakefile'
    /home/railsdev/.gem/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
    /home/railsdev/.gem/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:81:in `load_rakefile'
    /home/railsdev/.gem/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:65:in `block in run'
    /home/railsdev/.gem/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
    /home/railsdev/.gem/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
    /home/railsdev/.gem/ruby/1.9.1/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>'
    /home/railsdev/bin/rake:23:in `load'
    /home/railsdev/bin/rake:23:in `<main>'

    Code:
    rails server
    /home/railsdev/.gem/ruby/1.9.1/gems/railties-3.2.3/lib/rails/railtie/configuration.rb:85:in `method_missing': undefined method `active_record' for #<Rails::Application::Configuration:0x000000017c7df0> (NoMethodError)
    	from /home/railsdev/rails_projects/demo/config/application.rb:51:in `<class:Application>'
    	from /home/railsdev/rails_projects/demo/config/application.rb:13:in `<module:Demo>'
    	from /home/railsdev/rails_projects/demo/config/application.rb:12:in `<top (required)>'
    	from /home/railsdev/.gem/ruby/1.9.1/gems/railties-3.2.3/lib/rails/commands.rb:53:in `require'
    	from /home/railsdev/.gem/ruby/1.9.1/gems/railties-3.2.3/lib/rails/commands.rb:53:in `block in <top (required)>'
    	from /home/railsdev/.gem/ruby/1.9.1/gems/railties-3.2.3/lib/rails/commands.rb:50:in `tap'
    	from /home/railsdev/.gem/ruby/1.9.1/gems/railties-3.2.3/lib/rails/commands.rb:50:in `<top (required)>'
    	from script/rails:6:in `require'
    	from script/rails:6:in `<main>'
    Code:
    rake test --trace
    rake aborted!
    undefined method `active_record' for #<Rails::Application::Configuration:0x00000001a94510>
    /home/railsdev/.gem/ruby/1.9.1/gems/railties-3.2.3/lib/rails/railtie/configuration.rb:85:in `method_missing'
    /home/railsdev/rails_projects/demo/config/application.rb:51:in `<class:Application>'
    /home/railsdev/rails_projects/demo/config/application.rb:13:in `<module:Demo>'
    /home/railsdev/rails_projects/demo/config/application.rb:12:in `<top (required)>'
    /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
    /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
    /home/railsdev/rails_projects/demo/Rakefile:5:in `<top (required)>'
    /home/railsdev/.gem/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in `load'
    /home/railsdev/.gem/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in `load_rakefile'
    /home/railsdev/.gem/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:501:in `raw_load_rakefile'
    /home/railsdev/.gem/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:82:in `block in load_rakefile'
    /home/railsdev/.gem/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
    /home/railsdev/.gem/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:81:in `load_rakefile'
    /home/railsdev/.gem/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:65:in `block in run'
    /home/railsdev/.gem/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
    /home/railsdev/.gem/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
    /home/railsdev/.gem/ruby/1.9.1/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>'
    /home/railsdev/bin/rake:23:in `load'
    /home/railsdev/bin/rake:23:in `<main>'
    Code:
    rails console
    /home/railsdev/.gem/ruby/1.9.1/gems/railties-3.2.3/lib/rails/railtie/configuration.rb:85:in `method_missing': undefined method `active_record' for #<Rails::Application::Configuration:0x000000018df800> (NoMethodError)
    	from /home/railsdev/rails_projects/demo/config/application.rb:51:in `<class:Application>'
    	from /home/railsdev/rails_projects/demo/config/application.rb:13:in `<module:Demo>'
    	from /home/railsdev/rails_projects/demo/config/application.rb:12:in `<top (required)>'
    	from /home/railsdev/.gem/ruby/1.9.1/gems/railties-3.2.3/lib/rails/commands.rb:39:in `require'
    	from /home/railsdev/.gem/ruby/1.9.1/gems/railties-3.2.3/lib/rails/commands.rb:39:in `<top (required)>'
    	from script/rails:6:in `require'
    	from script/rails:6:in `<main>'
    Last edited by lemak; 8th May 2012 at 10:21 AM. Reason: title was inaccurate

Similar Threads

  1. Rails vs Django
    By Query in forum Programming & Packaging
    Replies: 6
    Last Post: 28th June 2009, 06:51 AM
  2. ruby on rails
    By winblowz in forum Programming & Packaging
    Replies: 0
    Last Post: 29th December 2006, 02:16 PM
  3. Apache + Ruby on Rails
    By komi in forum Servers & Networking
    Replies: 1
    Last Post: 26th November 2006, 04:05 PM
  4. Ruby on rails vs PHP
    By pamount in forum Programming & Packaging
    Replies: 0
    Last Post: 3rd April 2006, 05:13 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •