On Wed, Oct 23, 2013 at 6:01 PM, Hassan Schroeder < hassan.schroe...@gmail.com> wrote:
> On Wed, Oct 23, 2013 at 2:22 PM, Ralph Vince <rvinc...@gmail.com> wrote: > > > 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. > > ?? You originally said the app was developed using Rails 2.3.2. > And there is no such thing as "Rails 1.3.7"... > > > sudo apt-get install libpq-dev > > Why would you need that if you're using MySQL? > > > gem install --remote jdbc-mysql > > ?! Unless you're actually using JRuby, which seems unlikely, why > would you think you need that? > > If I were you, I would go back to the original machine and determine > which gems and gem versions the *running* app is actually using and > create an rvm gemset with exactly those (and only those) gems... > > I don't know if bundler will work with such an old version of Ruby, but > creating a Gemfile would at least document your dependencies and > help you through upgrading. > > Good luck, > -- > Hassan Schroeder ------------------------ hassan.schroe...@gmail.com > http://about.me/hassanschroeder > twitter: @hassan > Thank you Hassan, > > Yes, the dependencies I am putting in are from the original system BUT at > one time that was set up to run JRuby, and I believe that is where my > problem might be stemming. > > Additionally, you are right about theire being no rails 1.3.7, that line > should actually be the following lines: > > rvm install rubygems 1.3.7 > gem install rails -v 2.3.2 > > and hence my install script should now appear as: > > > 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 > rvm install rubygems 1.3.7 > gem install rails -v 2.3.2 > 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 > > > > > Thank You! -- 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/CAAHNhKUjvGFPf%3DaAPY75Fvt5xNYx985MP1V02U4Eq7WtqZjsug%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.