[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'.

Similar Messages

  • Where we can see requirement type in sales order.

    Hi
    Where we can see requirement type in sales order ?
    Can we change the requirement type in sales order.
    Thanks,
    KP

    Hi
    1.You can see requirement type in sales order in the Procurement tab.
    2.Yes you can change the requirement type in sales order in the same field.
    Regards
    Vamsi

  • 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.

  • 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.

  • For family members over 13, how can I require permission to purchase an app

    i am now using family share for my teenage boys.   It seems their Apple ids list them as an adult.  How can I make it so they are required to get permission when. Purchasing an app. Right now they are linked to my credit card but I do not get that alert,

    You would have to adjust their birthdays so they become child IDs.  If you want to do this, go to appleid.apple.com to manage the ID, sign in.  If you are using two-step verification on the ID, select the Name, ID and Email Addresses section, then change the birth date on the bottom right.  If you are using security questions instead of two-step verification, select the Password and Security Question and answer the two security question to access and change the birth date.  At the present time you can't just choose any birth date, but you should be able to change it to 1/1/2001, which will have child ID status.

  • Can pricing requirement be used for manual header condition

    I have a manual header condition ZCR1 which will be entered in a sales document with doc type ZAB1. When this sales document is copied into another sales document ZAB2, I want that the manual header condition ZCR1 is not determined. Can I do this via pricing requirement? Or should I use alternation formula for condition base value and make the value of condition ZCR1 to zero when the document is copied into ZAB2.
    Both the document types are using the same pricing procedure. In copy control for all item categories from ZAB1 to ZAB2, pricing type G (Copy pricing elements unchanged and re-determine taxes). ZCR1 is a manual condition in the pricing procedure used.
    Regards
    Javed

    Hi javed
    If you want the ZCR1 manual header condition should not be determined then you need to change the pricing type in the copy control but if you assign a requirement in the pricing procedure for ZCR1 condition type  then you cant enter the ZCR1 condition type manually also as you are not meeting your requirement.
    Another option is you have to create a new requirement with the help of Technical consultant ans assign it to the  header condition type in the pricing procedure requirement feild . giving inputs to your Technical consultant that The condition type  should not be determined
    Regards
    Srinath

  • How can i require password to be input when accessing mail

    I don't want to be able to access mail without putting in a password. How do I set this?

    What I've done is set my iPad up so that it auto-locks after 15 minutes of not being used, requiring a passcode to get back in.  You can set it up for more or less time.  While it isn't as convenient as having a password required for the email specifically, it does help protect it a little bit. 
    You may know this already, but you can also set your iPad up to require that you manually retrieve your email.  Again, not as good as having a password, but at least the messages don't suddenly appear.

  • How can I require a password to be entered in order to install a program/software? (NOT the MasterPassword Option)

    I'm NOT looking for Master Password. I DON'T want to require a password in order to start/open Fire Fox.
    I want anyone trying to download or install a program/software on the computer to have to enter a password, and otherwise not be able to complete the installation.
    People visiting my mother keep installing junk on her computer and keep jamming it up with stupid programs and games.

    though not really a firefox issue - create a password protected administrator account on the pc & turn the freely accessible account into a restricted user account.
    http://www.wintuts.com/Manage-User-Accounts
    http://windows.microsoft.com/en-US/windows7/Prevent-children-from-using-specific-programs
    http://windows.microsoft.com/en-US/windows7/Choose-which-games-children-can-play

  • Can you require settlement rule in Production order !

    Hello,
    i am FICO. one of our processes is to fabricate complex tools that will be capitalized and depreciated when completed.
    while the tools is being fabricated, we would like to settle regularly the production order to a capital order (AUC) and track the budget for the fabrication.
    in this production process we want to require the user to enter a capital internal order in the settlement rule of the production order master data..  this way when Prod order is settled we dont have issues.  can you make settlement rule entry as required during production order creation?
    any input is appreaciated on the issue. Thanks
    Andy

    Hi Francois,
    I would suggest you to ask the PP user to create production order without Material using transaction CO07.
    Here the user can maintain the settlement parameters in the "maintain settlement rule" screen. The account assignment should be "Order - ORD" and can input the internal order number to Settlement reciever feild.
    If you need the final product to be delivered then in the component overview add the material number and the quantity in negative qty. System assumes this as byproduct.
    Hope this helps.. you. Reward your points if so,
    Regards,
    Prasobh

  • Can iBook require password when lid is opened?

    I can get it to ask for a password at startup and if I manually log out (from Accounts control panel), but I can't seem to figure out how to require a password when it wakes from sleep. Is there a way to do this?
    Thanks,
    Heidi

    Thank you! That's exactly what I was looking for
    Heidi

  • How can I require a password to change the "Require password after sleep or screen saver begins" setting

    My son has a habit of disabling the "Require password after sleep or screen saver begins" setting whenever my wife lets him play a game on her account.  I notice every other setting on the "Security & Privacy -> General" tab is protected by the lock on the lower left corner.  I've never understood why this one is not.  Is there any way that I can get that setting to also be controlled by the lock?

    Because that setting is specific to the account currently logged in and doesn't potentially affect any others or the system itself, which is the level in general at which administrator or root access is required.
    (82759)

  • Can we require login (creating an account) to make a purchase?

    We are setting up our store and want everyone to make an account in order to make a purchase. It's a closed system (for one company) and we want them in the CRM for support and tracking or issues, etc.
    Is there a setting somewhere to require this?

    The only way I can think of is for you to either add a redirect to the product detail page if not logged in, or add a modal window. Ofcourse you have to do away with buy-now and add-to-cart buttons on the list layouts.

  • I need to keep certain emails private for only my viewing (kids). I have a folder called Private. Can I require a pw to open it?

    Certain emails are for my eyes only. I put them in a local folder called "private." How can I prevent other users from opening that folder either accidentally or on purpose.

    I think a much better approach would be to password protect your User account in the Operating System, and set up another account or accounts for the children. You limit their rights to stop them installing ad-hoc and wrecking the computer. You set up a screensaver with password to lock your account when not at the computer.
    This add-on: https://nic-nac-project.org/~kaosmos/profilepassword-en.html lets you password protect your Thunderbird profile, though it is a weak form of protection. OK for very young children, but older kids will likely see it as a challenge to hack it.
    See these:
    http://kb.mozillazine.org/Protecting_the_contents_of_the_profile_-_mail
    And note "Note: You can password protect the contents of the message pane by setting mail.password_protect_local_cache to true using the configuration editor in conjunction with setting a master password in Thunderbird." listed under "medium methods".
    …but I'm not sure how you'd lock the pane once you'd unlocked it. You'd probably have to close Thunderbird, so it challenges the user when next run.
    As mentioned in the article and the webpage for the add-on, none of these measures guard against your email being stored in plain text and thus visible to anyone browsing the file system. Therefore your best option is to use User Accounts, with logins and passwords, and control access to your own data that way. A user would need admin ("root") privileges to access your data, or be sufficiently knowledgeable to be able to boot with a linux CD or similar.
    Storing your email data on a USB stick that you can take away with you.
    All of the above require some diligence and vigilance on your part, as you must remeber to lock or close Thunderbird, or logout, or remove the USB device before you leave the computer. A password-protected screen saver and separate User Accounts in the OS provide the closest to an automated protection system.

  • Users can bypass required quiz if it is drag & drop

    Captivate 8.01 on a Mac.
    I have the quizzes in the project set to "Required - The user must take the quiz to continue". This works on all other quiz types except the drag and drop questions.  Since the quiz properties are different for d&d I wonder if I am missing a setting or if this is a bug.

    Drag&Drop is not a default question slide, although it has some of its functionality like interactive objects and interactive learning interactions have. This is not a bug, there are more differences with the normal question slides: when getting back to a D&D it is automatically reset. It is not included in a Retake or a Review. The score can be included in the total score of a file, just like the score of buttons, click boxes, shape buttons, Text Entry Boxes and interactive interactions can be included in that score. But it is not a normal question slide.
    Drag&Drop tips - Captivate blog

  • How can Nokia Require a user to sign to install.

    I want to install Fexplorer (just one example) and damn Nokia/Symbian requires me to sign the installation file in order to install it.
    The problem is u cannot sign anything anymore because symbiansigned.com doesn't accept new users.
    Will someone for the love of god with a reasonable mind tell me how the hell nokia and symbian motives this.
    I am so furious!
    Regards
    Raptor

    If you have an S60 3rd Edition based phone, then use Y-Browser instead (of FExplorer): http://www.drjukka.com/YBrowser.html
    Also, Nokia or Symbian does not require users to sign the installation packages. It is the application developer that it supposed to do it for all users. If they don't, use some other developer's apps.
    Message Edited by petrib on 03-Sep-200702:11 PM

Maybe you are looking for