Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7733631
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T07:02:44+00:00 2026-06-01T07:02:44+00:00

I am new to the Mac and wanted to use the noexec gem https://github.com/joshbuddy/noexec

  • 0

I am new to the Mac and wanted to use the noexec gem https://github.com/joshbuddy/noexec. On its Github page, it says to put a line RUBYOPT=”-rnoexec” to .profile file or wherever ones puts his environmental variables. Now I do know that there’s this .bash_profile file under ~/, is this also where one can put the env vars? —

Also, how can one tell which files are capable of setting env vars?

My mac installation is brand new, I haven’t done anything to the shell (b/c I don’t know how).

Thank you!

PS:
the reason why I am asking here instead of just go ahead and try it on the .bash_profile is because I had done so but then when I used “guard start” from the Guard gem, it still says “WARNING: You are using Guard outside of Bundler, this is dangerous and may not work. Using bundle exec guard is safer.
” So I take that the noexec isn’t in place. UNLESS I am mistaken that noexec’s functionality.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T07:02:46+00:00Added an answer on June 1, 2026 at 7:02 am

    My two cents is to skip noexec for now for beginners, because it relies on your environment.

    Bundler will have this feature built in quite soon.

    But if you really want to do it… you can put environment variables in any shell script, and even on any command line. Typically the file ~/.bash_profile is run automatically when you sign in (if you use bash) so it’s a good place to put that RUBYOPT line.

    Be aware that other scripts can override RUBYOPT, or choose not to use it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wanted to create an online shop using rails and the spree gem (http://spreecommerce.com/).
Ok so I have built this site: http://boardersforchrist.com/new/ and the owner wanted the footer
Suppose you create a new Mac OS Command Line Application using Xcode , which
Apple's guidelines for their new Mac App Store say that you cannot use deprecated
I'm making a new Mac OS X application. (not an iPhone app) This is
After switching to a new mac at work, I tried to install APC as
I have the certificates and keys on my new mac machine but when i
I am new to Mac OSX, and I wonder if Xcode can generate ,
I am new in mac os. I have one Mac book pro. I am
I just installed eclipse on a Mac (I am new to Mac). I am

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.