Can't "require builder" for Ruby.

I have not the faintest clue how Ruby and gems work. I'm just trying to compile some software.
The following fails:
require 'rake'
require 'rubygems'
require 'builder'
Complaining that it can't find a file for builder. This is on a fresh install of ruby (1.9.1). What's wrong?
Thanks.

MTsoul wrote:
Well I don't know Ruby at all, so this is just a bunch of things that seem "weird" to me:
- Rake. Why a build system for a scripting language? What's wrong with make/configure/CMake, etc? I guess my gripe here is the fact that I'm trying to compile a Chromium extension, written in javascript, but somehow with a build system in Ruby.
- The fact that it does something at the level with stuff like Rakefiles. It's a general-purpose script, not a specialized utility like make. Make establishes its purpose when people see "makefile" and go "oh I should type make to build this". Is Ruby trying to do this? If it is, why is it a generic scripting language at all? If not, why do this at all?
- Gems are too integrated into Ruby. It'd be a lot nicer if gems (and extensions/plugins) were simply based on how files were placed in the lib directory, and let my package manager worry about what is and how it is distributed. (Like how Python is done on Arch - setuptools is not essential to the operation of things.) And for "gem install builder", why did it not require root access? If it didn't modify a system-file, did it cache something in my local directory or a tmp/var directory? Is that really the right way of doing things? E.g. security concerns.
- It's interpreted, yet the functionality it provides seems low-level enough (compared to PHP anyway) that it should at least have compiled versions. But this isn't really weird I guess, it's more of what Ruby is meant for and I'm not into it enough to appreciate it.
- Trying to get it working on a server?! Holy crap @ the amount of setup and configuration.
But yeah. One thing I'm thankful for is how much popularity Git has gained with Ruby's usage of it.
1) Ruby is not just a scripting language. It can be used for anything just like for example Python and Perl can, but that does not always make it the best tool for the job.
2) Rakefiles are just a means of automating tedious tasks. For example, you could have a rake task for running all your unit tests. Or for re-generating the documentation of your project. You get the idea, anything is possible.
3) When you install gems as a normal user, they will be installed under ~/.gems. I'm not sure what the concern is here.
4) I'm not sure if I understand what you mean here but anyway: Ruby cannot be compiled. What you are talking about are probably C extensions. It's really easy to integrate a piece of C into Ruby as a library, partly due to the fact Ruby itself is written in C.
5) Are you talking about Rails? Personally I think Rails deployment has become a total breeze with the introduction of Passenger etc.

Similar Messages

  • Once and for all: Can DVD SP build Blu-Ray disc content or not?

    Maybe I’m crazy, but…
    Everything I’ve heard to date has Apple backing the Blu-Ray format. Believing this, I just spent $900 on a new Lacie D2 external Blu-Ray burner (which IS Mac compatible). I also purchased Toast 8 (which IS Blu-Ray compatible).
    All I need to do now is build my disc content (assign H.264 1920x1080 content, build menus, etc.) then drop it all into Toast and burn Blu-Ray video discs… right?
    So what is all this I’m reading here about DVD Studio Pro supporting the HD DVD format and not Blu-Ray???!!!!!!
    Am I going to be able to do this using DVD SP or not, and if not, can anybody tell me a program I can use to build my Blue-Ray disc content? (All of my HD content is H.264 (1920x1080) rendered directly from Adobe After Effects).
    My deadline for this project is fast approaching and I’m hoping somebody can shed some light on this. If I can build Blu-Ray discs and burn them on my Mac using Toast 8 and the Lacie D2, I’ll make my deadline and justify the $900 spent thus far.
    Can anybody help?
    Thanks, SM

    Wait a minute,
    Maybe I don’t need to buy PC to run DVDit Pro HD. I have a Mac Pro! With Boot camp I have a PC! Any reason I shouldn’t try running DVDit on my Mac via the Boot Camp beta? That way I'd also be using my Lacie D2 Bu-Ray drive. And with Roxio's 30 day return policy I haven’t much to loose...
    I'm calling Roxio tech support. Let you know how it goes
    Sark
    Message was edited by: sarkmachine
    A LITTLE LATER:
    Just got back from digging into Roxio's discussion forum and here's what I found:
    I have travelled down the same frustrating path my friend!
    But I did succeed doing it all on my new mac Pro, finally...
    Install BOOTCAMP (free beta). Install WINDOWS XP ($269 from AMAZON). Install ULEAD BD RECORDER, which comes with DVD MOVIEFACTORY 6 (free trial, $80 to buy).
    BDAV worked well from SONY V1-U burning to MATSHITA BD-MLT SW-5582 and played perfectly in new SAMSUNG 1200 palyer on my 57" DLP.
    TIP - install BOOTCAMP et al on its own HD, and use NTFS... This will come in handy when doing a BDAV from a file such as HDV1080 that is larger than 4GB.
    To do BDMV, you'll need SONIC DVD-IT PRO HD ($499) which I have yet to try...
    Frustrating process, but kinda cool to figure it all out, especially when NOBODY in sales at any of these places seems to have a clue.
    So there you go - must be possible
    Sark

  • Hi I want to create a search form with drop down search criteria. This form should then search on the same site and display the search results. Is there HTML available for this? Or an oline site that I can use to build this form? I created a form in Jotfo

    Hi I want to create a search form with drop down search criteria. This form should then search on the same site and display the search results. Is there HTML available for this? Or an oline site that I can use to build this form? I created a form in Jotform.com, but this form doesn't search the site, instead it sends me an e-mail. Do you have a solution for me? Thanks.

    Hi I want to create a search form with drop down search criteria. This form should then search on the same site and display the search results. Is there HTML available for this? Or an oline site that I can use to build this form? I created a form in Jotform.com, but this form doesn't search the site, instead it sends me an e-mail. Do you have a solution for me? Thanks.

  • Hello , how r u,  can i ask 1 question about xcode, i have mac os x 10.7.5 , n xcode version 4.6.3 i want build apps for ios 7.1 n mac os 1.9 ,, , but my macbook is old late 2008 macbook 4,1,  so can i develop apps for ios7 n 1.9 using xcode 4.6.3, bcz my

    hello , how r u,
    can i ask 1 question about xcode, i have mac os x 10.7.5 , n xcode version 4.6.3 i want build apps for ios 7.1 n mac os 1.9 ,, , but my macbook is old late 2008 macbook 4,1,  so can i develop apps for ios7 n 1.9 using xcode 4.6.3, bcz my machine cant upadte on 1.8 n 10.9,, ihave 2gb ram . core 2 duo pr, plz rely asap,
    thnxs

    Please type complete sentences and words.  This isn't an instant message program.
    https://developer.apple.com/support/ios/ios-dev-center.html

  • How can I fix apple tv error "this content requires hdcp for playback"

    how can I fix apple tv error "this content requires hdcp for playback" I've done everything suggested in troubleshooting and still my apple tv don't work.  I'm thinking on returning it, since it doesn't work.

    Welcome to the Apple Community.
    Check that the HDMI cable is correctly seated at both ends.
    Try disconnecting the cable and connecting it again.
    Try another HDMI cable.
    Make sure your TV supports HDCP
    Try the Apple TV with another TV

  • Can we make as P.center as required field for Bank accounts

    hi friends,
    can we make as profit center as required field for bank accounts in field status group.
    If we make as required, what are the impact /consequences will happen. We are drawing Financial statements at profit center level.
    We are using ECC 6.0 with document splitting.
    Regards,
    Suresh

    Hi,
    If you have document splitting active, where profit center is mandatory, do not make profit center mandatory at the field status group level as this will not allow the documents to split where there are more than one profit center in a document.
    The bank line item gets automatically split in the ratio of liability or Assets line items profit center. And if you make Profit center mandatory in Bank line item then this splitting will not take place. Moreover you will not be able to post any document having more than one profit center.
    You can test this out all by yourself in a test system. Post an Invoice(FB60) as foolows:-
    Expense -Dr.(P.C.-A)- 100
    Expense -Dr.(P.C.-B)-200
       To vendor - 300
    This entry will show in general ledger view as :-
    Expense -Dr.(P.C.-A) - 100
    Expense -Dr.(P.C.-B) - 200
       To vendor .(P.C.-A) - 100
       To vendor .(P.C.-B) - 100
    Now go to F-53 and post payment:-
    Enter Bank Account no., amount, and also enter profit center on the first screen as u hv made P.C. mandatory, and select the above document no. and try posting it. You will get error in this case.
    Do let me know if it is of any help to you.
    Regards,
    SAPFICO

  • Can i use flash for ui and interact with c++ builder for the rest

    i know flash can be used in c# in visual studio but i dont remember a thing of this interaction.
    is it possible to interact with c++ builder and how?
    the scenario is simple
    use flash for UI (showing-viewing data) maybe for a kiosk or something without mouse simply with touch input,
    use c++ builder for the rest , database connection data proccessing etc
    any info will be greatly appreciated
    thanks

    I would advise proper punctuation and grammar on a public forum, but to answer your questions, yes, yes you can! Flash can be used to produce any commercial imagery or animations for the purpose of making profit, as long as you have a valid license you purchased from Adobe. You bought it, you can use it for whatever you want.
    By "book", I assume you mean the "tutorial" book series made by Adobe? If so, the name of the series is "Classroom in a Book", there's one for each versions of Flash. Personally it hasn't been of much use and I would advise simply practicing by yourself and getting familiar with the tools. Look for online tutorials and publicly available projects and see how they work.

  • Hi basically when i try download a app its saying sign in required ask for sercurity code for bank card and i put the correct details in and still saying its invalid? Can anyone help

    Hi basically when i try download a app its saying sign in required ask for sercurity code for bank card and i put the correct details in and still saying its invalid? Can anyone help

    Refusal of a card is based on information provided matching what is on file from your credit card provider. If it is refused, it generally means something is not matching. That can inclue the name, the address or other information. It has to be exact to match. If you check your credit card bill to make sure you are spelling the name correctly, the address is listed correctly, and yes, ST is different than Street, and it still does not work, contact iTunes support. http://www.apple.com/emea/support/itunes/contact.html

  • Can't Export Release Build for AIR app...

    Flash Builder 4.7 won't let me export a release build for any AIR apps at all...
    It started when I wanted to make some changes to an old AIR app.  Couldn't even run it in the debugger, so I updated the AIR SDK (using instructions found here: http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html   and here: http://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk.html )
    So after doing all that, and making some other changes, I finally got my AIR app to run in the debugger in Flash Builder 4.7.  Made the changes I wanted to make, then tried to Export Release Build...  Kept giving me a "Password Incorrect for this certificate" error whenever I tried it -- but it would never let me enter a password.  I went to Project | Export Release Build, and on the first screen there, I would click "Next" and it would jump straight to compiling, skipping over the screen where you're supposed to be able to enter the certificate info and password.
    Figured maybe because it was an old AIR project, that was causing the problem.  So I started a brand new AIR project -- very simple one with just a <s:Label> inside a <s:WindowedApplication>.  Went to Project | Properties | Flash Builder Packaging and created a brand-new self-signed certificate (which seemed to work) but again upon trying to export the release build, it wouldn't let me get to the screen where you enter the password.  Clicking "Next" from the first screen on Project | Export Release Build just jumps straight to compiling and (of course) it gives me the Incorrect Password error, because it never gave me a chance to enter the password.
    So what is going on here?  Why can I not export any release builds for any AIR projects?  This is extremely frustrating -- Flash Builder 4.6 never gave me these kinds of problems.  What can I do to fix Flash Builder 4.7 so it will work properly with AIR projects?
    Thanks,
    L.

    Hi,
    I think something's wrong with either your FB 4.7 installation, or how you updated the AIR SDK. I just walked through the exact steps you listed (except I already had the AIR SDK overlayed) and I can build a desktop AIR app without issue. I get prompted for the password and everything.
    I wish I had a better answer, but I'd suggest uninstalling and re-installing FB 4.7, be sure to remove preferences as well. Then before you update the AIR SDK, try building an AIR app with the base SDK that's included in 4.7. If you can get it to compile and prompt you for the password, then it's the way you overlayed the SDK that's messed something up.
    Make sure you download the correct AIR SDK that's specific to Flex. On this download page: http://www.adobe.com/devnet/air/air-sdk-download.html is a reference in small print that says: Note : Flex users will need to download the original AIR SDK without the new compiler. Mac Windows. Make sure it's that version of the SDK (without the ASC 2.0 compiler). Then try overlaying the SDK again and see if that works.
    I can definitely confirm that what you are experiencing isn't the norm, and that you can get the latest AIR SDK to work with FB 4.7
    Good luck!
    iBrent

  • I have OS version 4.2.1, but can't download paid-for apps because they require OS 4.3. Also, it said in iTunes that my device was already up to date... Am I going crazy, or is there going to be an update?   I don't know what generation of iPot touch I hav

    I have OS version 4.2.1, but can't download paid-for apps because they require OS 4.3. Also, it said in iTunes that my device was already up to date... Am I going crazy, or is there going to be an update?
    I don't know what generation of iPot touch I have. If I am unable to download my paid apps because my iPod is too old, I'm not going to be pleased.
    iPod touch, iOS 4.2

    Sorry, there is no upgrade for your model based on what you've posted. See below:
    See the chart below to determine whether you can upgrade your device and what you can upgrade to. If you do not have a Software Update option present on your iDevice, then you are trying to upgrade to iOS 5 or higher. You will have to connect your device to your computer and open iTunes in order to upgrade.
    IPhone, iPod Touch, and iPad iOS Compatibility Chart
         Device                                       iOS Verson
    iPhone 1                                      iOS 3.1.3
    iPhone 3G                                   iOS 4.2.1
    iPhone 3GS                                 iOS 6.1.x
    iPhone 4                                      iOS 7.0.x
    iPhone 4S                                    iOS 7.0.x
    iPhone 5                                      iOS 7.0.x
    iPhone 5c                                     iOS 7.0.x
    iPhone 5s                                     iOS 7.0.x
    iPod Touch 1                               iOS 3.1.3
    iPod Touch 2                               iOS 4.2.1
    iPod Touch 3                               iOS 5.1.1
    iPod Touch 4                               iOS 6.1.x
    iPod Touch 5                               iOS 7.0.x
    iPad 1                                          iOS 5.1.1
    iPad 2                                          iOS 7.0.x
    iPad 3                                          iOS 7.0.x
    iPad 4                                          iOS 7.0.x
    iPad Mini                                      iOS 7.0.x
    iPad Air                                        iOS 7.0.x
    =====================================
    Select the method most appropriate for your situation.
    Upgrading iOS
       1. How to update your iPhone, iPad, or iPod Touch
       2. iPhone Support
       3. iPod Touch Support
       4. iPad Support
         a. Updating Your iOS from iOS 5
              Tap Settings > General > Software Update
         If an update is available there will be an active Update button. If you are current,
         then you will see a gray screen with a message saying your are up to date.
         b. If you are still using iOS 4 — Updating your device to iOS 5 or later.
         c. Resolving update problems
            1. iOS - Unable to update or restore
            2. iOS- Resolving update and restore alert messages

  • How can I use flash builder for php?

    Hello! I saw a flash banner maker website http://ideal-banners.com/. My question that how can I use a flash builder for php?

    Hi Michael,
    Thanks for your two helpful replies.  The article by V. Brossier looks very useful, and I managed to use SDK 3.3 with FB.  But I had misdiagnosed my problem.  The problem was that the compiler was targetting Flash Player 9 instead of 10.  I've managed to fix that.
    Thanks again,
    Francisco

  • [ruby] can't require datamapper

    Hi, after updating ruby, rubygems and removing/reinstalling all the gems I just can't require datamapper anymore:
    root@arch /home/tigre gem -v
    1.8.11
    root@arch /home/tigre gem list |grep datamapper
    datamapper (1.2.0)
    root@arch /home/tigre ruby -v
    ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
    root@arch /home/tigre irb
    irb(main):001:0> require "datamapper"
    LoadError: cannot load such file -- datamapper
    from /usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /usr/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from (irb):1
    from /usr/bin/irb:12:in `<main>'
    irb(main):002:0>
    I can load other gems but not datamapper.
    What's going on? This worked flawlessly before updating my system

    http://datamapper.org/getting-started.html
    This says you need to require 'data_mapper' not 'datamapper'.

  • How can I get trial for after effects 4? it is the only version my PC meets the requirements.

    How can I get trial for after effects 4?
    it is the only version my PC meets the requirements.

    Hello  yaniv7m,
    in my eyes you will find it only in shops like ebay or Amazon, like this:
    http://www.ebay.com/sch/i.html?_from=R40&_trksid=p2050601.m570.l1313.TR0.TRC0.H0.Xafter+ef fects+4&_nkw=after+effects+4&_sacat=0
    or
    http://www.amazon.com/Adobe-After-Effects-CS4-VERSION/dp/B001EUJ0SI/ref=sr_1_1?s=software& ie=UTF8&qid=1407396391&sr=1-1&keywords=after+effects+cs4
    Good luck!
    Hans-Günter

  • Can the requirement for a passcode be turned off?

    Can the requirement for a passcode be turned off for a new Ipod touch?

    Yes, settings, passcode - passcode off.  If you do that, the device is less secure, and you will have to re-enter your password for Find my iPhone, and find my friends each time you open the apps.

  • FREE TRIAL ON PAGEMAKER INSTALLED, BUT REQUIRES STUFFIT FOR FINAL STEP.  CAN'T SEEM TO MANAGE THIS STEP. NEED HELP MANAGING THE FINAL STEPS BEFORE PAGEMAKER IS USEABLE.  THANK YOU

    HAVE INSTALLED PAGEMAKER, BUT BECAME CONFUSED WHEN "STUFFIT" SEEMED TO BE REQUIRED FOR NEXT STEP.  NEED HELP IN FINAL STEPS IN DOWNLOADING PAGEMAKER FOR USE.

    >I would like to purchase a new mac with the appropriate operating system that will
    run pagemaker 7.  If not, I understand that my current mac, Mac OS X, version
    10.6.8, processor 2.8 GHz Intel Core i7, Memory 4GB 1067 MHz DDR3 will not support
    either Pagemaker 7 or InDesign.  My question is what package can I purchase that
    will satisfy one or both of these needs?  Thank you for any guidance.
    R_Kelly  created the discussion
    "FREE TRIAL ON PAGEMAKER INSTALLED, BUT REQUIRES STUFFIT FOR FINAL STEP. 
    CAN'T SEEM TO MANAGE THIS STEP. NEED HELP MANAGING THE FINAL STEPS BEFORE PAGEMAKER
    IS USEABLE.  THANK YOU"
    To view the discussion, visit: https://forums.adobe.com/message/6607524#6607524
    >

Maybe you are looking for

  • Upgrading from OX 10.3.9 to OX 10.5.4 for FCP Studio 2

    I hope this isn't a dumb question, but here goes. I have G5 running OX 10.3.9 and Final Cut Pro 4. Recently purchased Mac Box with OX 10.5.4 and Final Cut Express. I like the Leopard OX and decided to take the plunge and upgrade my G5 to the latest s

  • 4400F scanner has problems with color slides

    About six years after buying the 4400F scanner, I finally opened it today in order to start scanning a lot of color slides going back more than 40 years.  It seems as if the software (or the scanner itself) doesn't know where one slide ends and the n

  • Jtextpane i need help

    i need to increase/decrease the font(s) size(s) of the selected-marked text dynamically... browsers have that feature. Shortcuts: Ctrl++ and Ctrl+- or Ctrl+MOUSEWHEEL (zooming-like) i know how to use DefaultEditorKit and its subclasses & i have alrea

  • Dvd cover print

    I want to print a dvd cover but the printer prints a small part

  • Crystal Designer Automation

    Hello, There are some features which are available in the Crystal Designer and not available in the RAS SDK. (eg: delete datasource to create a new one, 'setSuppressEmbeddedFieldBlank' function...) Since this is something I really need to automate, I