ChanServ changed the topic of #nixos-ruby to: Everything about using Nix & Ruby. Logs at https://logs.nix.samueldr.com/nixos-ruby/
qyliss has quit [*.net *.split]
qyliss has joined #nixos-ruby
alienpirate5 has quit [Ping timeout: 258 seconds]
manveru[m] has quit [Ping timeout: 268 seconds]
<{\_\}> t​assosM[discord]: I was also unable to build nokogiri while setting up a ruby on rails development environment. Adding the gemConfig fixed that issue. Thanks.
<{\_\}> t​assosM[discord]:
<{\_\}> t​assosM[discord]: Although, I now have another issue when creating the rails project:
<{\_\}> t​assosM[discord]:
<{\_\}> t​assosM[discord]: ` run bundle binstubs bundler
<{\_\}> t​assosM[discord]: There was an error accessing "/nix/store/4bbr3a68m5bsy0z34y7zyviim5p3xna1-gemfile-and-lockfile/bin"
<{\_\}> t​assosM[discord]: The underlying system error is Errno::EROFS: Read-only file system @ dir_s_mkdir -
<{\_\}> t​assosM[discord]: /nix/store/4bbr3a68m5bsy0z34y7zyviim5p3xna1-gemfile-and-lockfile/bin
<{\_\}> t​assosM[discord]: `
<{\_\}> t​assosM[discord]: Has anyone else encountered this?
alienpirate5 has joined #nixos-ruby
alienpirate5 has quit [Ping timeout: 244 seconds]
manveru[m] has joined #nixos-ruby
alienpirate5 has joined #nixos-ruby
<{\_\}> t​assosM[discord]: I just resorted to using https://github.com/emptyflask/rails-nix. Worked well for me.
zarel has joined #nixos-ruby
<{\_\}> j​aen[discord]: Hmm, what is the correct way to intstall a gem from a directory? As far as I understand `bundlerEnv` installs gems from a `Gemfile` and provides you an env in which they are in scope, while `bundleApp` uses the above to provide some binaries from a gem. But that requires the application to be there in the RubyGems. What if I want to package a gem I have locally as a source directory, without publishing it on RubyGems, instead? W
<simpson> I think that you can override just the gem and specify `./path/to/local/src` as the source path. That's a general nixpkgs trick though, and maybe it doesn't work on gems.
zarel_ has joined #nixos-ruby
zarel has quit [Ping timeout: 265 seconds]
manveru has quit [Ping timeout: 268 seconds]
manveru has joined #nixos-ruby