My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 2: uninitialized class variable @@app_name in RailsInstaller
4 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by PaulTNicholson, Aug 18, 2006
What steps will reproduce the problem?
1. run rails-app-installer-setup app_name_here

What is the expected output? What do you see instead?
/opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:163:in
`app_name': uninitialized class variable @@app_name in RailsInstaller
(NameError)
        from
/opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:601:in
`find_source_directory'
        from
/opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/bin/rails-app-installer-setup:36
        from
/opt/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:140:in
`load'
        from /opt/local/bin/rails-app-installer-setup:18

What version of the product are you using? On what operating system?
Mac OS X 10.4.7 - Ruby 1.8.4 - Rails 1.1.16 - Rails App Installer gem


Comment 1 by scottlaird, Aug 26, 2006
Hmm.  I'll look into this.

I need to figure out how to get a notification when new bugs show up here without
manually checking.
Owner: ---
Comment 2 by seven1m, Sep 19, 2006
To fix, change line 601 of lib/rails-installer.rb to read 'message "Installing
#{gem_name} #{@install_version}"' instead of "Installing #{app_name}
#{@install_version}"'.
Sign in to add a comment

Hosted by Google Code