Comments (8)
What version of ruby are you using?
from railsgoat.
Using rbenv -- this was the only 2.7.0 version available.
from railsgoat.
I use rvm with .rvmrc: rvm use [email protected] --create
from railsgoat.
Got it - I'll try using rvm
👍
from railsgoat.
Any update on. This has been a nightmare to install on a fresh ubuntu instance as well as a docker container.
from railsgoat.
@treprime are you using RVM as noted above?
from railsgoat.
@cktricky I managed to get it working on my instance of Ubuntu. Steps below
-
Install ruby and ruby-build
sudo apt-get install ruby \ ruby-build -y
-
Install mysql
sudo apt-get install mysql-server \ mysql-client \ libmysqlclient-dev
-
Install rvm (ruby version manager)
curl -sSL https://get.rvm.io | bash
-
source the directory
source ~/.rvm/scripts/rvm
-
Install the bundler
gem install bundler
-
Clone railsgoat
git clone https://github.com/OWASP/railsgoat.git cd railsgoat
-
Install ruby 2.7 preview
rvm install "ruby-2.7.0-preview1"
-
Install the bundles
bundle install
-
Setup the database
bundle exec rake db:setup
-
Start the server
bundle exec rails server
-
Open a browser and navigate to http://localhost:3000
from railsgoat.
Thank you @tre-island. I think I need to try and build this on a fresh ubuntu install to see what we could improve on our end.
from railsgoat.
Related Issues (20)
- Insecure Password Storage HOT 1
- Guard RSpec not working
- Fixed Branch
- Sync two versions of license (one in README file and one in LICENSE file) HOT 2
- Improve coverage by adding quality tests HOT 1
- Install new version GitHub Slack App HOT 8
- TLS Support HOT 1
- Use Github's "release" feature with RailsGoat. HOT 3
- Automate comparison of documentation and code so we can keep it sync'ed? HOT 5
- Add documentation on "How to Upgrade" RailsGoat HOT 2
- Improve RailsGoat wiki hints with links to external references. HOT 1
- Wiki pull requests
- How to deal with PhantomJS development being halted HOT 1
- Upgrade Rails to 5.2 or 6.0 and Ruby to 2.7.0-preview1 HOT 3
- Add MailCatcher and Mysql in docker-compose HOT 1
- Command 'db:setup' not recognized"
- M1 Mac fails to run "docker-compose build", error "Target architecture x64 is only supported" HOT 2
- How to Deploy this on OpenShift?
- Is this repository actively maintained?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from railsgoat.