Wednesday, October 23, 2013

Re: [Rails] Re: Old rails project, new machine




On Wed, Oct 23, 2013 at 3:43 PM, Colin Law <clanlaw@googlemail.com> wrote:
On 23 October 2013 17:44, RVic <rvince99@hotmail.com> wrote:
>
>
> On Wednesday, October 23, 2013 11:26:51 AM UTC-4, Colin Law wrote:

>> Why are you using  the executablehooks gem anyway on a rails 2 app?
>>
>>
> I didn't intentionally  opt for that (or, if i did, it was X years ago when
> this thing was written!). How would I get rid of that? Thanks.

Just uninstall the gem if you don't need it.  Of course that may not
be the issue at all, you may get a similar problem somewhere else.

Was it used on the old system?

Colin

Colin,

It must have been installed on the old system via a dependency to one of the other gems listed below (it;s the entire listing of commandsI used to install this onto a pristine Linux Mint 15 installation).

I have some serious doubts about this -- Ive been trying to get mongrel to fire up this rails app for a few days now, and am entirely unable to get anywhere with it. I cannot even list the gems on this installation now!

gem list --local
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)

I need to go back and start wit a pristine OS I think and start installing things one step at a time until I get this to run -- I dont think I can salvage this at this point. Here are the steps I took, and I will take again, one step at a time, until I get it to run or end up in thissame pit of despair!

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 2.3.2
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


Does that look ok to you? Thanks again. RVic

--
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+unsubscribe@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/CAAHNhKUH15PJBXXO7bXdM02%3DHvM%2BNDa79L4j%3DZK2hE%2BZtLNdJw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate