Hi,
Im a newbie to ruby and rails. I installed mongrel using the command:
sudo gem install mongrel --include-dependencies
When i try to start mongrel with
mongrel_rails start -d, its throwing the same error as it did to you:
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
gem_original_require': no such file to load -- http11 (LoadError) from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
require’
from
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3-java/lib/mongrel.rb:12
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
gem_original_require' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
require’
from
/usr/local/lib/ruby/gems/1.8/gems/swiftiply-0.6.1.1/bin/mongrel_rails:17
from /usr/local/bin/mongrel_rails:19:in `load’
from /usr/local/bin/mongrel_rails:19
Can you please share some thoughts/experiences…Im not too sure where i
should be looking into.Any pointers will be greatly appreciated.
Thanks
hi!
#gem list mongrel
*** LOCAL GEMS ***
mongrel (1.1.3, 1.1.2, 1.1.1, 1.0.1)
mongrel_cluster (1.0.5)
could you paste here your “gem list mongrel” output
btw. i start my mongrel cluster with mongrel_rails cluster::start
there is a configuration folder in the rails application folder
//this is a sample!
root@dev:rails.app#cat config/mongrel_cluster.yml
user: www
cwd: /home/somebody/rails/rails.app
log_file: log/mongrel.log
port: “3002”
environment: production
group: www
address: 127.1.0.3
pid_file: tmp/pids/mongrel.pid
servers: 1
you need something like this
cheeers,
istvan
Hi Istvan,
Thanks a lot for replying. I reinstalled mongrel from the link:
http://rubyosx.rubyforge.org
Now when i try to start mongrel, by using script/server, it seems to
work fine.
And when i say gem list mongrel, i get this output:
*** LOCAL GEMS ***
mongrel (1.1.3, 1.0.1). I do not seem to have the mongrel_cluster gem.
Thanks,
Anusha
Istvan Szukacs wrote:
hi!
#gem list mongrel
*** LOCAL GEMS ***
mongrel (1.1.3, 1.1.2, 1.1.1, 1.0.1)
mongrel_cluster (1.0.5)
could you paste here your “gem list mongrel” output
btw. i start my mongrel cluster with mongrel_rails cluster::start
there is a configuration folder in the rails application folder
//this is a sample!
root@dev:rails.app#cat config/mongrel_cluster.yml
user: www
cwd: /home/somebody/rails/rails.app
log_file: log/mongrel.log
port: “3002”
environment: production
group: www
address: 127.1.0.3
pid_file: tmp/pids/mongrel.pid
servers: 1
you need something like this
cheeers,
istvan
http://weho.st
Piyush R. wrote:
Hi Anusha
I am not very sure about this but doesn’t this line
/usr/local/lib/ruby/gems/1.8*/gems/mongrel-1.1.3-java/lib/mongrel.rb:12
from
*suggest that you have accidentally installed mongrel for java (jruby)
?
Hi Piyush,
I’m not sure either! Im a newbie to ruby and rails stuff…when i say
mongrel_rails start from my rails project root, it starts without any
problems.
Also, can you please let me know what version of mongrel is compatible
with swiftiply-0.6.1.1 in case you have any idea about it?
I seem to have multiple versions installed
mongrel-1.0.1
mongrel-1.1.3
mongrel-1.1.3-java
Thanks,
Anusha
Hi Anusha
I am not very sure about this but doesn’t this line
/usr/local/lib/ruby/gems/1.8*/gems/mongrel-1.1.3-java/lib/mongrel.rb:12
from
*suggest that you have accidentally installed mongrel for java (jruby)
?
mongrel-1.1.3-java
I think that’s where the problem is. Can you uninstall by *gem uninstall
mongrel-1.1.3-java
*I don’t have elegant solution right now.
Hey all,
I hope this isn’t off topic here, but I had a similar problem with
mongrel not starting (after i installed gem typo though) After a bunch
of reading and stumbling upon this thread after a google search here’s
where i ended up… ( Note: im stil a mongrel / rails noob )
I checked the mongrel gems i had via the list gem mongrel. that
printed…
*** LOCAL GEMS ***
mongrel (1.1.3, 1.0.1)
mongrel_cluster (1.0.5)
I then uninstalled mongrel 1.1.3 and mongrel_cluster, leaving only
mongrel 1.0.1
That worked, i was then able to start mongrel.
So maybe that helps maybe not, hope it does though.
Hey Chris,
That seemed to fix my problem. I had to uninstall mongrel 1.1 and
install 1.0.1 to get my script to work.
Thanks,
Nate Vick
Technical Ministry
New Heights Church