Skip to content

Commit

Permalink
Comments & adding in .rvmrc.
Browse files Browse the repository at this point in the history
  • Loading branch information
karledurante committed Oct 18, 2012
1 parent 3c7a862 commit 6fe61fb
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile ~/.gitignore_global

.rvmrc

# Ignore bundler config
/.bundle
Expand Down
27 changes: 27 additions & 0 deletions .rvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/usr/bin/env bash

ruby_string="ruby-1.9.3-p194"
gemset_name="stachesquatch"

if rvm list strings | grep -q "${ruby_string}" ; then

# Load or create the specified environment
if [[ -d "${rvm_path:-$HOME/.rvm}/environments" \
&& -s "${rvm_path:-$HOME/.rvm}/environments/${ruby_string}@${gemset_name}" ]] ; then
\. "${rvm_path:-$HOME/.rvm}/environments/${ruby_string}@${gemset_name}"
else
rvm --create "${ruby_string}@${gemset_name}"
fi

# Ensure that Bundler is installed, install it if it is not.
if ! gem list bundle | grep bundle > /dev/null ; then
gem install bundler
fi

else

# Notify the user to install the desired interpreter before proceeding.
echo "${ruby_string} was not found, please run 'rvm install ${ruby_string}' and then cd back into the project directory."

fi

4 changes: 1 addition & 3 deletions app/assets/javascripts/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@


$(function(){

// sliders for purchase buttons.
$('.buy').click(function() {
// $(this).find('.purchase').hide("slide", { direction: "down", mode: "hide" }, 1000);
// $(this).find('.purchase').hide("drop", { direction: "down", mode: "show" }, 1000);
$(this).find('.purchase').slideToggle("slow", function(){ });
});
})

0 comments on commit 6fe61fb

Please sign in to comment.