Arch is currently not ideal as a Ruby on Rails server

Hi all.  This is my first post.  I hope I am posting in the right place.  I have just started using Arch, and I love it!  I have used many server distros in the past, have real experience in production environments, and I'd love to use Arch for any servers I need in the future.
There's a problem, though.  Best as I can tell, the only version of Ruby available on Arch right now is version 1.9.1.  While that's the latest stable, for certain reasons it is not the recommended version on which to run the popular web framework, Ruby on Rails, which I make my living developing in.  You can see that for yourself here:
http://rubyonrails.org/download - "We recommend Ruby 1.8.7 for use with Rails."
I'm sure this isn't the first time there have been popular versions of software despite there being later releases.  People are often slow to adapt in production environments.  However, I couldn't even find a ruby18 package, or anything like that.
I'm not requesting years-old stability or anything absurd like that.  In general, I like having the newest software.  But in practice, it's sometimes prudent to prefer the next-to-newest software.
In addition, the ruby package installs "rubygems", a separate package management system for Ruby analogous to CPAN in Perl.  The problem is, it installs an old version of rubygems, 1.3.1, which is so old it doesn't work.  The latest stable version of this is 1.3.7, and version 1.3.2 is required for Rails.  I was able to upgrade it using the special rubygems updater ("gem update --system") but I worry this will conflict with pacman, and it shouldn't be necessary.
In short: please upgrade rubygems, and please provide a 1.8 version of the ruby package.
All of the packages I'm discussing were based on the present pacman versions as of this post.  Thanks for your help and for the great distro!
Last edited by heatdeath (2010-05-31 04:27:58)

tomk wrote:heatdeath - you're not getting the point. If there is something you want from Arch that is not available in the official packages, you become part of the community and do it yourself. It may end up being just for you, or others may also find it useful and help you out, but either way you get what you want, and Arch gets the "community support which it does not have". There have been numerous examples of this over the years.
I understand your point, but using the AUR dramatically diminishes the ease of use from the whole setup.  I have to manually download the PKGBUILD and any patch files, build it, install it, and then manually keep track of updates, manually delete the installed files (there is no uninstall) and then repeat the process.  While it's great that the AUR is there for specialized interests, it seems that things from the AUR should be incorporated into the official packages if they have enough support.  My problem is mainly in the selection of "official packages", and the deference to the AUR anything that doesn't meet the strict and dare I say impractical requirements for inclusion therein.  There needs to be more respect for widely-used earlier branches, and there needs to be respect for upstream packaging problems such as the rubygems one.  And I am here, in the community, voicing my opinion on this issue, but I cannot change the official packages or the philosophy by sheer force of individual will.  It's going to require that people consider what I have to say, and consider what Arch should be.
Ruby 1.8, as with many other major releases, continued in its development and had point releases even after Ruby 1.9 came out.  Despite being official, these releases are not available via pacman.  It remains the dominant form of Ruby in use today, and probably will be for another year or so.
Consider the release of MySQL 5.0.  Would you expect everyone to switch from 4.1 immediately to 5.0 once they released their first stable?  Or shouldn't it be possible to stay on the prior major version branch and make the conscious decision to switch?  At some point, the keyword "mysql" should switch to the newer branch, and the old one should be maintained as mysql4.1 for legacy support for a while; but this should be a while in, after the tide has turned in its favor.  I'm certain something like this is already the policy for the Linux kernel, for instance.  I'm just asking it also be applied to Ruby.
Instead, I'm relegated as a minority interest to the AUR ghetto.  I think Rails and its philosophy has a lot in common with Arch Linux, and I've heard other Rails people speaking of it favorably.  They are both focused on ease of use.  They could be compatriots, and Arch could benefit from the friendship.  Both communities are often interested in using brand new software, when appropriate.  Rails is ruthless with its deprecation.  But the community for Arch Linux needs to decide whether it can be useful as a young, innovative new server distro for practical use, or whether it's beleaguered by the philosophy that "true" "critical" server distros use "stable" archaic software and sacrifice maintainability, bug fixes, new features, and simple pleasure in the process, and therefore Arch has no place amongst their anachronistic pantheon, doomed to dwell underground forever with Gentoo and the other thoughtful playthings.
I was surprised to find myself being criticized for suggesting I would use Arch as a production server.  I think it has the chops, it just needs to commit to the purpose.  Don't be defeatist, there are a wide variety of possible production scenarios, many which use fresh new software; let server admins make the decision whether or not Arch is capable of the job.
As for variations on upstream releases (such as fixing this rubygems version problem), I think the best solution is that pacman should have something that allows automatic building, installing, upgrading and uninstalling of community packages -- maybe even binary variants -- so that users can have the ease of use, but also realize they are using something that differs from the official upstream releases.  A convention to install in /opt or /usr/local/ would further the mental divide and diminish the risk.
Please understand my criticism comes with respect, and a desire to use Arch.  I ache every time I check the replies, knowing I've likely offended people.  I apologize for the length of this post.  The truth is, if I can't use Arch as a production server, I don't see any point to it.  I am an outsider looking in, sharing my thoughts, and I don't expect they will be received warmly, but it would be great if they were.  However, so far the impression I get from this thread is that Arch has no interest in being a production server, sees it as a sideline, implausible interest in conflict with its theory.

Similar Messages

  • [SOLVED]Ruby on Rails won't run with apache/passenger

    Hi I want to run Redmine, a Ruby on Rails application, on a personal server using MariaDB as the database and Apache with the Phusion Passenger module as the application platform. So far I am able to run Redmine with the default WeBrick server, but if I try to run it via Apache (http://192.168.1.5/redmine) I just get the directory index of  /usr/share/webapps/redmine. I've been running various php webapps using this apache installation without issues but my unfamiliarity with Ruby on Rails makes me unsure how to fix this. If I create a Ruby on Rails test  application as described at https://wiki.archlinux.org/index.php/Ru … figuration I get the same issue.
    Using the arch wiki articles on Ruby on Rails and Redmine, This is basically how I installed things:
    $ yaourt -S ruby1.9 rubygems1.9 nodejs redmine
    # gem-1.9 install rails
    # gem-1.9 install passenger
    /opt/ruby-1-9/ and subfolders ended up having no read/exexute permissions for 'other', probably because of my umask settings, so I changed the permissions, also because apache runs as user/group 'apache'.
    Ran the script that installs the passenger apache module:
    # /opt/ruby1.9/bin/passenger-install-apache2-module
    added to httpd.conf:
    LoadModule passenger_module /opt/ruby1.9/lib/ruby/gems/1.9.1/gems/passenger-4.0.5/libout/apache2/mod_passenger.so
    PassengerRoot /opt/ruby1.9/lib/ruby/gems/1.9.1/gems/passenger-4.0.5
    PassengerDefaultRuby /opt/ruby1.9/bin/ruby
    ServerName arch-server
    DocumentRoot /usr/share/webapps
    <Directory "/usr/share/webapps">
    # This relaxes Apache security settings.
    AllowOverride all
    Order allow,deny
    Allow from all
    # MultiViews must be turned off.
    Options -MultiViews
    </Directory>
    I checked if the passenger module is loaded, and judging from /var/log/httpd/error_log that seems the case:
    [ 2013-07-03 22:52:22.8947 28902/b7407700 agents/Watchdog/Main.cpp:440 ]: Options: { 'analytics_log_user' => 'nobody', 'default_group' => 'nobody', 'default_python' => 'python', 'default_ruby' => '/opt/ruby1.9/bin/ruby', 'default_user' => 'nobody', 'log_level' => '0', 'max_instances_per_app' => '0', 'max_pool_size' => '6', 'passenger_root' => '/opt/ruby1.9/lib/ruby/gems/1.9.1/gems/passenger-4.0.5', 'pool_idle_time' => '300', 'temp_dir' => '/tmp', 'union_station_gateway_address' => 'gateway.unionstationapp.com', 'union_station_gateway_port' => '443', 'user_switching' => 'true', 'web_server_pid' => '28901', 'web_server_type' => 'apache', 'web_server_worker_gid' => '1001', 'web_server_worker_uid' => '1006' }
    [ 2013-07-03 22:52:22.9120 28905/b73bd700 agents/HelperAgent/Main.cpp:555 ]: PassengerHelperAgent online, listening at unix:/tmp/passenger.1.0.28901/generation-0/request
    [ 2013-07-03 22:52:22.9262 28902/b7407700 agents/Watchdog/Main.cpp:564 ]: All Phusion Passenger agents started!
    [ 2013-07-03 22:52:22.9266 28910/b71dd700 agents/LoggingAgent/Main.cpp:271 ]: PassengerLoggingAgent online, listening at unix:/tmp/passenger.1.0.28901/generation-0/logging
    [Wed Jul 03 22:52:22 2013] [notice] Apache/2.2.24 (Unix) PHP/5.4.16 mod_ssl/2.2.24 OpenSSL/1.0.1e DAV/2 Phusion_Passenger/4.0.5 configured -- resuming normal operations
    'apachectl configtest' gives 'Syntax OK'.
    I followed the wiki on redmine (https://wiki.archlinux.org/index.php/Redmine), chose to use "bundle install" to install the required gems with only a 'production' environment. What worried me is that those gems are now in /root/.gems while the webserver runs as user 'apache'.
    I can run Redmine at 192.168.1.5:3000 without errors using:
    # ruby script/rails server webrick -e production
    But if I kill it and try via apache http://192.168.1.5/redmine I get a directory content listing.
    Last edited by rwd (2013-07-04 21:00:10)

    Thanks markocz, my use of sub-url was indeed the problem. With help from the linked article I did the following:
    # mkdir /usr/share/webapps/phusion-passenger/
    # ln -s /usr/share/webapps/redmine/public /usr/share/webapps/phusion-passenger/redmine
    # chown -R root:http /usr/share/webapps/
    # chmod -R g+rx /usr/share/webapps/
    httpd.conf now looks like this:
    LoadModule passenger_module /opt/ruby1.9/lib/ruby/gems/1.9.1/gems/passenger-4.0.5/libout/apache2/mod_passenger.so
    PassengerRoot /opt/ruby1.9/lib/ruby/gems/1.9.1/gems/passenger-4.0.5
    PassengerDefaultRuby /opt/ruby1.9/bin/ruby
    ServerName arch-server
    DocumentRoot /usr/share/webapps/phusion-passenger
    <Directory "/usr/share/webapps/phusion-passenger">
    # This relaxes Apache security settings.
    AllowOverride all
    Order allow,deny
    Allow from all
    # MultiViews must be turned off.
    Options +FollowSymLinks
    </Directory>
    RailsBaseURI /redmine
    <Directory "/usr/share/webapps/phusion-passenger/redmine">
    Options -MultiViews
    </Directory>
    Redmine now works via passenger.
    Last edited by rwd (2013-07-04 20:59:40)

  • Within Flex Debugging with Ruby on Rails?

    Hello guys
    I want to debug within adobe flex builder like we do in normal projects !
    I installed a local ruby on rails server, Now how could i connect/debug dynamically?
    Thanks a lot

    ok

  • Hello Vivek here, i was trying to download apps from itunes and i could get the error message as itunes currently not available for past 2 days

    Hello Vivek here, i was trying to download apps from itunes and i could get the error message as itunes currently not available for past 2 days, is there any problem ideally or, please leave a reply
    <Email Edited By Host>

    Hi vivekanandanganesan,
    Thanks for using Apple Support Communities.  This article has some steps you can try if you are unable to connect to the iTunes Store:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    Cheers,
    - Ari

  • I currently have a WPN824 v3 Netgear router and I'm trying to set up my Apple TV. I'm able to connect it to my wireless network but my airplay feature is currently not working.

    I currently have a WPN824 v3 Netgear router and I’m trying to set up my Apple TV. I am able to connect it to my wireless network but my airplay feature is currently not working. The icon does not appear on any of my devices. My ipad and ipones all are currently up to date and are all joined to the same network. Is it the way that my router is configured. Please help let me know what I need to change in my router settings or does my router not work with Airplay. Or is there a simple fix.

    you don't mention which products you use
    only ipad2 and up support mirror
    and only iphone4s and up support mirror
    other devices only use airplay for apps which support tvout options

  • How do i delete an old iCloud account from phone when I forget my password and I'm not able to reset it because my security questions do not match?! Help!! Currently not able to update any apps or icloud info

    How do i delete an old iCloud account from phone when I forget my password and I'm not able to reset it because my security questions do not match?! Help!! Currently not able to update any apps or icloud info...

    If your device is signed into an old ID of yours that is an earlier version of the ID you want to sign in with, do the following:
    If you are using iMessage and FaceTime, make sure you are signed into these services with your current ID.  If they are signed into the old ID, go to Settings>Messages>Send & Receive and Settings>FaceTime, tap the ID, sign out, then sign back in with your current ID.
    Then temporarily recreate the old ID by going to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  (You should not have to verify the old email account so it doesn’t matter if you no longer have access to it.)  Now go to Settings>iCloud, turn off Find My iDevice and enter your current password when prompted (even though it prompts you for the password for your old ID).  Then save any photo stream photos that you wish to keep to your camera roll (unless you are using iCloud Photo Library).  When finished go to Settings>iCloud, tap Sign Out (or Delete Account if you are not running iOS 8) and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address back to the way it was.  Now you can go to Settings>iCloud and sign back in with your current iCloud ID and password (your data will download back to your device).

  • My iMessage stopped working when I did the latest update on my phone. I have literally tried everything to reset it. I am currently not in the US, but my iMessage has always worked when I was in wifi and my phone is still activated.

    My iMessage stopped working when I did the latest update on my phone. I have literally tried everything to reset it. I am currently not in the US, but my iMessage has always worked when I was in wifi and my phone is still activated. I have tried to reset my network settings, my location, and even the reset all settings. When I click on my settings and iMessage it says that it is still waiting for activation... and my phone number is grayed out. I am able to recieve an iMessage to my email and that could work for right now but i'm not sure how to start a conversation the defaults to being sent from my email and not my cell phone number. please help!

    Hi shanny202.
    Really strange problem you have there. I have a few questions though.
    Please try again and try to make the phone as a new without restoringen with you iCloud-data or backup-data from iTunes. Maybe it is something wrong with the data (strange).
    Anyway, i think you should call Apple Support or visit an Apple Store, don't forgot to make a Genius Bar reservation.
    You locate the nearest Apple Store here: http://www.apple.com/retail/storelist/
    And here is Apples phone numbers around the world for support: http://support.apple.com/kb/HE57

  • The page you requested is currently not available. Please try again later .

    The message occurs, when I try to view a message from my PC. On other PCs the problem does NOT occur.
    Original message:
    " The page you requested is currently not available. Please try again later ...
    If you have questions, please send email to [email protected]
    For more information on the Oracle Collaboration Suite features, please refer to Oracle Technology Network"
    Pls help.
    Borys Lubera

    is this related to collab suite. if ys pls post in collab suite forum. this is reports forum

  • TS3297 iTunes store says: "Purchase of this item is currently not available. This item is being modified. Please try again later."

    I'm trying to purchase an album via iTunes and I keep getting the message:
    "Purchase of this item is currently not available. This item is being modified. Please try again later."
    What does that mean? Why is it listed in the store if it's not available? When will it be available?
    iTunes 10.7.0.21
    Thanks.

    It means it's being modified, try again later.
    Sorry, but which part of that do you not understand?
    Perhaps they're changing the price, so while they are doing that, you cannot buy it. It'll save you moaning later that you bought it and then the price went down. Or perhaps they've found that the album is faulty and so it has been removed until they can upload a non-faulty version. In either case, it will be available when Apple are ready to make it available. No one here knows when that will be.
    Wait 24 hours and try again. If no luck, wait another 24 hours and try again. Obviously, Apple would prefer you to buy the song from them, so that's why it's still listed. But it's up to you how long you wait before deciding that you've waited long enough and you simply buy the album from another store. You have that choice, it's not compulsory to buy from Apple you know.

  • Purchase of this item is currently not available. This item is being modified. Please try again later.

    Apple Support:
    I have tried to purchase albums by Muse dated 2003 and earlier from the iTunes Store in Denmark.
    For all of  these I am getting the response:
    "Purchase of this item is currently not available. This item is being modified. Please try again later.".
    Well its been like this for one week now.
    Is it still "being modified" or is it an access error that should not be there and that I am getting a misleading error message?
    Apple please help !
    Thanks,
    Alex

    All you can do is keep trying.  It happens sometimes.

  • This site is currently not available... Please try again later

    Hi,
         I had created a site http://budgie.azurewebsites.net/. I was able to successfully access this site. After a couple of days, I had deleted this site. Now, in my azure portal, I no longer see the web site budgie, but accessing the url gives
    me the error "This site is currently not available...  Please try again later".
         What must I do to completely remove this? I need to recreate this site again with the same url.
          I am able to create other azure web sites, and access them.
    Thanks & regards,
    Samuel Philip
    [email protected]
    SamuelPhilip

    Just as the message says, please try again later. This has to do with the fact the Azure hasn't completed purged your website name from their system yet. Besides, the external DNS servers may still holds the name/address reference.
    "Nameserver changes can typically take 0 to 24 hours to take effect, but they are known to take as long as
    48 hours to go into full effect. DNS zone record changes such as A, MX and CNAME records can typically take
    0 to 4 hours to resolve but are known to take as long as
    8 hours to fully propagate."
    Frank

  • Payment processing is currently not available

    payment processing is currently not available   Postepay

    Since Monday, I have been unable to buy music through
    iTunes store, as I've consistently got the error
    message "The iTunes Store is unable to process
    purchases at this time - Payment processing is
    temporarily unavailable...please try to make your
    purchase later"
    I've tried changing my card to a different one, in
    case it's a problem with the connection to my bank,
    but on the relevant "My Account" page, when I click
    to confirm, I again get "Payment processing is
    currently not available"
    iMac G5   Mac OS X (10.4.8)
    Did you manage to reslove this as I'm suffering with the same problem and have been for about a week now?
    G4   Mac OS X (10.3.9)  

  • I recently moved all my logic audio sessions to a back up hard disk. Also updated to Loin OSX. My Stylus RMX is not working. I get a message Missing Element on Part 1...Currently not installed on their computer or has been moved to a different folder. An

    I recently moved all my logic audio sessions to a back up hard disk. Also updated to Loin OSX. My Stylus RMX is not working. I get a message Missing Element on Part 1...Currently not installed on their computer or has been moved to a different folder. Any help out there?

    Hi
    Sounds like you may have moved the RMX library folder?
    Is RMX fully updated (for Lion)?
    Check your hard drives for a file called SAGE:
    It (or an alias of it) is normally found in the <USER>:Library:Application Support:Spectrasonics.
    Note that on Lion, the <User> Library is 'hidden'... quickest way to get there is to hold down Option (Alt) whilst using the Finder:Go menu
    CCT

  • Lost preferences and when requesting a batch operation  the  error "The command "Batches" is currently not available."

    For CS6 when I started to work again I had lost screen preferences and when tried to run a batch operation I got the message "The command "Batches" is currently not available."  Where are these files stored and how can I restore them?

    Found IT !!!   For Windows - go to users appdata folder and windows has a file restore function.  restored Actions Palette.psp and Adobe Photoshop X64 CS6 Prefs.psp files to previous versions.  Works great.
    Alvin55

  • Beta versions and other browsers are currently not supported by an application I use everyday, what do I need to do?

    When logging in to an application I get this message:
    You are attempting to access ezLaborManager with the following unsupported browser:
    Firefox Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20100101 Firefox/6.0.2
    ezLaborManager is only supported on current production versions of Internet Explorer and Firefox. "Beta" versions and other browsers are currently not supported.
    It is strongly recommended that you use a supported browser to avoid encountering access and display issues.
    WHAT VERSION OF FIREFOX SHOULD I USE?

    Well, you can waste a lot of time and money trying to get your old iron up to speed but the sad fact is, even though it may work with Color, it will most likely end in a less than satisfactory experience all around. You need to determine if your G5 has PCI, PCI-x or PCIe slots and then purchase the appropriate cards.
    However, Final Cut Studio 2 is optimized for the Intel processors. You will see users here and there using the newest models G5 with great success but quite honestly, you need a Mac Pro.
    Or just purchase the Aja IO/HD which is a firewire 800 interface and the only firewire device that will preview externally Color.

Maybe you are looking for

  • Iphone 6 was mysteriously cancelled, reordered, and cancelled again all by the system

    I am a new verizon wireless customer nearing the end of my at&t billing cycle. I haven't even received my phones yet but I have already had the worse experience ever. I ordered two iphones on 9/13 when the delievery date was still set at 9/19 in stor

  • IPod Touch No Content and apps Quit immediently after opening them

    My iPod touch second gen is just over a year old and has the 3.0 update and now at 3.1.2, the problem i am now facing is that my ipod touch is randomly telling me i have no music and no movie content and when i access my apps they quit before they ev

  • Why can't I get FaceTime to work on ipad2

    I've tried to do the 8.8.8.8 on the settings, I have everything in working order. I never used FaceTime prior to now even though my iPad is over a year old. I have always used my iPhone. I don't understand why it won't let me  get it going. Any sugge

  • Unable to connect to LAN - Integrated 10/100BASE-T Ethernet LAN (RJ-45 connector)

    Unable to connect to LAN, downgraded laptop from Windows 8 to Windows 7 64-bit. Have tried using the HP device identifier, and installing all drivers under Network for the laptop on WIndows 7, though none of them showed as being for Local Area Networ

  • My 5310 USB problem...PLS HELP ME...

    where can i buy my 5310 usb cover??? last time when i open my usb to use it... my usb cover was broken and i cant lock it properly... is there any usb cover in "NOKIA SHOPS" for my 5310?? or simply the "USB CONNECTOR DOOR" tell me if they have some..