Michael Greenly
12/27/2007 5:28:00 PM
[Note: parts of this message were removed to make it a legal post.]
It sounds like gems are not available?
Can you give us the results of each of these commands?
#> which ruby
#> ruby --version
#> which rails
#> rails --version
#> which gem
#> gem environment
How did you install each of these components? Ruby? Gems? Rails?
I'd recomend this path on debian/ubuntu for people who don't know why they
may want to do it differently....
Install Ruby and Gems via apt and Rails via Gems. In your case you will
also want to make sure the version of Rails your application expects is
available. To find out what version you need look in
/config/environment.rb and then install Rails with a command something
like: "gem install rails --version 1.2.6"
The one thing to remember with this setup is DON'T run 'gem update --system'
A more robust alternative is to install Ruby via apt and Gems via source
packages.
On Dec 27, 2007 9:48 AM, Snoop1990 Snoop1990 <snoopy1990@googlemail.com>
wrote:
> Michael Greenly wrote:
> > Yes Rails applications can be sensitive to the version of Ruby, Rails or
> > Gems installed
> >
> > Telling us what error you got would help.
> >
> > On Dec 27, 2007 9:11 AM, Snoop1990 Snoop1990 <snoopy1990@googlemail.com>
>
>
>
>
> Ok, I use my first one, this application run on Freebsd without any
> errors! I copied the hole directory and now try to start the internal
> web server webrick and get this :
>
> $ ./script/server
> ./script/../config/boot.rb:18:in `require': no such file to load --
> rubygems (LoadError)
> from ./script/../config/boot.rb:18
> from ./script/server:2:in `require'
> from ./script/server:2
>
--
Michael Greenly