Colin, I think you've forgotten more about Rails than I will ever know. Im using rvm, so to use in earlier versin of rubygems, how would I specify that? I took your advice and tried to comment out line 31 in custom_require.rb, and when I go to invoke with the old "ruby script/server" it now comes back with:
Error loading RubyGems plugin "/home/user/.rvm/gems/ruby-1.8.6-p420@global/gems/executable-hooks-1.2.5/lib/rubygems_plugin.rb": uninitialized constant ExecutableHooks (NameError) ./script/../config/boot.rb:39:in `run': uninitialized constant Rails::Initializer (NameError) from ./script/../config/boot.rb:11:in `boot!' This is the same error I get when I go to install ruby-debug: gem install ruby-debug Error loading RubyGems plugin "/home/user/.rvm/gems/ruby-1.8.6-p420/gems/executable-hooks-1.2.6/lib/rubygems_plugin.rb": uninitialized constant ExecutableHooks (NameError) Error loading RubyGems plugin "/home/user/.rvm/gems/ruby-1.8.6-p420@global/gems/executable-hooks-1.2.5/lib/rubygems_plugin.rb": uninitialized constant ExecutableHooks (NameError) /home/user/.rvm/rubies/ruby-1.8.6-p420/bin/gem:21: uninitialized constant Gem::GemRunner (NameError) On Wednesday, October 23, 2013 8:44:46 AM UTC-4, RVic wrote: > > I have an older rails app that runs on an old, windows machine that i ned > to port to a more modern linux. The app is written using ruby 1.8.6 > (2010-09-02 patchlevel 420) [i686-linux] with rails 2.3.2. > > I have installed all of it on the new system, all the required gems and > plugins, but when I go to fire it up from the projects to-level foder, it > errors out on me. I've looked all over the web for this, but can't find the > solution, and at this point, the tings others have tried frighten me as I > dont really want to kill the pristine setup I have on this new machine > (using rvm): > > >ruby script/server > /home/user/.rvm/gems/ruby-1.8.6-p420/gems/executable-hooks-1.2.6/lib/executable-hooks/regenerate_binstubs_command.rb:47: > > warning: parenthlesize argument(s) for future version > => Booting Mongrel > => Rails 2.3.2 application starting on http://0.0.0.0:3000 > /home/user/.rvm/gems/ruby-1.8.6-p420/gems/rails-2.3.2/lib/rails/gem_dependency.rb:99:Warning: > > Gem::Dependency#version_requirements is deprecated and will be removed on > or after August 2010. Use #requirement > /home/user/.rvm/rubies/ruby-1.8.6-p420/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > > `gem_original_require': no such file to load -- ruby-debug > (MissingSourceFile) > from > /home/user/.rvm/rubies/ruby-1.8.6-p420/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > > `require' > from > /home/user/.rvm/gems/ruby-1.8.6-p420/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in > > `require' > from > /home/user/.rvm/gems/ruby-1.8.6-p420/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:521:in > > `new_constants_in' > from > /home/user/.rvm/gems/ruby-1.8.6-p420/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in > > `require' > from /home/user/ggripv2/config/environments/development.rb:2:in > `load_environment' > from > /home/user/.rvm/gems/ruby-1.8.6-p420/gems/rails-2.3.2/lib/initializer.rb:365:in > > `load_environment' > from > /home/user/.rvm/gems/ruby-1.8.6-p420/gems/activesupport-2.3.2/lib/active_support/core_ext/kernel/reporting.rb:11:in > > `silence_warnings' > from > /home/user/.rvm/gems/ruby-1.8.6-p420/gems/rails-2.3.2/lib/initializer.rb:358:in > > `load_environment' > ... 9 levels... > from > /home/user/.rvm/gems/ruby-1.8.6-p420/gems/rails-2.3.2/lib/commands/server.rb:84 > from > /home/user/.rvm/rubies/ruby-1.8.6-p420/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > > `gem_original_require' > from > /home/user/.rvm/rubies/ruby-1.8.6-p420/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > > `require' > from script/server:3 > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/852ae091-cbec-47c9-993f-9a3445c6344b%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.