On Aug 24, 9:26 pm, Arthur Rats <[email protected]>
wrote:
> I've been having great fun trying to deploy a fresh install of rails on
> debian, specifically xlsuite to test it out, but my god how many more
> errors can I take before I give up.
>
> RAILS IS NOT NICE
>
> After battling with countless different errors from trying Ubuntu,
> Fedora, Windows and now Debian the list goes on and on and ON...
>
> now the latest error
>
> `load_missing_constant': uninitialized constant
> ActionController::AbstractRequest (NameError)
>
> is now coming up due to some missing code in the latest rails 2.3.3, so
> now I have to hack the application to try to get it to work, but surely
> isnt there a simple way to move between rails versions without having to
> refactor an entire application (xlsuite) to even get it to work?
>
> I;ve encountered 100's of glitches between os, ruby and rails versions,
> simply none of it works and its totally annoying as NO ONE seems to have
> a clue and forums are just a nice place to get lost and go round in
> circles...
>
> What can I do --- simple answer please..
>
> fresh install of xlsuite and dozens of gems,
> fresh install of debian  - not the best choice I know for rails
>
> gem update --system doesnt work, nor does the gem install rails, NOTHING
> WORKS!!!!!!!!!
> --
> Posted viahttp://www.ruby-forum.com/.


Yeah freaking with "NOTHING WORKS!!!!!!!!!" isn't really the best
approach when... trying to do anything. Regardless, having never heard
of xlsuite before your post, I figured I'd try to get it running to
try to see where things might go have gone wrong.

First, ran git clone git://github.com/xlsuite/xlsuite.git. Then, as
you mentioned the "ActionController::AbstractRequest (NameError)"
error, I tried to find out from their site what version of Rails it
requires. Apparently doesn't matter, as they've frozen Rails with
their app, so it will always use the bundled version rather than
whatever you happen to have installed via RubyGems. Next, I followed
the instructions in the INSTALL file:



= Basic Installation

XLsuite is built on-top of MySQL and cannot currently use any other
database servers.

1. cp config/database.yml.sample config/database.yml
2. Edit config/database.yml to suit you (must use MySQL)
3. rake db:create db:structure:load db:bootstrap
4. script/server
5. http://localhost:3000/

= Complete Installation

You will need to register an account at Amazon's Web Services to use
the Simple Storage Service (S3).  XLsuite stores it's assets in S3.
You may configure Asset to store the files on the local filesystem by
changing the :storage key of the #has_attachment call to :file_system.

If you want to integrate with Google Maps, you'll need a Google Maps
API key.  Update the Configuration named :google_maps_api_key with
your key.

= Running the tests

1. rake db:create RAILS_ENV=test
2. rake

After creating my database user and configuring database.yml
accordingly, I ran "rake db:structure:load db:bootstrap" (as I don't
give my development roles SUPER privileges." I *did* get an error here
though:

(in /home/xeno/projects/
xlsuite)
Missing these required
gems:
  RedCloth  ~>
4.0

You're running:
  ruby 1.8.7.72 at /usr/bin/ruby1.8
  rubygems 1.3.5 at /home/xeno/.gem/ruby/1.8, /usr/lib/ruby/gems/1.8

Run `rake gems:install` to install the missing gems.


So I ran sudo rake gems:install (again, I'm not running as the
superuser). RedCloth installed successfully, as did the database rake
commands now. Then I ran ./script/server, browsed to http://localhost:3000,
and after waiting for whatever it is XLSuite does, was greeted with
the login page.
a
Relevant information for my environment is:

x...@clover:~/projects/xlsuite$ cat /etc/issue
Ubuntu 9.04 \n \l

x...@clover:~/projects/xlsuite$ ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]


Using the distro's Ruby, not anything custom compiled here.  So,
before trying to hack away for no reason at code you do not
understand, what *are* the errors you're encountering, and what are
you doing to resolve each individual error as it happens?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to