Skip to content

Commit

Permalink
Update development section in ruby readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas-Avery committed Apr 18, 2024
1 parent 21ad6b2 commit 667b55a
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions languages/ruby/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,18 @@ puts response

## Development

Prerequisites:

- Ruby >= 3.0 installed
- Generate schemas `npm run schemas`

```bash
# Navigate to the ruby language folder
cd languages/ruby

# Make the binary folder if it doesn't exist already
mkdir ./bitwarden_sdk_secrets/lib/macos-arm64

# Build and copy the bitwarden-c library
cargo build --package bitwarden-c
cp ../../target/debug/libbitwarden_c.dylib ./bitwarden_sdk_secrets/lib/macos-arm64/libbitwarden_c.dylib
Expand All @@ -113,8 +124,8 @@ cd ..
export ACCESS_TOKEN=""
export ORGANIZATION_ID=""

export API_URL=https://localhost:8080/api
export IDENTITY_URL=https://localhost:8080/identity
export API_URL=http://localhost:4000
export IDENTITY_URL=http://localhost:33656
ruby examples/example.rb
```

Expand Down

0 comments on commit 667b55a

Please sign in to comment.