Welcome Guest Login Register Member List
ExpressionEngine Forums
Advanced Search
Username: Password:
Remember Me? forgot password?
You are here: Forum Home  >  Installation  >  Tracks on a web host  >  Thread
   
 
actionpack version error?
 
Beetle B.
Posted: 18 May 2009 12:29 AM   [ Ignore ]  
Newbie
Rank
Total Posts:  4
Joined  2009-05-18

I’ve been using Tracks v 1.6 on Dreamhost for a while now. Today I tried upgrading to 1.7. I followed the instructions, but when it comes time to update the database, I get:

username@yoda ~/tracks $ rake db:migrate RAILS_ENV=production—trace
(in /home/.hammacher/beetle_b/tracks)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
RubyGem version error: actionpack(2.1.0 not = 1.13.6)
/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:259:in `require_frameworks’
/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:133:in `process’
/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in `send’
/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in `run’
/home/username/tracks/config/environment.rb:20
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require’
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require’
/usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require’
/usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in `new_constants_in’
/usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require’
/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/tasks/misc.rake:3
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `call’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `execute’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `each’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `execute’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:578:in `invoke_with_call_chain’
/usr/lib/ruby/1.8/monitor.rb:238:in `synchronize’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in `invoke_with_call_chain’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:588:in `invoke_prerequisites’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in `each’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in `invoke_prerequisites’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:577:in `invoke_with_call_chain’
/usr/lib/ruby/1.8/monitor.rb:238:in `synchronize’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in `invoke_with_call_chain’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:564:in `invoke’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2019:in `invoke_task’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `top_level’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `each’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `top_level’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1991:in `top_level’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1970:in `run’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/bin/rake:31
/usr/bin/rake:19:in `load’
/usr/bin/rake:19

I’m not a Rails person. Any ideas?

(At the moment, I may try to install 1.6 on a local machine, copy the DB over. Upgrade locally. And then re-install from scratch on server and just move local DB over to host. But that’s a pain and I’m sure I’ll screw up…).

Profile
 
Reinier Balt
Posted: 19 May 2009 06:53 AM   [ Ignore ]   [ # 1 ]  
Sr. Member
RankRankRankRank
Total Posts:  580
Joined  2006-10-05

I think you need to upgrade RubyGems to 1.3.1 or later.

Profile
 
Beetle B.
Posted: 19 May 2009 02:12 PM   [ Ignore ]   [ # 2 ]  
Newbie
Rank
Total Posts:  4
Joined  2009-05-18

gem -v states that I am using 1.3.1

(I don’t know if that means all gems are updated - not a Rails person).

For now, I’ve installed it at home and moved the DB there. I’ll continue to use it locally until this gets resolved.

Profile
 
Reinier Balt
Posted: 19 May 2009 02:47 PM   [ Ignore ]   [ # 3 ]  
Sr. Member
RankRankRankRank
Total Posts:  580
Joined  2006-10-05

I’m interested in the gem RubyGems.

Try gem list—local. This will show you a list of installed gems. RubyGems should be listed there

Profile
 
Beetle B.
Posted: 19 May 2009 02:55 PM   [ Ignore ]   [ # 4 ]  
Newbie
Rank
Total Posts:  4
Joined  2009-05-18

Isn’t Ruby Gems a package that has lots of gems? As such, it shows:

*** LOCAL GEMS ***

actionmailer (2.2.2, 2.1.1, 2.1.0)
actionpack (2.2.2, 2.1.1, 2.1.0)
actionwebservice (1.2.6, 1.2.3)
activerecord (2.2.2, 2.1.1, 2.1.0)
activeresource (2.2.2, 2.1.1, 2.1.0)
activesupport (2.2.2, 2.1.1, 2.1.0)
acts_as_taggable (2.0.2, 1.0.4)
ajax_scaffold_generator (2.2.1)
archive-tar-minitar (0.5.1)
auth_generator (2.0.1, 1.5.3, 1.1.0)
Bloglines4R (0.1.0)
BlueCloth (1.0.0)
builder (2.0.0, 1.2.4)
camping (1.5)
capistrano (2.5.1, 1.4.1, 1.4.0)
classifier (1.3.1)
cmdparse (2.0.2, 2.0.0)
curb (0.1.4)
daemons (1.0.9, 1.0.7, 1.0.6)
diff-lcs (1.1.2)
facets (2005.10.30, 1.8.54, 1.8.51, 1.8.49, 1.0.3)
fastthread (1.0.1)
feedtools (0.2.29, 0.2.26)
ferret (0.11.4, 0.10.13, 0.10.11)
flickr (1.0.2)
gd2 (1.1.1, 1.1, 1.0)
gen (0.41.0, 0.29.0)
geoip (0.3.0, 0.2.0)
gettext (1.10.0, 1.8.0, 1.3.0)
glue (0.41.0, 0.29.0)
gnuplot (2.2, 2.1)
gravtastic (2.0.0)
gruff (0.2.8)
haml (2.0.3)
hoe (1.2.1, 1.1.7)
hpricot (0.6)
htmltools (1.10, 1.09)
localization_generator (1.0.8, 1.0.7)
login_generator (1.2.2)
madeleine (0.7.3, 0.7.1)
mechanize (0.7.6)
mini_magick (1.2.3)
mysql (2.7, 2.6)
needle (1.3.0, 1.2.1)
net-sftp (1.1.0)
net-ssh (1.1.2, 1.0.10, 1.0.8)
nitro (0.41.0, 0.29.0)
og (0.41.0, 0.29.0)
packet (0.1.13)
PageTemplate (2.2.0, 2.1.3)
ParseTree (1.7.1, 1.6.3, 1.3.7)
payment (1.0.1, 0.9)
pdf-writer (1.1.8)
podcast (0.0.4, 0.0.3)
rack (0.4.0, 0.3.0)
radiant (0.6.9)
rails (2.2.2, 2.1.1, 2.1.0)
rake (0.8.3, 0.8.2)
RedCloth (3.0.4, 3.0.3)
rfacebook (0.9.8, 0.8.3)
rmagick (1.15.12, 1.15.10)
rspec (1.1.3)
ruby-breakpoint (0.5.1, 0.5.0)
ruby-debug (0.9.3, 0.9.2)
ruby-openid (2.0.3)
ruby-yadis (0.3.4)
ruby_odeum (0.4.1)
rubyforge (0.4.2, 0.4.0)
RubyInline (3.6.3, 3.6.2, 3.4.0)
rubypants (0.2.0)
rubyzip (0.9.1, 0.5.12, 0.5.9)
ruport (1.4.0)
ruport-util (0.13.0)
ruwiki (0.9.3)
salted_login_generator (1.1.1, 1.1.0)
shipping (1.5.1, 1.3.0, 1.2.1)
SimpleSearch (0.5.0)
sqlite3-ruby (1.2.1, 1.1.0)
stemmer (1.0.1)
switchtower (1.0.1)
syntax (1.0.0, 0.7.0)
tagtools (0.0.3)
tidy (1.1.2)
tzinfo (0.3.3)
unicode (0.1)
uuidtools (1.0.1, 1.0.0, 0.1.4)
webgen (0.4.5, 0.3.8, 0.3.6)
wee (0.10.0, 0.9.1)
xhtmldiff (1.0.0)
xml-simple (1.0.11)
ym4r (0.6.1)
youtube-g (0.4.9.9) 

At my home computer (where it all works), it shows:

*** LOCAL GEMS ***

actionmailer (2.2.2, 2.1.2, 2.0.2)
actionpack (2.2.2, 2.1.2, 2.0.2)
activerecord (2.2.2, 2.1.2, 2.0.2)
activeresource (2.2.2, 2.1.2, 2.0.2)
activesupport (2.2.2, 2.1.2, 2.0.2)
rails (2.2.2, 2.1.2, 2.0.2)
rake (0.8.3) 
Profile
 
Reinier Balt
Posted: 19 May 2009 06:15 PM   [ Ignore ]   [ # 5 ]  
Sr. Member
RankRankRankRank
Total Posts:  580
Joined  2006-10-05

I think you are right, so you are using rubygems 1.3.1 (you can get more info with gem environment)

How did you do the upgrade? Did you use the complete contents of the zip? did you migrate from the 1.6-environment.rb to the 1.7-environment.rb/site.yml ?

Profile
 
Beetle B.
Posted: 19 May 2009 08:22 PM   [ Ignore ]   [ # 6 ]  
Newbie
Rank
Total Posts:  4
Joined  2009-05-18

I merely followed the instructions.

I backed up the DB.

I backed up and renamed the tracks directory.

I unzipped the new tracks in the same location as the old one.

I edited site.yml and put the salt key from the environment.rb of the old one.

Then I went to the main tracks directory and tried updating the database.

This is just from memory…

Profile
 
Reinier Balt
Posted: 22 May 2009 12:13 PM   [ Ignore ]   [ # 7 ]  
Sr. Member
RankRankRankRank
Total Posts:  580
Joined  2006-10-05

strange though that its using rails2.2.2 from /usr/lib/ruby/gems in stead of /path/to/tracks/vendor/rails. Perhaps it would be wise to ask for support from dreamhost…

Profile
 
   
 
 
‹‹ Server keeps stopping on bluehost (unix using cPanel)      Assistance Needed installing Tracks on Hostgator ››

Powered By ExpressionEngine
Template Design By Sonnenvogel.com
Select a theme:

ExpressionEngine Discussion Forum - Version 2.1.2 (20091002)
Script Executed in 0.1305 seconds

Atom Feed
RSS 2.0