NameError: uninitialized constant ActiveSupport::Dependencies

I am a newby to Rubymine.

I am trying to port an application from Aptana RadRails to Rubymine 3.0.3

My process: I created a sample Rails application in Rubymine  "Ruby3Sample" It is simple and it runs.

In another Rubymine window, I imported my RadRails application (StralsundProject) from my svn backup.

Comparing some of the basic files in Ruby3Sample with my RadRails application, I whacked and added files to StralsundProject until I got the server (Webrick) to run.

However, when I try to access the server from a web browser ( http://localhost:3000/ ) it crashes with the error:

   ERROR NameError: uninitialized constant ActiveSupport::Dependencies

I realize that with my porting process, anything can go wrong.

I am looking for some suggestions for this particular problem.

Comment actions Permalink

I created another rails project. Starting from square one eliminates the uninitialized constant error.

Then laborously copy over apps files and test each one..

Comment actions Permalink

Hello Bob,

Which RubyMine version do you use. You mentioned "3.0.3" but our latest released version is "3.0.1". Could you attach full console stactrace. Which ruby interpreter do you use, which rails gem version. Please  attach diagnostics info from RubyMine | Tools | Show Gem Environment" dialog.


Please sign in to leave a comment.