On Wed, Oct 23, 2013 at 4:36 PM, Colin Law <[email protected]> wrote:
> On 23 October 2013 21:29, Jordon Bedwell <[email protected]> wrote: > > On Wed, Oct 23, 2013 at 3:19 PM, Ralph Vince <[email protected]> wrote: > >> Colin, yes, but this is the world I am stuck in(!) : > >> > >> gem uninstall executable-hooks > >> 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) > > > > You are on RVM, just empty it and remove the Gem from your Gemfile and > > move on, there are times when trying to figure out the problem is not > > worth it because it's so highly localized and edgy compared to just > > completing the easiest solution in fixing it, which in this case would > > be just clearing the entire gemset and starting over. > > He has not got a Gemfile ( I assume) as he is using rails 2. > > Ralph, I think you can just delete the executable-hooks folder, or > even just delete the complete ruby-1.8.... folder and install ruby in > rvm again. > > When you re-install the gems make sure you install the specific > versions of the gems that your original app used. The problem may be > that if you installed the latest versions you may have got one that is > not compatible with rails 2 or with that ruby. > > Colin > Thanks Guys, I dont seem to be able to find any file or folder on this entire, rather fresh, linux system named execute-hooks. I think the problem was that I first installed rails 2.3.2. Im going to try to reinstall everything all over again in the next 24 hours, starting with a fresh linux installations, using rails 1.3.7 instead. Based on what I am hearing from yor feedback, that should prevent the execute-hooks / versioning problems that percolated later up through my install (below, with rails not specified as 1.3.7). Can you please have a look and tell me if you see anything that looks glaringly wrong.Thanks for your help with this! Install MySQL and phpMyAdmin sudo apt-get update sudo apt-get install curl curl -L get.rvm.io | bash -s stable --auto . ~/.bash_profile rvm requirements rvm install 1.8.6 ruby -v gem install rails -v 1.3.7 sudo apt-get install libpq-dev sudo apt-get install libmysqlclient-dev sudo apt-get install nodejs gem install --remote mysql2 gem install --remote jdbc-mysql gem install --remote authlogic --version 2.0.13 gem install --remote calendar_date_select --version 1.15 gem install --remote mongrel gem install --remote paginator gem install --remote pdf-writer gem install --remote log4r gem install --remote needle gem install --remote nifty-generators gem install --remote RedCloth gem install --remote ruport gem install --remote rubyzip --version 0.9.1 gem install --remote ruport-util gem install --remote mailfactory gem install --remote acts_as_reportable gem list --local then, from the top folder of the rails app itself: ruby script/plugin install git:// github.com/activescaffold/active_scaffold.git --force ruby script/plugin install git://github.com/lackac/render_component.git -r rails-edge --force ruby script/plugin install git://github.com/craigambrose/redbox.git --force -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAAHNhKU_S1mipPcvfG8j1cQbjeL1%3D_evtu4UwzPL4Nh7oLMMVw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.

