Closed rduz closed 13 years ago
Which ruby version are you using? 1.8.6?
I think it's fixed. Try reinstalling the plugin. Please note that I've changed the repository's name... run:
$ script/plugin install git://github.com/goncalossilva/XAccelRedirect.git
Thank you! I'll give it a try.
Regards, Rich
On Aug 10, 2011, at 11:23 AM, goncalossilvareply@reply.github.com wrote:
I think it's fixed. Try reinstalling the plugin. Please note that I've changed the repository's name... run: $ script/plugin install git://github.com/goncalossilva/XAccelRedirect.git
Reply to this email directly or view it on GitHub: https://github.com/goncalossilva/XAccelRedirect/issues/2#issuecomment-1774051
I'm assuming this is fixed. If it isn't, please reopen this bug!
Hi,
I've got an older 2.1.1 app that I'm trying to retrofit to use your plugin. When I fire up development after installing the plugin, I receive the following stack trace:
rduz@BIDSK0064U:/srv/rails/multichoice_annuity$ script/server => Booting Mongrel (use 'script/server webrick' to force WEBrick) => Rails 2.1.1 application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server * Starting Mongrel listening at 0.0.0.0:3000 * Starting Rails with development environment... Exiting /srv/rails/multichoice_annuity/vendor/rails/activesupport/lib/active_support/dependencies.rb:116:in
qualified_const_defined?': "Plugins::X-Accel-Redirect::Lib::XAccelRedirect" is not a valid constant name! (NameError) from /srv/rails/multichoice_annuity/vendor/rails/activesupport/lib/active_support/dependencies.rb:339:in
new_constants_in' from /srv/rails/multichoice_annuity/vendor/rails/activesupport/lib/active_support/dependencies.rb:331:incollect' from /srv/rails/multichoice_annuity/vendor/rails/activesupport/lib/active_support/dependencies.rb:331:in
new_constants_in' from /srv/rails/multichoice_annuity/vendor/rails/activesupport/lib/active_support/dependencies.rb:215:inload_file' from /srv/rails/multichoice_annuity/vendor/rails/activesupport/lib/active_support/dependencies.rb:96:in
require_or_load' from /srv/rails/multichoice_annuity/vendor/rails/activesupport/lib/active_support/dependencies.rb:261:inload_missing_constant' from /srv/rails/multichoice_annuity/vendor/rails/activesupport/lib/active_support/dependencies.rb:468:in
const_missing' from /srv/rails/multichoice_annuity/vendor/plugins/X-Accel-Redirect/init.rb:4:inevaluate_init_rb' ... 38 levels... from /srv/rails/multichoice_annuity/vendor/rails/railties/lib/commands/server.rb:39 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from script/server:3I'm not sure what is going on. Any ideas?
Thank you.
Regards, Rich