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

StackOverflow Point

StackOverflow Point Navigation

  • Web Stories
  • Badges
  • Tags
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Web Stories
  • Badges
  • Tags
Home/ Questions/Q 2165
Alex Hales
  • 0
Alex HalesTeacher
Asked: May 31, 20222022-05-31T16:52:01+00:00 2022-05-31T16:52:01+00:00

macos – Not able to start rails server , getting symbol not found in flat namespace

  • 0

[ad_1]

I am setting my Ruby2.4 application on MacM1 with Ruby = 2.7, So I updated gems and other dependencies. Now, I am getting below error in staring server using rails s

require': dlopen(/Users/chakreshwarsharma/.rvm/gems/ruby-2.7.6/gems/therubyracer-0.12.3/lib/v8/init.bundle, 0x0009):
symbol not found in flat namespace '__ZN2v810ScriptData10PreCompileEPKci' - /Users/chakreshwarsharma/.rvm/gems/ruby-2.7.6/gems/therubyracer-0.12.3/lib/v8/init.bundle (LoadError)

I tried to uninstall libv8 and reinstall [email protected] using the below

1. Install home-brew for arch -arm64 &  old libv8 3.15 using the below
2. arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
3. vi ~/.zshrc
4. alias ibrew="arch -x86_64 brew"
5. export PATH="/usr/local/homebrew/bin:$PATH"
6. ibrew install [email protected]
7. gem install therubyracer -v '0.12.3' -- --with-v8-dir=$(ibrew --prefix [email protected])

After this bundle install gets completed but I get the above error while staring rails server.

[ad_2]

  • 0 0 Answers
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report
Leave an answer

Leave an answer
Cancel reply

Browse

Sidebar

Ask A Question

Related Questions

  • xcode - Can you build dynamic libraries for iOS and ...

    • 0 Answers
  • bash - How to check if a process id (PID) ...

    • 5249 Answers
  • database - Oracle: Changing VARCHAR2 column to CLOB

    • 1098 Answers
  • What's the difference between HEAD, working tree and index, in ...

    • 1047 Answers
  • Amazon EC2 Free tier - how many instances can I ...

    • 0 Answers

Stats

  • Questions : 43k

Subscribe

Login

Forgot Password?

Footer

Follow

© 2022 Stackoverflow Point. All Rights Reserved.

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.