forgot password?


   
 
Error uninitialized constant UJS
Posted: 11 June 2011 05:17 PM   [ Ignore ]  
Newbie
Rank
Total Posts:  3
Joined  2011-06-11

Hi
Excuse me for my trivial question
If I try to upgrade to 2.0 from 1.7, in Ubuntu 10.04 I get the error uninitialized constant UJS

tnx in advance

Profile
 
 
Posted: 11 June 2011 09:02 PM   [ Ignore ]   [ # 1 ]  
Sr. Member
RankRankRankRank
Total Posts:  882
Joined  2006-10-05

UJS was removed from Tracks with 2.0. I think you do not have a clean install

Profile
 
 
Posted: 12 June 2011 03:19 PM   [ Ignore ]   [ # 2 ]  
Newbie
Rank
Total Posts:  3
Joined  2011-06-11

Tnx 4 response
I think that I am in error with the procedure to upgrade to 2.0 from 1.7 !
I have the working vers in /var/www/tracks
I have downloaded the 2.0 zip vers, and I have unzipped in another folder named tracks20
I have copied the config file in the new installazion (cp /var/www/tracks/config/* /var/www/tracks20/config/)
then I have launched the db upgrade
cd /var/www/tracks20
rake db:migrate etc etc
Now I get the error !

tnx in advance

Profile
 
 
Posted: 20 June 2011 10:34 AM   [ Ignore ]   [ # 3 ]  
Sr. Member
RankRankRankRank
Total Posts:  882
Joined  2006-10-05

sorry for the late reply

I think you copied to much from the old /config. Only site.yml and database.yml needs to be copies (see upgrade instructions). I think you copied the old environment.rb which probably points to UJS.

Profile
 
 
Posted: 21 July 2011 02:10 PM   [ Ignore ]   [ # 4 ]  
Newbie
Rank
Total Posts:  3
Joined  2011-06-11

tnx
to complete the upgrade I had to submit the commands (I write for others who needed).

apt-get install ruby1.8-dev ruby1.8 ri1.8 rdoc1.8 irb1.8
apt-get install libreadline-ruby1.8 libruby1.8 libopenssl-ruby
apt-get install libxslt-dev
apt-get install libxml2-dev
gem install nokogiri
gem install sanitize


Bye

Profile
 
 
Posted: 30 December 2011 10:40 AM   [ Ignore ]   [ # 5 ]  
Newbie
Rank
Total Posts:  10
Joined  2010-02-11
Reinier Balt - 20 June 2011 10:34 AM

sorry for the late reply

I think you copied to much from the old /config. Only site.yml and database.yml needs to be copies (see upgrade instructions). I think you copied the old environment.rb which probably points to UJS.

Actually the manual says copy ALL of config, I ran into the same problem.

Profile