Amahi installed. worked. updated fedora. Rails Fail. wtf

oe800r
Posts: 2
Joined: Thu Feb 25, 2010 9:20 pm

Amahi installed. worked. updated fedora. Rails Fail. wtf

Postby oe800r » Thu Feb 25, 2010 9:27 pm

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?

oe800r
Posts: 2
Joined: Thu Feb 25, 2010 9:20 pm

Re: Amahi installed. worked. updated fedora. Rails Fail. wtf

Postby oe800r » Thu Feb 25, 2010 9:53 pm

did this:
downloaded a newer gems
(amahi was using 0.9.0)

Code: Select all

ruby setup.rb all
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?!?!

njtuneguy
Posts: 12
Joined: Tue Feb 23, 2010 8:08 pm

Re: Amahi installed. worked. updated fedora. Rails Fail. wtf

Postby njtuneguy » Wed Mar 03, 2010 5:59 pm

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
Headless HDA: Fedora 12, AMDx2 3800+, 4gb DDR 3200, 40gb HDD (Boot & 8.4gb Swap, mounted at "/boot"), 2x1tb 7200rpm HDD SoftwareRaid-0 (mounted at "/"). Linksys WRT54G v.5, 100mbit LAN to HDA. WLAN clients: Macbook 2,1 OSX 10.6.2; Windows XP SP3. Comcast 15mbit.

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Amahi installed. worked. updated fedora. Rails Fail. wtf

Postby cpg » Thu Mar 04, 2010 1:28 am

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 ...
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

Who is online

Users browsing this forum: No registered users and 33 guests