title: Uninitialized constant Project (NameError) in setting up Figaro gem
body: <p>I updated a Rails 2.3 app to 3.2 and it seemed to be a pretty simple process but when setting up the Figaro gem I came across this error: </p>
  
  <pre><code>C:\Sites\JustManage&gt;rails generate figaro:install
  C:/Sites/JustManage/config/environment.rb:5:in `&lt;top (required)&gt;': uninitialized
   constant Projectmanagement (NameError)
          from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2.1
  /lib/rails/application.rb:103:in `require_environment!'
          from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2.1
  /lib/rails/commands.rb:25:in `&lt;top (required)&gt;'
          from script/rails:6:in `require'
          from script/rails:6:in `&lt;main&gt;'
  </code></pre>
  
  <p>Here is what my <strong>environment.rb</strong> looks like: </p>
  
  <pre><code># Load the rails application
  require File.expand_path('../application', __FILE__)
  
  # Initialize the rails application
  Projectmanagement::Application.initialize!
  </code></pre>
  
  <p>Here is my <strong>application.rb</strong> file: </p>
  
  <pre><code>require File.expand_path('../application', __FILE__)
  
  require 'rails/all'
  
  if defined?(Bundler)
    Bundler.require(*Rails.groups(:assets =&gt; %w(development test)))
  end
  
  module Railsapp
    class Application &lt; Rails::Application
      config.encoding = "utf-8"
  
      config.filter_parameters += [
        :password,
        :password_clear,
        :password_verify
      ]
  
      config.assets.enabled = true
      config.assets.version = '1.0'
  
    end
  end
  </code></pre>
  
  <p>I've never run into this error before and don't know why it's happening.</p>