Skip to content

Commit c5fdb1e

Browse files
committed
Updated script/ide to use rbenv and do the gem stuff after a successful check for existing sessions.
1 parent 33d8188 commit c5fdb1e

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

script/ide

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,8 @@
44

55
SESSION=coderwall
66

7-
rvm use ruby-2.1.2@coderwall
8-
97
# Go to working directory
108

11-
cd
12-
cd $HOME/assemblymade/coderwall
13-
14-
bundle install
15-
bundle clean --force
169
vagrant up --no-provision
1710

1811
# Session Exists?
@@ -25,6 +18,16 @@ if [ $? -eq 0 ]; then
2518
exit 0;
2619
fi
2720

21+
cd - ; cd $HOME/assemblymade/coderwall
22+
rbenv version
23+
rbenv gemset active
24+
25+
bundle install
26+
bundle clean --force
27+
bundle exec spring binstub --all.
28+
rbenv rehash
29+
vagrant up --no-provision
30+
2831
# Pre-flight Configuration
2932

3033
tmux -2 new-session -d -s $SESSION

0 commit comments

Comments
 (0)