Hi everyone,
I wrote a post last week, but unfortunatly I had no time to try.
First of all I’d like to thank you, for every your answer, and
then I’m sorry for the late of my answer. I REALLY appreciated them.
So I did as you told me, but this problem is still on.
First of all, I changed the server script file as you told me, so I
deleted the first line:
#!/Users/dave/ruby1.8/bin/ruby
and I wrote this one.
#!/usr/bin/env ruby
But now when I’m running it I have some other problems:
matteod@bones:~/work/depot_final$ ruby script/server
./script/…/config/environment.rb:35:in `require’: no such file to load
– rubygems (LoadError)
from ./script/…/config/environment.rb:35
from script/server:45
So I checked the 35 line in the environment.rb file and I have this line
require ‘rubygems’
and the 45 line in the server file
require File.dirname(FILE) + “/…/config/environment”
I supposed the problem is about rubygem installation so I checked it.
I’ve installed the rubygem in this folder.
matteod@bones:/opt/rubygems-0.8.11/bin$ ls
gem gem_mirror gem_server gemwhich generate_yaml_index.rb
update_rubygems
Is it right? What’s the matter now?
Many thanks!
Matteo.