Welcome Guest Login Register Member List
ExpressionEngine Forums
Advanced Search
Username: Password:
Remember Me? forgot password?
You are here: Forum Home  >  Installation  >  Linux  >  Thread
   
 
HOWTO: Install Tracks on Ubuntu or Debian
 
c00i90wn
Posted: 29 December 2006 02:34 PM   [ Ignore ]  
Newbie
Rank
Total Posts:  4
Joined  2006-12-29

I’ve written a HOWTO on this topic on my blog, I think some of you may find it useful and even would like to add it to the wiki.

The url to this howto is: http://www.cooldown.com.ar/2006/12/16/install-tracks-on-ubuntu-or-debian/

any comments please leave it there or here. I prefer there though.

Best Regards,
c00i90wn

Profile
 
bsag
Posted: 31 December 2006 10:45 AM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
RankRankRankRank
Total Posts:  217
Joined  2006-03-05

c00i90wn: Looks great! As you have a login for this forum, you can use the same credentials to log into the wiki: it would be a great idea to put a link to your instructions there.

Thanks!

Profile
 
c00i90wn
Posted: 02 January 2007 12:29 PM   [ Ignore ]   [ # 2 ]  
Newbie
Rank
Total Posts:  4
Joined  2006-12-29

For some weird reason I can’t login on the wiki, I get a blank page, can you modify it? I’m going on vacations right now so I won’t be able to see your reply for 15 days. Thanks a lot!

Profile
 
Stephen_B
Posted: 07 January 2007 09:30 PM   [ Ignore ]   [ # 3 ]  
Newbie
Rank
Total Posts:  4
Joined  2006-11-01

Some additional detail would be nice. For example, you state:

And now we install mysql.

sudo gem install mysql

and we need to choose the newest package available.

The choices that come up for me are:

Select which gem to install for your platform (i486-linux)
1. mysql 2.7.3 (mswin32)
2. mysql 2.7.1 (mswin32)
3. mysql 2.7 (ruby)
4. mysql 2.6 (ruby)
5. mysql 2.5.1 (ruby)
6. Cancel installation

Now, we are not on mswin32, so I’ll type in 3, but then I get:

> 3
Building native extensions.  This could take a while…
extconf.rb:1:in `require’: no such file to load—mkmf (LoadError)
      from extconf.rb:1

ERROR:  While executing gem ... (RuntimeError)
  ERROR: Failed to build gem native extension.
Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/mysql-2.7 for inspection.
 

Results logged to /usr/lib/ruby/gems/1.8/gems/mysql-2.7/gem_make.out

I’m kinda stuck here. Any suggestions?

Stephen

Profile
 
Stephen_B
Posted: 07 January 2007 11:36 PM   [ Ignore ]   [ # 4 ]  
Newbie
Rank
Total Posts:  4
Joined  2006-11-01

What was missing for me was editing my apache2.conf to read

AddHandler fcgi-script .fcgi
Alias 
/tracks /path/to/my/app/public

<
Directory /path/to/my/app/public>
  
Options ExecCGI FollowSymlinks
  AllowOverride All
</Directory> 

Now I have tracks over https. It’s quite snappy under ubuntu 6.10; I’m not seeing any slowdowns as I saw the last time I tried with an earlier version of ubuntu.

Stephen

[Edit: I should mention that I was using 1.04x tracks before, and this install was with trunk of 7 Jan 2007.]

Profile
 
bsag
Posted: 13 January 2007 05:01 PM   [ Ignore ]   [ # 5 ]  
Administrator
Avatar
RankRankRankRank
Total Posts:  217
Joined  2006-03-05

c00i90wn: Sorry, the login page was broken (I think it was the last update). Anyway, I think I’ve fixed it now. After login, you may be redirected back to the main Tracks page, but just manually go to the wiki URL again, and you should be logged in.

Profile
 
russd
Posted: 02 October 2008 02:28 PM   [ Ignore ]   [ # 6 ]  
Newbie
Rank
Total Posts:  3
Joined  2008-10-02

Hi
I have followed the instructions set out above but have hit a wall at the step:

sudo rake db_schema_import

This spits out errors:
$ sudo rake—trace db_schema_import
(in /var/www/tracks)
rake aborted!
undefined method `install_gem_spec_stubs’ for #<Rails::Initializer:0xb7a9407c>
/var/www/tracks/config/../vendor/rails/railties/lib/initializer.rb:49:in `send’
/var/www/tracks/config/../vendor/rails/railties/lib/initializer.rb:49:in `run’
/var/www/tracks/config/boot.rb:46:in `load_initializer’
/var/www/tracks/config/boot.rb:38:in `run’
/var/www/tracks/config/boot.rb:11:in `boot!’
/var/www/tracks/config/boot.rb:109
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require’
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require’
/var/www/tracks/Rakefile:4
/home/rd/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:2349:in `load’
/home/rd/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:2349:in `raw_load_rakefile’
/home/rd/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:1985:in `load_rakefile’
/home/rd/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling’
/home/rd/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:1984:in `load_rakefile’
/home/rd/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:1969:in `run’
/home/rd/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling’
/home/rd/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run’
/home/rd/.gem/ruby/1.8/gems/rake-0.8.3/bin/rake:31
/usr/bin/rake:19:in `load’
/usr/bin/rake:19

This is running tracks 1.6 in linux - ubuntu 8.04.1 (hardy)
$ rails -v
Rails 2.1.1
$ apache2 -v
Server version: Apache/2.2.8 (Ubuntu)
Server built:  Jun 25 2008 13:54:13
$ mysql -v
Server version: 5.0.51a-3ubuntu5.1 (Ubuntu)
$ firefox -v
Mozilla Firefox 3.0.3, Copyright (c) 1998 - 2008 mozilla.org

thanks in advance

Profile
 
russd
Posted: 02 October 2008 02:30 PM   [ Ignore ]   [ # 7 ]  
Newbie
Rank
Total Posts:  3
Joined  2008-10-02

oh and ruby -v

$ ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux]

cheers

Profile
 
magnusl
Posted: 21 October 2008 03:02 PM   [ Ignore ]   [ # 8 ]  
Newbie
Rank
Total Posts:  2
Joined  2008-10-21

Hi!

I am trying to install Tracks on a similar system, Ubuntu Hardy Heron. Do you have rubygems installed? I had not, and got similar errors.

Magnus

Profile
 
russd
Posted: 21 October 2008 11:01 PM   [ Ignore ]   [ # 9 ]  
Newbie
Rank
Total Posts:  3
Joined  2008-10-02

yeah I installed rubygems and it all went pear shaped.
it seems the versions or the apps needed in ubuntu repos are out of date/incompatible with tracks.  well at ~3-Oct-08.  Rather than fix it, in the end I unistalled ruby, etal to *later* redo this again with tar.gz versions.

Profile
 
maddentim
Posted: 08 December 2008 06:23 PM   [ Ignore ]   [ # 10 ]  
Newbie
Rank
Total Posts:  10
Joined  2007-08-30

I am running tracks 1.6 on a hardy heron server.  No big problem as I recall.  I am using mysql as the database instead of sqlite…  I do not have any particular suggestions though on how to work around your error, but I wanted you to know it did work.  Looking at the error, it does appear to be ruby related, but you probably knew that.  I would google parts of the error to see if others have dealt with the issue you are having.

Profile
 
simosx
Posted: 14 December 2008 11:33 PM   [ Ignore ]   [ # 11 ]  
Newbie
Rank
Total Posts:  3
Joined  2008-12-14

I was able to run Tracks on Hardy Heron.
In Ubuntu 8.10 (Intrepid), it just does not work. I tried Tracks 1.5, 1.6, 1.7RC and all give issues such as errors with ‘load_missing_constant’.

Ubuntu 8.10 comes with
    ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]

I did not expect Ruby to be such a messy system. I plan to go for custom installation in /usr/local/...

Profile
 
maddentim
Posted: 15 December 2008 01:45 AM   [ Ignore ]   [ # 12 ]  
Newbie
Rank
Total Posts:  10
Joined  2007-08-30

my function hardy install is on ruby 1.8.6

Profile
 
   
 
 
‹‹ ActionController::RoutingError (Recognition failed for "/tracks/public/dispatch.cgi")      basic question about apache and tracks ››

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

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

Atom Feed
RSS 2.0