Amahi installed. worked. updated fedora. Rails Fail. wtf
Posted: Thu Feb 25, 2010 9:27 pm
by oe800r
I've been battling amahi installs for a while now.
I'd like to start OVER. there is no easy mechanism to do this! (not that I've found anyways.)
I've searched and searched but haven't found anything to work yet.
Fedora 12
Code: Select all
[Linux xxx.server 2.6.32.8-58.fc12.i686 #1 SMP Wed Feb 17 19:14:51 UTC 2010 i686 i686 i386 GNU/Linux
/code]
I belive it's with Gems or Rails (duh right?)
example:
[code]gem update
Updating installed gems...
ERROR: While executing gem ... (NoMethodError)
private method `specification_version=' called for #<Gem::Specification:0xb754cc18>
suggestions?
Re: Amahi installed. worked. updated fedora. Rails Fail. wtf
Posted: Thu Feb 25, 2010 9:53 pm
by oe800r
did this:
downloaded a newer gems
(amahi was using 0.9.0)
resulted in this:
Code: Select all
gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.6
- RUBY VERSION: 1.8.6 (2009-08-04 patchlevel 383) [i386-linux]
- INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /usr/bin/ruby
- EXECUTABLE DIRECTORY: /usr/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-linux
- GEM PATHS:
- /usr/lib/ruby/gems/1.8
- /root/.gem/ruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://rubygems.org/
which caused //hda to report:
Ruby on Rails application could not be started
Please... Where is the re-install amahi button?!?!
Re: Amahi installed. worked. updated fedora. Rails Fail. wtf
Posted: Wed Mar 03, 2010 5:59 pm
by njtuneguy
It's been awhile since you posted so perhaps you found the solution?? If not:
In the terminal copy/paste the following one line at a time and hit <enter>, type password when prompted:
Code: Select all
su -
gem install -v=2.3.4 --no-ri --no-rdoc rails
More info on the following threads:
http://forums.amahi.org/viewtopic.php?f ... date#p5953
http://forums.amahi.org/viewtopic.php?f=14&t=1131
Re: Amahi installed. worked. updated fedora. Rails Fail. wtf
Posted: Thu Mar 04, 2010 1:28 am
by cpg
hi, sorry for the late reply.
we have released a new version of the platform bits that ought to fix this issue.
your hda should have picked it up automatically.
this was a rather elaborate upstream error that bit amahi. sorry.
otherwise, what njtuneguy proposed is the solution - however, after messing with gems, etc. it may have broken badly.
sadly, the gem system is not well suited for upgrades (especially over linux packages). you can come by the irc channel for some help.
we value stability above all, so we tested the fix in all the conditions we could get our hands on ...