LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > Ruby/Rails > right_aws gem not recognized - 503 Service Not Available

Reply
 
Thread Tools Display Modes
  #1  
Old 05-26-2009, 01:09 PM
jmackin jmackin is offline
Member
 
Join Date: Apr 2009
Posts: 22
Default right_aws gem not recognized - 503 Service Not Available

I'm using the right_aws gem for Amazon S3 access in a rails application.

I get a 503 Service Not Available trying to access the website. stderr.log output:

Code:
2009-05-26 19:58:21.755 [STDERR] Missing these required gems:
  right_aws  

You're running:
  ruby 1.8.6.111 at /usr/bin/ruby1.8
  rubygems 1.3.2 at /.gem/ruby/1.8, /usr/lib/ruby/gems/1.8

Run `rake gems:install` to install the missing gems.
However, the gem IS installed and it works. I start up WEBrick and access the website no worries at all.

Am I missing something or why does Litespeed intervene?

JM
Reply With Quote
  #2  
Old 05-26-2009, 01:15 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
You may have multiple ruby install, make sure to use the right now, check it under "Server"->"Rails" tab.
Reply With Quote
  #3  
Old 05-26-2009, 01:25 PM
jmackin jmackin is offline
Member
 
Join Date: Apr 2009
Posts: 22
Server/Ruby Rails/Ruby Path points to /usr/local/bin/ruby which is symlinked to /usr/bin/ruby1.8. There doesn't seem to be another ruby installed.

What do you mean by 'make sure to use the right now'?
Reply With Quote
  #4  
Old 05-26-2009, 01:35 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
sorry, a typo, should be the "right one".
Does "gem list"
show "right_aws"?
Maybe it was installed as a user level gem, not a system level gem.
Reply With Quote
  #5  
Old 05-27-2009, 03:43 AM
jmackin jmackin is offline
Member
 
Join Date: Apr 2009
Posts: 22
yes, gem list shows right_aws (1.10.0) and I made sure I install it with

Code:
sudo gem install right_aws
to be at system level
Reply With Quote
  #6  
Old 06-13-2009, 05:46 PM
jmackin jmackin is offline
Member
 
Join Date: Apr 2009
Posts: 22
Hi mistwang

I'm still trying to solve this problem.

I made sure that right_aws (1.10.0) is installed with sudo and yet it LS still tells me that it doesn't find it?

stderr.log output:

Code:
2009-06-14 00:41:32.290 [STDERR] Missing these required gems:
  right_aws  

You're running:
  ruby 1.8.6.111 at /usr/bin/ruby1.8
  rubygems 1.3.2 at /.gem/ruby/1.8, /usr/lib/ruby/gems/1.8

Run `rake gems:install` to install the missing gems.
Do you know of a work around or can you tell me how to investigate the problem further.

Cheers,

JM
Reply With Quote
  #7  
Old 10-18-2009, 04:15 PM
Tarembah73 Tarembah73 is offline
New Member
 
Join Date: Oct 2009
Location: United States
Posts: 7
Default right_aws gem not recognized 503 Service Not Available

So gehts, warum auch immer:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32


require rubygems
require rubygems/gem_runner
require rake/gempackagetask

LOAD_PATH << File.dirname__FILE__ /lib

require flexview

spec = Gem::Specification.new do s
s.platform = Gem::Platform::RUBY
s.name = "flexview"
s.version = FlexView::VERSION
s.summary = "A component based XML template engine for Ruby on Rails."
s.files = FileListlib/flex_view, lib//.rb, test/, README, Manifest.txt.to_a

# Generate manifest file
File.openManifest.txt, w.write s.files.join"n"

s.require_path = "lib"
s.test_files = Dir.globtests/.rb
s.has_rdoc = true
s.extra_rdoc_files = "README"
end

Rake::GemPackageTask.newspec do pkg
pkg.need_tar = true
end

task :default => "pkg/#spec.name-#spec.version.gem" do
puts "gem saved to pkg/#spec.name-#spec.version.gem"
end
Reply With Quote
  #8  
Old 12-26-2009, 05:01 AM
teegogy09 teegogy09 is offline
New Member
 
Join Date: Oct 2009
Location: Germany
Posts: 6
Default right_aws gem not recognized 503 Service Not Available

Hi there, I thought perhaps this would be a good place to put Ruby Gem install requests so new people like me can know if their gem has been installed or not.

I have 2 requests, please let me know if you can install these from the rubyforge repository:

1 ar_mailer for mail queue support

2RedCloth for Textile markup support

I am new to rails and these gems are frequently required in my tutorial projects. Thanks
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:28 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.