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
Gem v0.1.0 Does Not Load #20
Comments
Yes. I thought this issue was addressed in #18 but it seems there's still an issue on Mac OS. |
Do you have Rust installed? |
Sure do.
|
Can you go to |
That got the app to boot. Here's what it looks like after running
|
Alright. I'm guessing Mac needs the libc dylib file. That's currently being deleted in the clean-up rake script. |
Change line # 20 in the Rakefile to |
I'm going to take a chance and merge that update. |
Gem 0.1.1 has this update. |
I just wiped out 0.1.0 and installed 0.1.1 and it has the same issue. I don't actually see a |
I have an idea. Perhaps the relative path for the |
Alright release 0.1.2 runs the rake commands relative to the |
0.1.2. and running cargo build --release fixed it for me |
@harmdewit Thanks! My hope is to get it where you don't have to type |
I just tried 0.1.3 and the issue persists. Still doesn't want to compile when the gem installs. What is the best way to run the |
I can't seem to find it now, but there is a bundle method for invoking bundle commands in a clean context (no other bundle stuff loaded). I've looked for it but can't find it. Another way is to add a In the mean time you can do your modifications and test it manually by changing the version number and running |
#33 may have fixed this. Please download from master, build and install the local gem and let me know. |
I've just checked out master:
I'm then able to open an IRB session in a new window, require FasterPath and call it's methods. So it looks as if it's working! That said, I'm going to keep poking about. I have Rust nightly installed, Ruby 2.1.5p273 on OS X 10.11.5 |
Okay! I've published this as gem 0.1.5 . I'd like a confirmation or two on this working with a Mac in a bundle install and I'll close this issue. Thanks for your feedback! |
Same error for me with 0.1.5. Still doesn't seem to be creating the |
I'll have some help on this this weekend. I'm currently at the Ruby for Good event and there are a lot of Macs here. |
Awesome. I've tried to do some debugging myself but the limiting factor seems to just be time. If I find anything meaningful I'll let you know. |
I've had a similar issue on Circle and Heroku. Rust appears to be installed just fine:
And there are no errors running
Oddly, I had no issues installing/running on my Mac. |
I think Bundler swallows up the error output that is designed in the Rakefile. There are some alternative ways to go about using the |
Getting same error. But I suppose it is due the fact that there is no rust on my system. Are you planning to produce gems with prebuilt binaries? |
Yes. I'll be adding Thermite soon. I need to figure out how to build for specific architectures and then sign it with something like gpg. |
This commit may resolve this issue for many 69ea7df |
I've written an AssetResolution module that will build the library on require if it wasn't built during gem install. If that fails it will error out with a very clear message as to why. Also I've added OSX testing with TravisCI and it passes. So I'm closing this issue. |
Getting a weird error loading faster_path in an existing Rails application. Here's the back trace:
I suspect it's an issue with the
ffi
version but I'm assuming the gemspec should address that rather than me mucking around with that in the application'sGemfile
.The text was updated successfully, but these errors were encountered: