-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in `require': cannot load such file -- extensions.rb (LoadError) #15
Comments
Are you getting this error from one of the examples? |
What version of SketchUp? |
@bkvsy - what does your It would need to have a path to the SketchUp Tools directory where this file is located. See example in the VSCode project example we recently created: |
Link to the front page of the VSCode example repository: https://github.com/SketchUp/sketchup-extension-vscode-project |
Oh, just noticed the comment that |
@thomthom my .solargraph.yml was copied from the Wiki I'm maybe doing something wrong here but pressing F12 in VS in any configuration produces no results. Surprisingly, when I copied your sketchup-extension-vscode-project repo and changed require_paths in .solargraph.yml to some random path on different drive and added random .rb in 'require' section Solargraph is not reacting. |
Is there any message in the statusbar about Solargraph not starting? I some times open the VSCode Developer Console to check for hints to errors preventing solargraph from starting. ( Do you see any hints there? Btw, what version of Ruby and the Solargraph gem do you have installed? |
Hm... that is strange. I don't see any issues there. |
I'm seeing the same thing on my machine. I'll dig into and see if I can figure out what is going on. |
Turns out I've gone through this before - I'd just forgotten. Currently solargraph expects the And in my own projects and the VSCode example (https://github.com/SketchUp/sketchup-extension-vscode-project/blob/master/.solargraph.yml) the reporters:
- rubocop |
Thank you sensei @thomthom |
@thomthom So apparently this issue was solved. But (again) I feel this issue was not a "Ruby API Tutorials" issue. |
Need help. I don't know what is wrong. require "extensions.rb" cant find the file. But require "sketchup.rb" is right.
The text was updated successfully, but these errors were encountered: